Tom-H-PIC
Joined: 08 Sep 2003 Posts: 105 Location: New Castle, DE
|
ICD-U40 need help! Moving from 18F252 to 18LF2620 |
Posted: Fri Sep 24, 2004 6:35 pm |
|
|
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. |
|