Hello, i've tried the nand_flash demo, provided in "example" folder in mqx 4.0.
The demo works properly only if you don't generate processor expert code.
Whether PE code is generated, the application finds bad all blocks, and cannot write or read correclty from them.
Simply deleting generated code and rebuilding bsp, makes the demo working properly again.
I've deleted all components in PE configuration, leaving only mqx and cpu,with the same result.
I think there are some conflicts, but i haven't yet found where...
Some ideas?
Thanks
已解决! 转到解答。
It is caused by the NFC clock divider. Solution:
I had the same problems. See here: Re: FFS on NANDFLASH of TWR-K70 (MQX 4.0.1)