TBDML w/ JB16 and CW 5.1

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TBDML w/ JB16 and CW 5.1

ソリューションへジャンプ
3,480件の閲覧回数
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
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
908件の閲覧回数
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 件の賞賛
返信
1 返信
909件の閲覧回数
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 件の賞賛
返信