Hi, I'm currently working with a Kinetis K40x256 and am having issues with the FlexNVM demo, and similar code in my own project. I have enabled BSPCFG_ENABLE_FLASHX in the user_config.h file and compiled the libraries in the specified order. The MQX FlexNVM demo project for the KwikStik builds fine but when I debug the project, no matter what I do, the call to fopen("flashx:flexram0", NULL) is always returning NULL.
For reference, I'm using Codewarrior 10.2 and MQX 3.8, and this is just looking at the demo project for the KwikStik, but I am experiencing similar results from my own board/project.
Am I missing something? I greatly appreciate any guidance on this matter.
Thanks for all the help... but it appears I got my own answer. MQX 3.8 has a bug that doesn't allow the flashx:flexram0 driver to be opened due to a bad address offset. MQX 3.8.1 apparently fixes this issue.