LCD example project for Kwikstik won't run on device

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LCD example project for Kwikstik won't run on device

跳至解决方案
2,957 次查看
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.

标签 (1)
0 项奖励
回复
1 解答
2,018 次查看
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 项奖励
回复
2 回复数
2,018 次查看
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 项奖励
回复
2,019 次查看
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 项奖励
回复