External Flash Memory allocation LPC54608

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

External Flash Memory allocation LPC54608

1,451 次查看
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 项奖励
回复
1 回复

1,221 次查看
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 项奖励
回复