| View previous topic :: View next topic |
| Author |
Message |
drolleman
Joined: 03 Feb 2011 Posts: 116
|
|
Posted: Mon Feb 06, 2017 10:57 pm |
|
|
I've had this before.
Sometimes there is dc grounding issues. Open up the u64 and place a meter between the ground of the u64 chip and the one being programed. This may seem strange because there is a wire between them but it only takes a small current through the ground line to cause this error.
Sometimes there is an ac signal on the ground this can also cause this problem. If you set the scope ch2 to invert, then vert mode to add, and place the ch1 on the ground of the programed chip and the ch2 on the u64 ground you may find the problem. Also check individual grounds, as it may only show during programming.
And if you have a programmer that can power the chip like an icd2 or icd3 and remove all other connections to the target, and try again.
Some things to try.
David |
|
 |
mvanvliet
Joined: 02 Jun 2009 Posts: 123 Location: The Netherlands
|
|
Posted: Tue Feb 07, 2017 1:41 am |
|
|
Thanks for your reaction.
This is the e-mail I received from CCS support:
| Quote: |
I took a look at the programming documents for this family and I found that they are different from previous PIC16s as they do not have separate "load data memory" and "load program memory" commands, but instead has a single "load data" command which needs a PC change to get it into EEPROM memory space. This is why programming EEPROM is failing. The ICD firmware will need to be changed to add a new programming algorithm which supports the newer method and uses these commands. Programming program memory seems to work in the same way.
|
So we need to wait for a new ICD firmware version. |
|
 |
mvanvliet
Joined: 02 Jun 2009 Posts: 123 Location: The Netherlands
|
|
Posted: Thu Feb 09, 2017 2:13 am |
|
|
| Yesterday I received the new ICD-U64 firmware, CCSload.exe and new devices5.dat file which solved the bug, so probably these updated files will be released with the next revision level. |
|
 |
|