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

0 Members and 1 Guest are viewing this topic.

Offline sotos

  • Regular Contributor
  • *
  • Posts: 224
  • Country: gr
PIC16C54 Help to program it.
« on: January 13, 2019, 06:53:36 am »
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 13, 2019, 07:08:05 am by sotos »
 

Offline kripton2035

  • Super Contributor
  • ***
  • Posts: 1632
  • Country: fr
    • kripton2035 schematics repository
Re: Help to program a PIC16C54.
« Reply #1 on: January 13, 2019, 06:57:36 am »
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 sotos

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

Offline wraper

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

Offline wraper

  • Supporter
  • ****
  • Posts: 8955
  • Country: lv
Re: PIC16C54 Help to program it.
« Reply #4 on: January 13, 2019, 07:09:37 am »
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 13, 2019, 07:11:50 am by wraper »
 

Offline sotos

  • Regular Contributor
  • *
  • Posts: 224
  • Country: gr
Re: PIC16C54 Help to program it.
« Reply #5 on: January 13, 2019, 07:17:32 am »
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: 353
  • Country: pt
  • This is a madness....
    • Malagas Lair
Re: PIC16C54 Help to program it.
« Reply #6 on: January 13, 2019, 07:26:41 am »
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 sotos

  • Regular Contributor
  • *
  • Posts: 224
  • Country: gr
Re: PIC16C54 Help to program it.
« Reply #7 on: January 13, 2019, 07:37:40 am »
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