Memory configuration file error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Memory configuration file error

ソリューションへジャンプ
3,178件の閲覧回数
NeilVP
Contributor II

I am using CW10.1 Eclipse for the very first time and have rebuilt an old project originally built with CW6 to a MC9So8QE part. On trying to run debug I get the error message 'Could not open memory configuration file', on clicking Details, I get 'could not open memory configuration file'  which is not exactly helpful.

Could someone please tell me which memory configuration file I should look for and where to look for it or how to generate it in the first place.

 

Many thanks

 

Neil

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
2,373件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hello,

any special reasons why you are using 10.1, and not 10.2? I ask because 10.2 so much better and faster that I have put away my old 10.1 installation a while back. So I cannot try it right now with a 10.1 (until I have it installed).

 

But the debugger is looking for a memory configration file. It is usually inside your project the Project_Settings folder.

So for your device it is probably Project_Settings\Debugger\MC9S08QExx.mem.

 

The simplest would be if you create a new project with the wizard (File > New > Bareboard project) and then use this one as a reference. The link to the .mem file is made in the debug configurations. The place of the .mem file specified in the debugger is a little bit different for 10.1, but for 10.2 it is in the debug run configurations (menu Run > Configurations).

Attached is the screenshot of my 10.2.

 

Hope this helps,

BK

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
2,374件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hello,

any special reasons why you are using 10.1, and not 10.2? I ask because 10.2 so much better and faster that I have put away my old 10.1 installation a while back. So I cannot try it right now with a 10.1 (until I have it installed).

 

But the debugger is looking for a memory configration file. It is usually inside your project the Project_Settings folder.

So for your device it is probably Project_Settings\Debugger\MC9S08QExx.mem.

 

The simplest would be if you create a new project with the wizard (File > New > Bareboard project) and then use this one as a reference. The link to the .mem file is made in the debug configurations. The place of the .mem file specified in the debugger is a little bit different for 10.1, but for 10.2 it is in the debug run configurations (menu Run > Configurations).

Attached is the screenshot of my 10.2.

 

Hope this helps,

BK

0 件の賞賛
返信
2,373件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Finally here is what I have in 10.1 (in case the problem has not been solved yet).

The memory configuration file setting is in the launch/run configuration.

 

See attached screenshot.

 

I have attached a S08QE128 project as reference.

 

Hope this helps,

BK

0 件の賞賛
返信
2,373件の閲覧回数
NNeff
Contributor III

Hi BK (Erich?),

I found this question and answer when I searched for "memory configuration file", because I'm having the same problem.  I'm running CW 10.6 for MCUs, I've created a bareboard project for the FRDM-KL25Z board, selecting ProcessorExpert, and I'm connecting with the board over OpenSDA. When I try to run/debug the executable, CW complains that it can't find the memory configuration file, which one error message identified as MKL25Z128.mem in ProjectSettings/Debugger, and sure enough, it's not there.  I have been looking in all the configurations and properties I can find to find how to get CW to generate the .mem file, without success.  How do I generate the MKL25Z128.mem file in the first place?

I hope you are still at Freescale and can help me out!  Thanks, Nancy

0 件の賞賛
返信
2,373件の閲覧回数
BlackNight
NXP Employee
NXP Employee

attached is the MKL25Z128.mem file from one of my CW projects.

I hope this helps,

Erich

0 件の賞賛
返信
2,373件の閲覧回数
NNeff
Contributor III

Thanks for the file--that appears to be working.

I accidentally found out how to generate them.  My path to the Processor Expert files was to the PEx Driver Suite instead of CW installation. Fixing that fixed another problem, and inadvertently fixed the mystery of the missing memory configuration files as well.

Nancy

0 件の賞賛
返信