error elf loading

cancel
Showing results for 
Search instead for 
Did you mean: 

error elf loading

Jump to solution
2,080 Views
Contributor I
Hi,
I will like use mc9s12dp512 and use the p & e microcomputer. When i am download my program bdm port, I have the message error "elf loader error while writing to ff80.. 10180" How can do for i dont have this error
Christian
Labels (1)
Tags (1)
0 Kudos
1 Solution
27 Views
Specialist III

Hello

Apparently you have linked code or data between 0x10000 and 0x10180. The HC12DP512 does not have memory there. So the debugger is not able to download the code there.

To find out what is allocated there:
 - Edit the application .map file
 - Find out what is allocated above 0xFFFF in there. There is a section
     "OBJECT LIST SORTED BY ADDRESS" there, which can help.

In order to fix the problem I would suggest you to create a project using the wizard and use the default .prm file created by the wizard. 

If you are not able to fix that yourself, please open a ticket with our support organization.

CrasyCat

View solution in original post

0 Kudos
1 Reply
28 Views
Specialist III

Hello

Apparently you have linked code or data between 0x10000 and 0x10180. The HC12DP512 does not have memory there. So the debugger is not able to download the code there.

To find out what is allocated there:
 - Edit the application .map file
 - Find out what is allocated above 0xFFFF in there. There is a section
     "OBJECT LIST SORTED BY ADDRESS" there, which can help.

In order to fix the problem I would suggest you to create a project using the wizard and use the default .prm file created by the wizard. 

If you are not able to fix that yourself, please open a ticket with our support organization.

CrasyCat

View solution in original post

0 Kudos