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

PIC16F1789 won't program at 3.3V, but programs at 5V

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



Joined: 02 Oct 2009
Posts: 122
Location: Denmark

View user's profile Send private message

PIC16F1789 won't program at 3.3V, but programs at 5V
PostPosted: Sat Nov 06, 2021 11:00 am     Reply with quote

Hi,
I have a PIC16F1789 that I want to operate at 3.3V (as there will be other 3.3V devices in the circuit).
I can program it at 5V (Vcc), and then it will run at 3.3V (Vcc) (simple blinking LED).
The problem is that the chip won't program at 3.3V. I get "Download Failed", diagnostics can't read the chip id. Vdd is 3.3V.

I am using a ICD-U64 programmer. For the tests I am powering the target from the programmer (selecting the jumper for 5V or 3.3V).
I understood that I am using the "high voltage programming" method.
I use

#fuses NOLVP
#use delay(clock=8M)
webgiorgio



Joined: 02 Oct 2009
Posts: 122
Location: Denmark

View user's profile Send private message

PostPosted: Wed Nov 10, 2021 2:12 pm     Reply with quote

How can I disable "block erase"?

I read that the chip can be programmed at 3.3V using a "normal erase" of the memory rather than "block erase".
PCM programmer



Joined: 06 Sep 2003
Posts: 21505

View user's profile Send private message

PostPosted: Tue Nov 16, 2021 3:47 am     Reply with quote

In the CCSload program, on the right you will see Options.
Click on the little double arrow, and it will give you more options.
It will show the Erase Mode options, which are:

- Bulk erase chip before programming
- Erase only blocks in hex file

Pick the one you want.

You can click on "make these settings be the default" on the
right side of the window.
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