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/CCSLoad won't ID a 30F4011, but PICKit 3 does...

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



Joined: 07 Nov 2010
Posts: 1

View user's profile Send private message

ICD-U40/CCSLoad won't ID a 30F4011, but PICKit 3 does...
PostPosted: Sat Mar 17, 2012 11:44 am     Reply with quote

This has got me puzzled...

I'm trying to program a dsPIC 30F4011, on a breadboard. I've disconnected everything except the MCLR resistor, decoupling caps and clock.

CCSLoad repeatedly and unfailingly reports that the device ID is wrong, reading C081 instead of 0101.

I've checked and rechecked everything, and diagnostics reports correct voltages etc. I've updated to the latest CCSLoad and firmware (I was a point behind).

However... if I plug the connector cable into a PICKit 3, then MPLab programs it without error and the program works.

When I plug back into the U40 - still no go as above.

The U40 worked earlier on an 18F452 and dsPIC 30F4013.

I've even tried changing the device ID in the database using chipedit, to make it C081. Then, CCSLoad lets me erase and blank-verify the chip, and program it but the program then fails to verify.

Any ideas folks?


Edit to add more info

I've just carefully pulled the 30F4011 from between the wires on the board, slipped a 30F4013 in its place and swapped over the PGC/PGD connections to where they should be for the 4013. CCSLoad recognises the 4013 instantly. No problem.

I put a different 30F4011 back in place, swapped the wires, and it reads the same as the first one: C081.

I'm at a loss with this - I know the 30F4011 should have an ID of 0x0101 - I've checked the programming specification.

Clearly MPLab/PICKit3 get it right - so what's going on with CCSLoad/ICD-U40?

Another edit - Solution Found:

I'm not sure whether this is caused by a design fault in the dsPIC30F4011 or non-compliant performance of the ICD-U40.

The workaround is to connect a 47pF capacitor between PGC and ground. Then the ICD-U40 reads the correct ID. I've not had chance to try programming yet; I'll do that tomorrow.

Other programmers seem to have had this issue with the 4011 but Microchip's programmers work (of course).
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