Using Chinese "JB16" TBDMs with USBDM
Posted: Fri May 24, 2013 11:46 pm
Following steps have been tested with Wayengineer TBDM (S12 BDM interface by AWNUXUE) based on MC908JB16 and silkscreened "S12 BDM v1.3, 2012-01-05, MTC of AIT". At least some cheap S12 BDMs on ebay appear to be same design so same instructions should apply for them.
1. You must use 32-bit Windows XP to perform this
2. You must have Office 2010 installed - evaluation version is enough as it's only required for some unresolved dependency of USBICP.EXE
3. You can't use latest USBDM as support for JB16 has been broken for quite a while
4. USBDM developer has nuked all old versions from Sourceforge. I've proved links to working versions below.
Wayengineer 9S12XDP512 board can communicate with EMStudio, but that's it. Haven't done any further testing.
1. You must use 32-bit Windows XP to perform this
2. You must have Office 2010 installed - evaluation version is enough as it's only required for some unresolved dependency of USBICP.EXE
3. You can't use latest USBDM as support for JB16 has been broken for quite a while
4. USBDM developer has nuked all old versions from Sourceforge. I've proved links to working versions below.
- Download and install USBDM 4.9.5 with default settings
http://files.mpoli.fi/sekalaiset/usbdm/ ... 5b_Win.msi - Download USBDM_Win32_4_6a.zip from
http://files.mpoli.fi/sekalaiset/usbdm/ ... 2_4_6a.zip - Extract USBDM_Win32_4_6a.zip
- Plugin Wayengineer TBDM while pulling pin 10 of MON08 connector GND to initiate ICP mode
Pin 10 is also known as MON_DATA, see "C:\Program Files\pgo\USBDM 4.9.5\FlashImages\JB16\OSBDMe.pdf" included in USBDM 4.9.5 package for pinout if necessary. - Install USBICP driver from USBDM_Win32_4_6a.zip "Win32\Freescale ICP Files"
- TBDM should be detected as USB\VID_0425&PID_ff02 "Motorola JB16/JG16 ICP Device"
- If it comes up as USB\VID_0425&PID_1000 then you failed to initiate ICP mode
- Launch USBDM_Win32_4_6a\Win32\Freescale ICP Files\USBICP.EXE
- Select "Initial_Programming_MassErase.imp" when asked to open file
- Next browse to "C:\Program Files\pgo\USBDM 4.9.5\FlashImages\JB16" and select USBDM_JB16.s19
- Go thru Erase, Program, Verify and close USBICP
- Unplug TBDM
- Uninstall USBDM 4.9.5
- Download and install 4.9.4 as it's last version with working JB16 support
http://files.mpoli.fi/sekalaiset/usbdm/ ... 4b_Win.msi - Plug TBDM back without grounding pin 10
- New device will be detected, point driver install wizard to
"C:\Program Files\pgo\USBDM 4.9.4\USBDM_Drivers\Drivers" - New USB ID should be VID_16D0&PID_0567 and name "USBDM BDM Interface"
- You can now follow regular USBDM docs. Programmer will also work with 32-bit and 64-bit Win7 now.
Wayengineer 9S12XDP512 board can communicate with EMStudio, but that's it. Haven't done any further testing.