Author Topic: PIC16C54 Help to program it.  (Read 3073 times)

0 Members and 1 Guest are viewing this topic.

Offline sotosTopic starter

  • Frequent Contributor
  • **
  • Posts: 257
  • Country: gr
PIC16C54 Help to program it.
« on: January 12, 2019, 07:53:36 pm »
Help to program a PIC16C54.

Can somebody please tell me if this is copy protected? I attached the bin in text file.  I’m trying to program another PIC15C54 but the programmer is asking me to include the configuration which I don’t know. Isn’t the configuration written in the microcontroller when it is programmed?
Also someone told me that a PIC16F54 is the same but when I try to program it, a message informs me that the program is larger than the 16F54 and refuses to program it. Programmer is ELNEC.

Thanks for the help.
« Last Edit: January 12, 2019, 08:08:05 pm by sotos »
 

Offline kripton2035

  • Super Contributor
  • ***
  • Posts: 2581
  • Country: fr
    • kripton2035 schematics repository
Re: Help to program a PIC16C54.
« Reply #1 on: January 12, 2019, 07:57:36 pm »
this 16c54 is an OTP : one time programmable PIC you cannot reprogram it.
there can be a protection. if so you cannot read it.
 

Offline sotosTopic starter

  • Frequent Contributor
  • **
  • Posts: 257
  • Country: gr
Re: PIC16C54 Help to program it.
« Reply #2 on: January 12, 2019, 08:00:14 pm »
I have copied it via the copy of the ELNC programmer and wanted it to be programmed in a new one.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16856
  • Country: lv
Re: PIC16C54 Help to program it.
« Reply #3 on: January 12, 2019, 08:05:28 pm »
it's intel hex, not bin. Appears like actual data, so chip shouldn't be read protected.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16856
  • Country: lv
Re: PIC16C54 Help to program it.
« Reply #4 on: January 12, 2019, 08:09:37 pm »
Depending on programmer it may read config fuses into the same file or it may be a separate procedure. PIC16F54 may work as replacement but it has differences. Also it has more config fuses. http://ww1.microchip.com/downloads/en/devicedoc/41220a.pdf
« Last Edit: January 12, 2019, 08:11:50 pm by wraper »
 

Offline sotosTopic starter

  • Frequent Contributor
  • **
  • Posts: 257
  • Country: gr
Re: PIC16C54 Help to program it.
« Reply #5 on: January 12, 2019, 08:17:32 pm »
I have a good working one, some 16C54 and 16F54 new ones. But unable to continue with them.  :-//
 

Offline malagas_on_fire

  • Frequent Contributor
  • **
  • Posts: 591
  • Country: pt
  • Kernel Panic
    • Malagas Lair
Re: PIC16C54 Help to program it.
« Reply #6 on: January 12, 2019, 08:26:41 pm »
You could import the hex file to MPLABX and check for both microcontrollers the configuration bits are properly matches. Create for example two separate projects, one for 16C54 and another for 16F54, then compare them.  In MPLABX go to Window, > Pic Memory Views.
If one can make knowledge flow than it will go from negative to positve , for real
 

Offline sotosTopic starter

  • Frequent Contributor
  • **
  • Posts: 257
  • Country: gr
Re: PIC16C54 Help to program it.
« Reply #7 on: January 12, 2019, 08:37:40 pm »
In the attachment there is the configuration bits that askes for them at the programing the chip, it doesn’t ask that information when I copy the good one.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf