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 CCS Technical Support

Could not read RAM: No responce from the ICD Data in buffer:

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
[email protected]



Joined: 13 Sep 2003
Posts: 4
Location: Houston, Texas

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

Could not read RAM: No responce from the ICD Data in buffer:
PostPosted: Tue Dec 23, 2003 9:36 pm     Reply with quote


During Debug I can not read the RAM or ROM Values but everything else I looked at worked fine .

The single step is rather slow.

I am only using a 47K ohm resistor pulling up the /MCLR pin and the RB6-7 pins are only used for ICD interface.

The prototype is running on 3.30 VDC

I am on a deadline and would appreciate help from anyone who is famular with the solution to this error.

I need to monitor the RAM values during single stepping through the program.
_________________
Embedded MPU's are cool.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Dec 24, 2003 3:45 pm     Reply with quote

Just a suggestion for something to try:
Change the demo board so the PIC runs at 5v.
See if that makes it work.
[email protected]



Joined: 13 Sep 2003
Posts: 4
Location: Houston, Texas

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

Not a demo board
PostPosted: Wed Dec 24, 2003 4:28 pm     Reply with quote

The other components in the embedded circuit all run at 3.3VDC and if I were to raise the VCC to 5.0VDC it would blow some of them.

I will try by unsodering them first.
It is a lot of work but it can be done.

I did not hookup the B3 connection to the ICD cable due to a limited number of I/O, would this have anything to do with the problem?
_________________
Embedded MPU's are cool.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Dec 24, 2003 6:55 pm     Reply with quote

I did some more research, and I found a Microchip document
which talks about your problem. Go here,
http://www.microchip.com/1010/pline/tools/picmicro/icds/mplabicd/index.htm
and download this document: Technical Notice ETN 21
[email protected]



Joined: 13 Sep 2003
Posts: 4
Location: Houston, Texas

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

Not using the MPLAB
PostPosted: Wed Dec 24, 2003 7:26 pm     Reply with quote

I am using the CCS ICD-U40 for development, I do have a Microchip ICD2 but I was never able to get it to function on any hardware with XP.

I would like to stay with the CCS ICD-U40.

I am also using the CCS PCWH Compiler IDE Version 3.41, and PCB Version 3.182

I have rerouted the rb3 to the pin 6 of the programming header and moved the I/O signal I had routed to another pin, and I did change the set_tris statements to reflect this change.

I did read the artical you referenced to and notice a statement of " disable the LVPM mode.

Is this valid for this system as well?

It would be difficult to make th change over to 5VDC, but I will do it if it is nessassary.

I like to debug watching the MPU registers.
_________________
Embedded MPU's are cool.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Dec 24, 2003 7:55 pm     Reply with quote

If you are not using the low voltage programming mode then you should definitely disable it. It is a common error that many people encounter. If the level on the low voltage program pin changes, it will accidently put the device into programming mode.

As for the ICD2, did you try this with MPLAB? It works fine for me under XP.

Note that the CCS ICD must be used with their IDE. I have not used their ICD so I can not comment on it.
[email protected]



Joined: 13 Sep 2003
Posts: 4
Location: Houston, Texas

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

CCS IDE Rules
PostPosted: Wed Dec 24, 2003 8:08 pm     Reply with quote

Yes I did disable the LVPM.

I have also unplugged everything which could be damaged by the 5VDC and I still get the same error when I select the RAM debug list

I am working with the CCS ICD-U40 and the CCS IDE.

Do you know of anyone who is working with this combo that I can contact?

The only thing hooked up to the ICD at this time is the MPU.

All other I/O pins are open.

Got to go and watch a movie, thenks for your assistance in this matter.
Have a great Holliday season.
_________________
Embedded MPU's are cool.
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