Any ideas why the command might not be completing?
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
Posted: Thu Jan 27, 2011 11:57 am
Well just in case you aren't aware of the necessary conditions.
1)You need the CCS IDE
2)The #use rs232(debugger) assumes you have pin b3 wired along with B7 B6 and MCLR and Gnd wired to your CCS programmer. Now the b7 b6 pins can be changed to other similarly functioning pins for chip programming. B3 for the debugger I/O (goes to the CCS IDE monitor screen) can also be changed at compile time.
3) the connector between your target chip and the CCS programmer needs to be short (less then 12 inches .. best at 6 inches)
4)the target chip needs a common ground with your PC ( typically the USB or the serial cable will do this for you)
5) Your target device's oscillator has to startup.
6) MCLR can't be held low by anything but the CCS programmer and it has to be able to get high on its own ( needs 47k pullup).
7) userstream enabled needs to be set to true in the debug configuration
Last edited by Douglas Kennedy on Fri Jan 28, 2011 1:52 pm; edited 1 time in total
pebbert9
Joined: 31 Dec 2010 Posts: 39
Posted: Thu Jan 27, 2011 10:47 pm
I went back to look at this to determine what could be wrong. It turned out to be a setting in the debug configure window.
The "Userstream Enabled" setting was set to FALSE when it needs to be TRUE.
The default is supposed to be TRUE, but for some reason the installer didn't set it that way.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum