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.
Solved! Go to Solution.
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
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
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.
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
Thank you very much
Now it is downloaded.
: )