Error while Downloading '.hex' file

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

Error while Downloading '.hex' file

Jump to solution
2,627 Views
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
Labels (1)
0 Kudos
Reply
1 Solution
1,016 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
1,016 Views
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 Kudos
Reply
1,016 Views
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 Kudos
Reply
1,017 Views
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 Kudos
Reply
1,016 Views
vadagam
Contributor I

Thank you very much

 

Now it is downloaded.

 

: )

0 Kudos
Reply