True Time: problem loading from S record file

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

True Time: problem loading from S record file

Jump to solution
1,991 Views
rlw
Contributor I

In True Time debugger/simulator, when I try to load from an S record file, I get the message:

"Error while writing to 7D4000..7D4200. No memory at this address"

 

In the HC12 menu, I checked the "Debugging Memory" dialog. It indicates there is FLASH in the range 400000 to 7FFFFF. Also, the micro, MC9S12XEQ384, definately has FLASH at the location in question.

 

If I load the same from the ABS file, it loads correctly.

 

I am trying to create a S record file that combines the bootloader and application software so that the mircro controller can be fully programmed in 1 step at a BDM station on the production line, rather than having to FLASH the application via CAN at the End of Line station.

 

I created the combined S record file, but now I need to test it. Current;y, the only tool I have available to test is the True Time debugger/simulator. (I have ordered the P&E flash programmer tool, but I am still waiting for purchasing to approve the order)

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,168 Views
kef
Specialist I

7D4000 must be the global address. By default Hiwave expects S2 records in banked format (PPAGE:smileysurprised:ffset) and clearly there's no such banked address 7D4000 since offset 4000 must be in PPAGE window 8000..BFFF. To load global S2 records you need to add this line to [HI-WAVE] section of debugger ini file:

 

   SRECISS12XGLOBALADR=1

 

Project wizard generated *.bbl file is set up so that two S records files are generated, *.glo and *.s19. Glo contains global S2 records, s19 - banked.

View solution in original post

0 Kudos
Reply
3 Replies
1,169 Views
kef
Specialist I

7D4000 must be the global address. By default Hiwave expects S2 records in banked format (PPAGE:smileysurprised:ffset) and clearly there's no such banked address 7D4000 since offset 4000 must be in PPAGE window 8000..BFFF. To load global S2 records you need to add this line to [HI-WAVE] section of debugger ini file:

 

   SRECISS12XGLOBALADR=1

 

Project wizard generated *.bbl file is set up so that two S records files are generated, *.glo and *.s19. Glo contains global S2 records, s19 - banked.

0 Kudos
Reply
1,168 Views
supermandu
Contributor I
When HCS12 serial monitor program is used to program the flash,after the
user's  any code is changed, An error is reported when load the S19 file into
the MC9S12DP512,
"Error writing to adress1...adress2 , Information:No memory at this address"
The Addresses  are  where the code has been changed.
If load the code befor the user has changed,there is no such error.
Have you met this kind of error before?
Thanks
0 Kudos
Reply
1,168 Views
rlw
Contributor I

Thanks.

 

0 Kudos
Reply