BKGD line BDM programmer tool using Arduino

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BKGD line BDM programmer tool using Arduino

350 Views
Neoraxs
Contributor I

Hi, this is my first post on this Forum.
I want to make a simple programmer tool such as JTag Write or Read Data using Arduino as an adapter or interface connecting with microcontrollers and coincidentally the target microcontroller that you want to Read or Write is NXP / Freescale S9S12G64 which has a BKGD data line.
Is there a reference to make a Read and Write programmer tool for NXP microcontrollers?
I am not very proficient in C or Assembly language, that's why I chose Arduino.

Thank you

0 Kudos
Reply
1 Reply

316 Views
pgo
Senior Contributor V

You can find a description of the Background Debug Module in a chip reference manual e.g.

https://www.nxp.com/docs/en/data-sheet/MC9S12C128V1.pdf Chapter 6.

Note that this only describes the communication protocol and associated commands.

Programming the flash on a chip is done by a program downloaded to the target.

Anyway - the above is not simple to do.  Unless you are doing this for personal interest I would recommend looking at USBDM.

https://usbdm.sourceforge.io/USBDM_V4.12/html/index.html

bye

 

 

0 Kudos
Reply