LPC 1343: Error Message Ep(04) Cannot Halt Processor

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC 1343: Error Message Ep(04) Cannot Halt Processor

1,226 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sean C on Mon Feb 08 15:21:17 MST 2010
Hi,

I am receiving the error "Failed on connect, Ep(04) Cannot Halt Processor" when I am trying to debug and run my code. I am using the LPC-Link board.   I had just modified the SYSPLLCTRL_VAL Register  in system_LPC13xx.c to 0x00000018. Since then I cannot debug and run code on the board. Have I placed the device in a state where I cannot debug and run code.

Thanks
0 Kudos
Reply
5 Replies

1,193 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Aug 16 08:06:40 MST 2010
See:
http://lpcxpresso.code-red-tech.com/LPCXpresso/node/44
0 Kudos
Reply

1,193 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by puswal1 on Mon Aug 16 07:51:02 MST 2010
[COLOR=black][FONT=Courier New]Hi,[/FONT][/COLOR]

[COLOR=black][FONT=Courier New]I have the same problems after I set a wrong multiplier value. Is there a solution for this thread? Here are my settings:[/FONT][/COLOR]

[COLOR=black][FONT=Courier New]CLOCK_SETUP 1[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]SYSCLK_SETUP 1[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]SYSOSC_SETUP 1[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]SYSOSCCTRL_Val 0x00000000[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]WDTOSC_SETUP 0[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]WDTOSCCTRL_Val 0x000000A0[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]SYSPLLCLKSEL_Val 0x00000000[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]SYSPLL_SETUP 1[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]SYSPLLCTRL_Val 0x00000032[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]MAINCLKSEL_Val 0x00000003[/FONT][/COLOR]

[COLOR=black][FONT=Courier New]SYSAHBCLKDIV_Val 0x00000001[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]AHBCLKCTRL_Val 0x0001005F[/FONT][/COLOR]


[COLOR=black][FONT=Courier New]Thanks[/FONT][/COLOR]
0 Kudos
Reply

1,193 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_USA on Tue Feb 09 10:37:02 MST 2010

Quote: Sean C
Hi,

Thanks for the reply, here are the additional settings. As for SYSPLLSEL, I don't have that specifically as a setting,  Did you mean the SYSPLLCLKSEL?

MAINCLKSEL setting: 0x00000003
SYSPLLCLKSEL setting: 0x00000001
SYSOSCCTRL setting:  0x00000000

Regards

-Sean



It looks like you have the main clock set to use the system oscillator (PLL) can you also post these registers?

SYSPLLCTRL (sets pll frequency)
SYSPLLCLKSEL (sets pll input source)
SYSAHBCLKDIV (sets post-pll divider)

Thank you,
-NXP
0 Kudos
Reply

1,193 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sean C on Tue Feb 09 07:48:44 MST 2010
Hi,

Thanks for the reply, here are the additional settings. As for SYSPLLSEL, I don't have that specifically as a setting,  Did you mean the SYSPLLCLKSEL?

MAINCLKSEL setting: 0x00000003
SYSPLLCLKSEL setting: 0x00000001
SYSOSCCTRL setting:  0x00000000

Regards

-Sean
0 Kudos
Reply

1,193 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Feb 09 00:58:28 MST 2010
Sean,

In order to complete the picture, please supply the following:

1.  The MAINCLKSEL setting.
2.  The SYSPLLSEL setting.
3. The SYSOSCCTRL setting.

Regards,

CodeRedSupport
0 Kudos
Reply