Menu

MM9Z1J638 and Debug

2025-01-24
2025-01-24
  • Dennis Heynlein

    Dennis Heynlein - 2025-01-24

    Hi,
    is it possible to debug a MM9Z1J638 with codewarrior 11 and USBDM ?
    The S12Z-core looks a bit like a MC9S12ZVH128.

    I can use USBDMScript with it.

    USBDMScript incorporating TCL - Copyright(c) 2011
    Press ? for help
    
    % settarget S12Z
    USBDM DLL Version = 4.12.1.340
    BDM List:
     0 - USBDM-JS16-0001           : USBDM HCS08,HCS12,Coldfire-V1 BDM
    Found 1 devices
    S12Z
    
    % openbdm
    Opening USBDM-JS16-0001
    BDM Version = HW=8D, SW=4C
    
    % connect
    :connect
    BDM status => Ackn, Speed-sync, Vpp-Off, Vdd-External, RSTO=1, No Reset, CFVx-running
    Speed = 1025 kHz (7493 ticks, sync=124.9 us)
    Ackn, Speed-sync, Vpp-Off, Vdd-External, RSTO=1, No Reset, CFVx-running
    
    % rb 0x220
    :rb =>
      0x00000220 : 38
    56
    
    % halt
    :halt
    
    % wb 0x220 60
    :wb 0x00000220 <= 0x3C ...
    

    .... and the “LED” remains on PTA Bit 2 GPIO

    Greetings Dennis

     
  • Dennis Heynlein

    Dennis Heynlein - 2025-01-24

    It runs :)
    It's running, I just need to be able to understand what prevented it.

     
  • Dennis Heynlein

    Dennis Heynlein - 2025-01-24

    It is not the worst idea to reconnect the adapter before debugging.

     

Log in to post a comment.

MongoDB Logo MongoDB