K40x256 FlexNVM issue

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

K40x256 FlexNVM issue

507 Views
travis_l
Contributor III

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.

0 Kudos
1 Reply

257 Views
travis_l
Contributor III

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.