LPC1768 doesn't start at power-up

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

LPC1768 doesn't start at power-up

1,106 Views
Lena
Contributor II

I'm using a MCUXpresso to write software for a LPCXpresso1769 board. I've inserted code to blink the RGB led at startup in a distinct pattern.

I can compile and download the code to the board using the IDE, and I see the LED blink its pattern. However, I can't seem to get the board to run its code after power-up, without the help of the MCUXpresso IDE - it just sits there with the RGB LEDs colors lit up constantly.

How would I have to treat the board so that it runs the code I flashed onto it after power-on? I'm supplying power through the attached NP-Link board's micro-USB port.

Best regards,

Lena

0 Kudos
Reply
2 Replies

1,099 Views
Lena
Contributor II

I set up the project again, and now it works. Strange, now we'll never find out what I did wrong ....

0 Kudos
Reply

1,101 Views
converse
Senior Contributor V

Are you using the semihosting C library? If so, you need a debugger connected.

 

Try switching the C library to a NoHost version:

https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Switching-the-selected-C-library/m-p/473669

 

0 Kudos
Reply