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)
Solved! Go to Solution.
7D4000 must be the global address. By default Hiwave expects S2 records in banked format (PPAGEffset) 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.
7D4000 must be the global address. By default Hiwave expects S2 records in banked format (PPAGEffset) 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.
Thanks.