LPC1768 doesn't start at power-up

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1768 doesn't start at power-up

1,110 次查看
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 项奖励
回复
2 回复数

1,103 次查看
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 项奖励
回复

1,105 次查看
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 项奖励
回复