error about down to flash of MC9S12XF512 using PE multilink in codewarrior 4.6!

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

error about down to flash of MC9S12XF512 using PE multilink in codewarrior 4.6!

1,421 Views
zhanglicn
Contributor I
Hi,Dear Friends,
 
When I download the program into the chip of  MC9S12XF512 in debugger using Codewarrior 4.6 for HCS12(X), the system always clues to "Error while writing to FFF8...101F8".If you have some methods,
Please reply.Thanks.
 
 zhanglicn
Labels (1)
0 Kudos
Reply
1 Reply

363 Views
CrasyCat
Specialist III
Hello
 
It looks like the vector table is not allocated properly in your application.
 
0x101F8 is not a valid logical address for MC9S12XF512 .
Please check your .prm file and application and make sure non banked memory does stop at 0xFFFF.
 
Some points to consider:
  - If you defined your vector table as a constant table of function pointer
       - Make sure the start address you specified for the table is correct.
       - If you are building in banked or large memory model, make sure you specify the table is a table of
           __near function pointers
  - Look into the map file and check which object is allocated across address FFF8...101F8.
 
CrasyCat
0 Kudos
Reply