True Time: problem loading from S record file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

True Time: problem loading from S record file

ソリューションへジャンプ
2,000件の閲覧回数
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,177件の閲覧回数
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,178件の閲覧回数
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,177件の閲覧回数
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,177件の閲覧回数
rlw
Contributor I

Thanks.

 

0 件の賞賛
返信