I tried downloading the LCD_Example project from
The project compiles, but when I try to run it on the Kwikstik, I get the following error:
Error launching LCD_Example_MK40X256VMD100_INTERNAL_RAM_Segger J-Link, Could not open memory configuration file
I'm using a Kwikstik (onboard MCU appears to be PK40X256VLQ100). The project uses the MK40X256VMD100.h header file.
I don't know where I would find the memory configuration file. Codewarrior's built in help tool and google searching have been useless so far. I'm a bit of a newbie to this, so help would be appreciated.
Solved! Go to Solution.
Sorry, I figured it out a while ago. I forgot to update this question with my solution. For some reason when I imported the project, it was set up to use the P&E programmer. If I manually changed config to J-Link, it wouldn't setup correctly.
I just created a new project, selected J-link in the project setup wizard, and then copied all the code over. It then worked.
Try running it out of FLASH instead of RAM.
(If you go into the properties of your project under C/C++ build there is a drop-down to change the configuration.)
Sorry, I figured it out a while ago. I forgot to update this question with my solution. For some reason when I imported the project, it was set up to use the P&E programmer. If I manually changed config to J-Link, it wouldn't setup correctly.
I just created a new project, selected J-link in the project setup wizard, and then copied all the code over. It then worked.