DGAlexandru wrote: ↑25 Aug 2022, 22:36 For the pinout - just use a multimeter and PDF of 9S12D64 to discover the 3 or 4 (depending if you use power from Programmer to power the board) pins needed.
Thanks
Is this chip 3.3v or 5v
DGAlexandru wrote: ↑25 Aug 2022, 22:36 For the pinout - just use a multimeter and PDF of 9S12D64 to discover the 3 or 4 (depending if you use power from Programmer to power the board) pins needed.
So power the board and connect just VSS RST BKGDDGAlexandru wrote: ↑26 Aug 2022, 19:50 Looks like a standard BDM pinout.
9S12 are usually 12v
Connect module to car then measure VDD pin against VSS ..
Most likely you would need to have it powered like this in order to communicate with it. Do not connect VDD from programmer to board and see if it connects, just to be on the safe side.
Go4IT wrote: ↑27 Aug 2022, 17:21 Developers usually use defaults, so i would expect it to be like this
bdm_header_6pin.png
Usually 5V IO voltage is used, but you can set the USBM to 3,3V to be safe. Therefore open the case an change the jumper.
And you often don't need to power the board externally, the power came from the interface itself.
I would reccomend you thia software https://sourceforge.net/projects/usbdm/ ... /Software/
The MC9S12 series uses 5V operating voltage. Usually IO voltage is set to the same level.
Some chips need to be set into a special bootmode to enable BDM or readout/program the Flash.
Beware that those chips have security bits in Flah. If you program those with wrong values you brick your chips.
If you attach the firmware update files, i'll take a loom where it needs to program to.
DGAlexandru wrote: ↑27 Aug 2022, 21:35 Go4IT
Yes, you are right, I've checked and 9S12D64 doesn't need +12V for Flash write as is needed for example for 912D60 or 912DC/DG128 for which you need to put +12V on BDM port in order to be able to write the Flash. Not needed for EEPROM write.
IMG_20220828_005316_edit_1714499417437862.jpg
If the USB to BDM adapter doesn't have a good supply design you can brake it if VDD of BDM port is common with other VDD supply for other components on that device you try to connect to - because it will draw too much power (Amps) from USB to BDM adapter.
Connecting only the other pins of BDM is safer
I modified & repaired a lot of automotive devices based on HC/MC 912 / 9S12 and never broke them by connecting only GND, RST and BKGD.
Gwe89
IMG_20220828_004709_edit_1714125884713960.jpg