Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Writing 16F648A using G540 programmer?

Status
Not open for further replies.

bianchi77

Advanced Member level 4
Joined
Jun 11, 2009
Messages
1,313
Helped
21
Reputation
44
Reaction score
20
Trophy points
1,318
Location
California
Activity points
9,442
Guys,

Does anyone of you have experience on writing 16F648A using G540 programmer ?

I got 00 00 always, what should I do ?

I set the configuration as OSC1 and OSC2 enabled...

Any ideas will be appreciated,

Thanks
 

I never hear for "G540 programmer". First check device support list.

Did you try to read manufacturer manual or some readme file?

Did you try to contact manufacturer tech support ?



Best regards,
Peter
 

Hi I have a G540 programmer and I have programed 16F628A and 16F84A, 16F877A ones. The 16F628A is very similar to the 16F648A but has only 2K of flash. The only mistake that you may have made that I can think of that will cause the problem you reported is to select the wrong device, the A at the end of the device name is very important when you program it. Make sure that the chip is a "A" type and that you have selected the "A" type in the programmer. I have made this mistake in the past.
 

Hi I have a G540 programmer and I have programed 16F628A and 16F84A, 16F877A ones. The 16F628A is very similar to the 16F648A but has only 2K of flash. The only mistake that you may have made that I can think of that will cause the problem you reported is to select the wrong device, the A at the end of the device name is very important when you program it. Make sure that the chip is a "A" type and that you have selected the "A" type in the programmer. I have made this mistake in the past.

What configuration do you use ?
Yes I have choosen 16F648A on the selector....
 

Changing the configuration should not effect the programming of the device, what do you mean you get 00 00?

The two configurations I use when programming the 16F628A are

__config _WDT_OFF & _LVP_OFF & _PWRTE_ON &_MCLRE_OFF &_INTRC_OSC_NOCLKOUT
OR
__config _WDT_OFF & _LVP_OFF & _PWRTE_ON &_MCLRE_ON &_XT_OSC

depending on the requirements of my application. Don't forget that the G540 does not use the configuration information in the HEX file, but that you have to set the configuration with the encrypt button.
 

Configuration bits should not be configured because programmer needs, they should be configured because microcontroller way of working in circuit environment.



Best regards,
Peter

;-)
 

The only other thing that I can think of if the programmer reads back all zeros after the PIC has been programmed is if the code protection configuration bit has been set under encrypt. The G540 checks the programming of the device before it applies the configuration word so if the programming has failed it should tell you then.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top