Error while Downloading '.hex' file

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

Error while Downloading '.hex' file

跳至解决方案
3,281 次查看
vadagam
Contributor I

Hi,

 

I am getting an error while downloading the '.Hex' file into freescale micro (MC9S12XS256) via Codewarrior IDE debugger tool (Standard -FL) and PE Micro's BDM multilink emulator.Please find attached the error file screen shot. My hex file is starting from 0x7F8000 address.

 

Request you to help me in resolving this problem please.

 

Error_screen_shot.doc

Message Edited by t.dowe on 2009-09-04 03:14 PM
标签 (1)
0 项奖励
回复
1 解答
1,670 次查看
CrasyCat
Specialist III

Hello

 

Pleas go to www.freescale.com and search for FAQ-27684

.

This FAQ explains how to load a S record file containing global addresses in HI-WAVE debugger 

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,670 次查看
CompilerGuru
NXP Employee
NXP Employee

What file format is this '.hex' file, is it an SRecord?

Also not sure what "-FL" refers too.

 

Anyway the problem is very likely that the '.hex' file is using global addresses and the debugger is expecting paged addresses.

E.g. 0x7F8000'G == 0xF88000.

How is the .hex file generated, can it be generated with paged addresses instead?

(or can you download a elf file instead?)

 

Also search the forum for the addresses spaces. 

 

Daniel 

 

0 项奖励
回复
1,670 次查看
vadagam
Contributor I

Hello Daniel,

 

The '.hex' file is a S2 record file.It is generated with paged addresses (Starting at page 'FE') that is 0xFE8000 (0x7F8000G).

We are able to download the '.elf' format file via BDM debugger tool, but not its corresponding '.hex' file.

 

Is there any CW tool settings are required to download a '.hex' file (S2 record starts at 0x7F8000 address) into MC9S12XS256 micro via PE Micro's BDM interface. The 'FL' stands for floating license.

 

Thank you.

  

0 项奖励
回复
1,671 次查看
CrasyCat
Specialist III

Hello

 

Pleas go to www.freescale.com and search for FAQ-27684

.

This FAQ explains how to load a S record file containing global addresses in HI-WAVE debugger 

CrasyCat

0 项奖励
回复
1,670 次查看
vadagam
Contributor I

Thank you very much

 

Now it is downloaded.

 

: )

0 项奖励
回复