LPC1768 doesn't start at power-up

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1768 doesn't start at power-up

1,197件の閲覧回数
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,190件の閲覧回数
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,192件の閲覧回数
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 件の賞賛
返信