debug vs release firmware

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

debug vs release firmware

636 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mspahr on Tue Mar 04 12:33:08 MST 2014
I have built a project based on the project USB ROM MSC from
LPCWare/LPC11xx/Downloads/Software/Sample code bundle for LPC11xx peripherals using LPCXpresso.
I am using LPCXpresso V5.2.6

When building, both a debug and release versions of firmware are created.
I have done all of my development and testing on the debug version.
I have been using LPC-link.
The debug version can also be loaded over the USB interface with ISP.
Everything functions OK running standalone without the LPC_link.

When I use the release version, one of my functions fails during start-up.
Specifically copying data from FLASH to an external EEPROM using I2C.
Everything else seems to function OK.
Since I can't run the debugger, it is very difficult to figure out.

What is different between the debug and release versions.

Mike
0 Kudos
Reply
1 Reply

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Mar 04 13:22:14 MST 2014
Read this FAQ
http://www.lpcware.com/content/faq/lpcxpresso/compiler-optimization
0 Kudos
Reply