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

Mach X failed to program

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Simnix



Joined: 18 Oct 2006
Posts: 7

View user's profile Send private message

Mach X failed to program
PostPosted: Tue Nov 05, 2013 12:44 am     Reply with quote

Hi,

PIC C Compiler version 4.109

When I use my Mach X programmer/debugger via ICD, it fails to program when I use the PIC C Compiler IDE. But, when I program the controller via the DIP socket, it programs OK. How can I tell the software to program via the ICD when there is no controller in the DIP socket ?

regards
Simnix
Ttelmah



Joined: 11 Mar 2010
Posts: 19566

View user's profile Send private message

PostPosted: Tue Nov 05, 2013 5:01 am     Reply with quote

You need to run CCSload. Set it to use either 'Mach-X supplies power', or 'Target powered' (which are the ICSP settings, rather than the 'ZIF socket' setting). Exit. Then use the IDE. The IDE connects 'via' CCSload, and it is the CCSload settings that are used.

Best Wishes
Simnix



Joined: 18 Oct 2006
Posts: 7

View user's profile Send private message

PostPosted: Tue Nov 05, 2013 5:43 am     Reply with quote

Hi,
Quote:
You need to run CCSload. Set it to use either 'Mach-X supplies power', or 'Target powered' (which are the ICSP settings, rather than the 'ZIF socket' setting). Exit. Then use the IDE. The IDE connects 'via' CCSload, and it is the CCSload settings that are used.

When I program using PIC C Compiler IDE it comes up with "Download Failed", when I run ccsload and press the test button on the devices tab, it comes up with "Chip not detected". I have selected "MACH-X supplies power". Confused

Just for note, when I place the controller in the ZIF socket it and select "ZIF Socket", it programs OK.

Regards
Simnix
Simnix



Joined: 18 Oct 2006
Posts: 7

View user's profile Send private message

PostPosted: Tue Nov 05, 2013 8:20 am     Reply with quote

Quote:
You need to run CCSload. Set it to use either 'Mach-X supplies power', or 'Target powered' (which are the ICSP settings, rather than the 'ZIF socket' setting). Exit. Then use the IDE. The IDE connects 'via' CCSload, and it is the CCSload settings that are used.


Hi

Found the problem, two faulty controllers. Used a brand new controller and it worked. Derr Rolling Eyes

Thanks for your initial help.

Regards
Simnix
Ttelmah



Joined: 11 Mar 2010
Posts: 19566

View user's profile Send private message

PostPosted: Tue Nov 05, 2013 9:45 am     Reply with quote

Might be something just slightly 'else'.
Depending on the circuit, Mach-X can only supply limited power. It might be 'borderline', on not supplying enough power, so some chips program, while others don't.
There have been threads here in the past about how best to wire here, and the limitations.

Best Wishes
Simnix



Joined: 18 Oct 2006
Posts: 7

View user's profile Send private message

PostPosted: Tue Nov 05, 2013 9:49 am     Reply with quote

Thanks for the heads up. I will investigate further.

Simnix
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