TBDML w/ JB16 and CW 5.1

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

TBDML w/ JB16 and CW 5.1

Jump to solution
3,481 Views
admin
Specialist II
I am having difficulty odifying the code for the TBDML w/JB16 (HC908JB16).  It appears that the original code was created using CW3.1 and I am using CW5.1.  If I simply recompile the code a key feature no longer works. 
 
A key feature of the TBDML design is the ability to place the device in ICP mode and reprogram the part through the USB connection with out using Vtst.  If I recompile the code using CW5.1, the recompiled code programs in to the device, and the BDM appears to function normally.  However, the part will not enter ICP mode to allow reprogramming over the USB connection. 
 
Tech note TN241 says HC08 CW3.1 projects will compile and run on CW5.1 "without any problems".  I am at a loss to explain the difficulty I am having.
 
Any help or suggestions will be greatly appreciated.
 
Thanks
Spencer
Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
909 Views
Witztronics
Contributor IV
Attached is the app note which will show you how to program the JB16 via USB.
 
You will need to download the USBICP program from the Freescale web site.
 
For the TBDML, you need to pull up the PTA0 pin before plugging it into the USB port.  this will force the firmware into ICP mode.
 
We've made our own version of the TBDML, if you are interested:
 
Witztronics
 
Message Edited by t.dowe on 2009-09-16 10:38 AM

View solution in original post

0 Kudos
Reply
1 Reply
910 Views
Witztronics
Contributor IV
Attached is the app note which will show you how to program the JB16 via USB.
 
You will need to download the USBICP program from the Freescale web site.
 
For the TBDML, you need to pull up the PTA0 pin before plugging it into the USB port.  this will force the firmware into ICP mode.
 
We've made our own version of the TBDML, if you are interested:
 
Witztronics
 
Message Edited by t.dowe on 2009-09-16 10:38 AM
0 Kudos
Reply