2353036_en-US

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

2353036_en-US

2353036_en-US

MC9S12A32 debug mode oddities & EEPROM flashing question

Hello,

I am currently working on porting over a product that was built on the 68HC11, I've been using the MC9S12A32 on codewarrior 5.9.0 with the patch to reintroduce older 9S12 masks. I am also using a P&E multilink rev.C on the latest firmware from PEmicro. I'm quite new at working with these chips so apologies if I misspeak on anything.


I'm having some odd behavior depending on which method I use to flash the chip. Explained below.

  • Flashing through the "Debug" button

Example:

JSR 0x468D

At 0x468D, expected byte should be 4E followed by 01 01 FB B6 11

In actually, it is 47 followed by 1F 5F 48 06 22

  • Flashing the .s19 file through HC12MultilinkCyclonePro->Load... (in debug window)

JSR 0x468D, next 6 bytes are correct.


Furthermore, after flashing with the .s19 file, my program seems to lock up after a couple of seconds (verified using an XOR GPIO toggle in the main task loop connected to oscilloscope).

This behavior does not happen if i power cycle the device, it will run without problem.


Lastly, the .s19 file does not seem to include the EEPROM address blocks, how would one program the EEPROM on the MC9S12A32?


Thank you!


タグ(1)
評価なし
バージョン履歴
最終更新日:
‎04-18-2026 02:34 AM
更新者: