LCD example project for Kwikstik won't run on device

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

LCD example project for Kwikstik won't run on device

Jump to solution
2,473 Views
dividebyzero
Contributor I

I tried downloading the LCD_Example project from

KWIKSTIK-K40

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.

Labels (1)
0 Kudos
Reply
1 Solution
1,534 Views
dividebyzero
Contributor I

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.

View solution in original post

0 Kudos
Reply
2 Replies
1,534 Views
admin
Specialist II

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.)

0 Kudos
Reply
1,535 Views
dividebyzero
Contributor I

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.

0 Kudos
Reply