External Flash Memory allocation LPC54608

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

External Flash Memory allocation LPC54608

647 Views
giannigrondona
Contributor III

Hi

I use board LPCXpresso54608 board with MCUXpresso, SDK2_2. I want to allocate a buffer in Flash2 memory ( serial Flash). I used the follwing statemant in my code ; __RODATA(Flash2) int roarray[] = {10,20,30,40,50};  When I take a lokk a the map File I see the buffer roarray has been allocate into Flash2 memory but when I download code and start the code the buffer contain all zero. I thought during downloading of code the IDE (MCUXpresso) initialize serial memory with a driver.

Best Regards

Giovanni Grondona

0 Kudos
1 Reply

417 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Please post your debug log (as described in MCUXpresso IDE v10.0.2 User Guide, section 14.7, "The Console View") along with the map file generated by the linker when your project builds (typically found in the Debug, or Release, subdirectory of your project).

Regards,

MCUXpresso IDE Support

0 Kudos