AnsweredAssumed Answered


Question asked by SRuggles on Jun 19, 2007
Latest reply on Jun 20, 2007 by David Payne
I have built a TBML using the JB16 and am having difficulty reporogramming the device.  If I use the object code provided with the CW project (see attached), I can program blank JB16's OK and the code runs normally.  When I try to compile the project, I get 2 errors referencing a #include in the MC68HC908JB8.c (#inlclude <MC68HC908JB8.h>).  After I change the library notation to local header notation (" ") the project compiles OK. 
However, when I reprogram the re-compiled code, I can not get back into ICP mode.  The program runs normally and will enumerate when connected to my PC.  If I pull PTA0 low while connecting the USB cable, I get an "Unknown Device" error from Windows.
Needles to say, USBICP.exe will not run.  According to app note AN2399/D, pulling PTA0 low forces ICP mode. 
I have attached the a zip file of the original project.  Any help or suggestions will be greatly appreciated.
Message Edited by t.dowe on 2009-10-22 10:53 AM