AnsweredAssumed Answered

Can't build LPC8N04 / OM40002 example code in "release" mode

Question asked by pmg on Jan 18, 2019
Latest reply on Jan 31, 2019 by ZhangJennie

Hi I've recently acquired a OM40002 devkit with the LPC8N04 MCU.

 

The unit I received runs a demo application with leds scrolling on a panel. If I reset the board the leds come back on and scroll as intended.

 

The problem comes when I follow the steps in the walkthrough guide to build this same example application. When I build the project in Debug mode I can flash the chip, see the debugger halt, hit resume, and immediately see the scroll pattern but if I reset the board the scroll pattern does not resume. If I build the board in release mode I don't get a debug hook. It's like the board does not boot up at all unless I reflash it and even then it's only the first time AND when in debug mode.

 

My intuition is saying this code is running in debug mode even when it's in release mode. How can I fix this in MCUXpresso?

Outcomes