Trailer module

All other modules found in Ford cars
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Trailer module

Post by Gwe89 »

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
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Trailer module

Post by Gwe89 »

Think I have it can anyone confirm before I go plugging it up
You do not have the required permissions to view the files attached to this post.
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: Trailer module

Post by DGAlexandru »

> Looks like a standard BDM pinout.
> 9S12 are usually 12v
I think this is not what you meant. The microcontroller itself is powered with 3,3V and usually the IO pins set so the same level.
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Trailer module

Post by Gwe89 »

DGAlexandru 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.
So power the board and connect just VSS RST BKGD
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Trailer module

Post by Gwe89 »

It only shows 2v on vdd and vss when powered up
Go4IT
Pro
Posts: 967
Joined: 08 Feb 2019, 12:25

Re: Trailer module

Post by Go4IT »

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.
You do not have the required permissions to view the files attached to this post.
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Trailer module

Post by Gwe89 »

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.

i can connect to the chip but now im stuck at knowing what address to read from ect
usbdm.PNG
You do not have the required permissions to view the files attached to this post.
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Trailer module

Post by Gwe89 »

@Go4IT
You do not have the required permissions to view the files attached to this post.
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: Trailer module

Post by DGAlexandru »

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
You do not have the required permissions to view the files attached to this post.
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Trailer module

Post by Gwe89 »

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

I'm still learning here so please go easy 🤣 so 0x08000 to 0x3BFFF would read entire chip
Post Reply