FFS nand flash demo fails during initialization

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

FFS nand flash demo fails during initialization

1,270 次查看
visakhanc
Contributor III

Hi all,

   I have built MQX 3.8 FFS library and demo project for executing on an MPC5125 custom board. When I typed 'fsopen' shell command for initializing  the file system, It gets unresponsive. With printf debugging, I found that it stops right after this line in Media_init() function: (file: ffs\source\wearleveling\ddi_ldl\ddi_ldl_init.cpp)

   

LogicalMedia * media = new nand::Media();

The new operator does not return. So is it something related to memory allocation? I have run the MQX cplus example project without any error. Is there something specific in the FFS library or demo project that I need to change for the MPC5125 platform, like linker file settings for proper C++ operation?

Thanks for any help

标签 (1)
标记 (4)
0 项奖励
回复
0 回复数