CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

3.249 locks up

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ljbeng



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

3.249 locks up
PostPosted: Wed Mar 14, 2007 9:13 am     Reply with quote

I have a windows xp computer. I am running 3.249. I will be debugging and I will have just downloaded a newly compiled program. The debugger screen does it's thing and says 100% loaded Ready and the green button is GO. I will then press go and get a popup menu something like "Cannot execute, still reading ram...." and at this point, it never gives me a green GO and I cannot close the debugger screen. Sometimes if I unplug the ICDS40, the debugger screen will finally shut down and give a "list index" popup error. MOST OF THE TIME, the entire CCS program locks up and task manager can't even shut it down. I cannot shut the computer off and I have to pull the plug (of the pc) to reboot. CCS is stumped. Our IS dept is stumped. Is the computer junk? What could be causing this?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Mar 14, 2007 12:16 pm     Reply with quote

Since it only happens when you use the debugger, it sounds like a USB
problem.

Things to try:

1. Install the latest CCS USB drivers.

2. Don't plug the debugger into a hub. Plug it directly into the USB
port on the back (or the front) of your PC.

3. Try it on a different computer. See if it still fails.

4. Buy the RS-232 version of the CCS debugger (ICD-S40).
http://www.ccsinfo.com/product_info.php?cPath=Store&products_id=ICDS40

5. Switch to MPLAB and use the Microchip ICD2 debugger.
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en010046&part=DV164005
ljbeng



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

PostPosted: Wed Mar 14, 2007 12:48 pm     Reply with quote

I use the ICD-S40, serial port, not USB.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Mar 14, 2007 12:54 pm     Reply with quote

Sorry, I didn't see that. Heck, in that case, change to the USB ICD. Mr. Green
I've never heard of a program dying because of a serial port issue.
Usually, programs that use the serial port are more reliable, in my
experience. We were using an Ethernet-based debugger from Zilog
and it wasn't 100% reliable. Then we switched to their serial port
version and it worked all the time.

All I can say is, try a different computer or maybe get a serial port
card and install it. Try using the ports on that card instead of the
built-in ones on your PC. Try re-installing all CCS software.
Guest








PostPosted: Wed Mar 14, 2007 1:06 pm     Reply with quote

A lockup that bad sounds like it gets stuck in the driver. As far as your computer goes, Windows does a good job of ignoring or hiding memory errors. Find the program memtest86 on the Web and run it. (It's also on most Linux try-out CD's). Your IS department should know about this. They should also know that you don't have to unplug your computer to shut it off. Holding the so-called "power" switch for five seconds should do that.
newguy



Joined: 24 Jun 2004
Posts: 1907

View user's profile Send private message

PostPosted: Wed Mar 14, 2007 2:03 pm     Reply with quote

PCM programmer wrote:
I've never heard of a program dying because of a serial port issue.
Usually, programs that use the serial port are more reliable, in my
experience. We were using an Ethernet-based debugger from Zilog
and it wasn't 100% reliable. Then we switched to their serial port
version and it worked all the time.


Some time ago I asked about the ICD.exe program locking up my computer over on the ICD forum and got no replies. I finally sorted out what was wrong, but the issue had to do with ANY program attempting to access the serial port (RS232) on my PC. It would lock up every time, and only cycling the power would bring it out of lockup. The lockup was so severe that windows wouldn't even come up with the "your PC didn't shut down correctly" error upon reboot.

Anyway, CCS eventually emailed me a special version of ICD.exe which did not attempt to access the COM ports upon initialization (only USB). That fixed that particular issue.

However, if I attempted to use CCS's serial port monitor program or even hyperterminal, the PC would lock. After much head scratching and support calls/emails to Lava, I found that the problem was a defective Lava serial add-on PCI card. When I replaced the card, all my problems with locking up windows went away.
ljbeng



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

PostPosted: Wed Mar 14, 2007 2:08 pm     Reply with quote

"Pulling the plug" was just for drama.... I just hold in the power button to reset.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group