lpcware

Constant Table not the same when I compare with memory using the Lpc Expresso Debugger

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by kcarolan on Sat Dec 28 10:09:01 MST 2013
I have a table of constants defined as

cosnt unsigned char table[256] = {1,2,3,4,.....254, 255};

The first 36 bytes of the table are correct, then the rest are incorrect.  I only see the problem when I load the code from the debugger or I load the *.axf file from the Program Flash tool in the Lpc Expresso debugger.  If I load the *.hex file through my application everything is correct.

Outcomes