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

ICD-U40 need help! Moving from 18F252 to 18LF2620

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
Tom-H-PIC



Joined: 08 Sep 2003
Posts: 98
Location: New Castle, DE

View user's profile Send private message

ICD-U40 need help! Moving from 18F252 to 18LF2620
PostPosted: Fri Sep 24, 2004 6:35 pm     Reply with quote

First I have been using CCS compiler and ICDs for at least 3 years now.
I though that I had seen all or at least read about all of the issues with the compiler and the ICDs.
But this is a new one on me so look for some insight / help form you guys.

Ok I have been using my board and hardware for at least three month now and I ran out of ram.
Compiler is 3.211
ICD-U40 firmware is 1.29
Old PIC = 18F252
New PIC = 18LF2620

First thing I did was try and run the ICD in the IDE under debug.
The debug window opens and attaches then stars the loading all ok.
At 99% get the following error.

Code:


Could not write to target ROM: No response from the ICD data in buffer: 06



Then when I close the debug window I get this error.

Code:


List index out of bounds (0)



What I did next is compile the code in to a stand alone hex file. i.e. with out ICD
The fuse setting that I used are below.

Code:


#fuses H4,NOIESO,NOFCMEN, ,NOXINST ,NOBROWNOUT,NOWDT,NOLVP, NOPROTECT,NOPBADEN



The program would run but it was running slow really slow. So using the ICD I checked the fuse setting and the OSC was set to HS not H4?

Making a long story short I was able to get the OSC set to H4 by removing NOXINST.
I was looking at the Device Table Editor and the table for the 18F2620 but not know too much about this tool and the table it looks to me that the fuse call out are not correct.

I look in the help file and the compiler manual for info on this tool but no help.

Questions
1 Is any one using the 18LF2620 or the 18F2620?
2 If someone out there is using the 18F2620 and the debugger have you had this problem?
3 Is there some way you can send me the Device Table setting or the table is self?
4 This would be a big request but can someone explain the setting in the device table?

Any help with this would greatly appreciated! Thank You All.

Tom

Email troncam@yahoo.com12884393000108938081028
Remove all numbers to e mail.
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Sat Sep 25, 2004 3:28 am     Reply with quote

According to this page:
http://www.ccsinfo.com/icddevices.shtml

The ICD for 18F2620 is still beta. Maybe that is the problem...?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go 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