True Time: problem loading from S record file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

True Time: problem loading from S record file

跳至解决方案
1,994 次查看
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)

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,171 次查看
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 项奖励
回复
3 回复数
1,172 次查看
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 项奖励
回复
1,171 次查看
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 项奖励
回复
1,171 次查看
rlw
Contributor I

Thanks.

 

0 项奖励
回复