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

Can't program PIC24FV32KA301

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



Joined: 01 Apr 2007
Posts: 209

View user's profile Send private message

Can't program PIC24FV32KA301
PostPosted: Mon Jun 01, 2026 7:46 am     Reply with quote

I'm using PIC PCD V5.071
Windows 11 Pro

I have a simple circuit with only a PIC24FV32KA301 chip on a breadboard. I'm trying to program it. My simple code includes the line

#include <24FV32KA301.h>

I get the error message when trying to download the code into the chip:

--- All files up to date.
CCSLOAD: Connecting
CCSLOAD: Programming
CCSLOAD: Error: No chip specified
CCSLOAD: Error: No Chip Specified

This arrangement has worked in the past. I have verified it is a PIC24FV32KA301 chip. I have tried multiple chips. The programmer ICD-U64 module works to program PIC16LF1825 chips, PIC18F26J11 chips, etc.

What am I doing wrong?

Thanks.
jeremiah



Joined: 20 Jul 2010
Posts: 1415

View user's profile Send private message

PostPosted: Mon Jun 01, 2026 9:56 am     Reply with quote

In the past I ran into this problem with the F version of that chip (rather than the FV) and I ended up having to change my programmer firmware. However, this was over a decade ago.

So first things:
1. Are you using the 47k pullup on MCLR as CCS requires or are you using the 10k that microchip puts in a lot of the data sheets? I would make sure to use the value compatible with the CCS programmer as the datasheet value targets the microchip programmer

2. Is your programmer firmware up to date?

3. Double check all the soldering joints on the programmer interface, VCC, GND, and capacitor pins.

4. If you are not already, try to power the chip externally and not through the programmer.

If all else fails, definitely give CCS customer support a call. They are usually pretty good at helping things like this out. If it ends up being a programmer firmware issue, they can sometimes give a fixed version to you quickly.
starfire151



Joined: 01 Apr 2007
Posts: 209

View user's profile Send private message

PostPosted: Mon Jun 01, 2026 11:42 am     Reply with quote

I was actually using a 4.7K pullup on MCLR to solve a previous problem I had in getting the chip to program. I tried the 47K. Still didn't detect the chip.

I went out to the CCSInfo website and downloaded the latest version of the ccsload program and installed it. It found the chip successfully and was able to program it.

Thanks very much for your help!
Ttelmah



Joined: 11 Mar 2010
Posts: 20084

View user's profile Send private message

PostPosted: Wed Jun 03, 2026 12:22 am     Reply with quote

The resistor one depends on the programmer you have. A lot of the newer
programmers can't supply the current to program correctly if the resistor
is low. The recommended value from MicroChip was raised to 22K min a
while ago.
starfire151



Joined: 01 Apr 2007
Posts: 209

View user's profile Send private message

PostPosted: Wed Jun 03, 2026 4:05 pm     Reply with quote

Thanks for that info. I'll try the pullup at 22K.
jeremiah



Joined: 20 Jul 2010
Posts: 1415

View user's profile Send private message

PostPosted: Thu Jun 04, 2026 7:22 am     Reply with quote

starfire151 wrote:
Thanks for that info. I'll try the pullup at 22K.


Only do that if you are using the microchip programmer. If you are using CCS's programmer use 47k
newguy



Joined: 24 Jun 2004
Posts: 1937

View user's profile Send private message

PostPosted: Thu Jun 04, 2026 7:10 pm     Reply with quote

Just to muddy the waters a tad....

Cannot comment on the ICD-U80 because I haven't had access to one in many years (and when I did, I found those early versions to be very unreliable), but the ICD-U64s I have and the Load-n-Gos I have used in the past have had no issues whatsoever programming targets that had a 4.7k pullup on the /MCLR line. Extreme electrical noise required a 4.7k pullup otherwise the target would suffer spontaneous resets in situ. Resets happened with 10k and larger pullups but never happened with 4.7k.
Ttelmah



Joined: 11 Mar 2010
Posts: 20084

View user's profile Send private message

PostPosted: Fri Jun 05, 2026 12:45 pm     Reply with quote

It depends on what chip you are using.
Three families:

Early PIC's with direct Vpp drive - You will find your U64 will not program
these with a low pull-up.
Later PIC's still using high voltage programming and slave Vpp drive. Slightly
less problems, but 4K7could still be a problem. You'll actually be above the
specified drive of the U64, but most will work. Depends on the actually
programming voltage needed.
Then PIC's with 5v programming. No problems.
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