Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - migrating from 16f876a to 16f886

(you are viewing a thread; or go back to list of threads)

migrating from 16f876a to 16f886 (by Olivier)
Hi i have a program witch work well with 16f876a that i made with ld micro, i must change for a 16f886 since it is the new version of microchip, 16f876a is becoming obsololete and cost twice than 16f886. I have tried a 16f876a program and programming bits in my programmer for a 16f886 but it doens't work well.
any idea what to check to make this work, i have check migration document for microchip, but i dont understand everything!
Thu Jul 2 2009, 14:28:11
new support for these devices (by Jonathan Westhues)
The '886 isn't particularly software-compatible with the '876A; they've changed a bunch of little things.

But the '876A and '877A are indeed going obsolete, so I suppose that I'll have to add some new targets eventually. So I've just added support for the PIC16F886 and PIC16F887. A test build is attached.

If anyone tries the new version, then please report your experiences here. Please indicate what features you tried (which processor, ADC, PWM, UART, EEPROM variables, etc.), and whether anything didn't work.

If all seems good, then I'll add this to the official release in a month or so.
Sat Jul 4 2009, 01:05:32, download attachment ldmicro.zip
(no subject) (by Olivier)
thanx ill try it
Tue Jul 7 2009, 15:39:21
(no subject) (by Olivier)
i have tried it with a 16f886 with same program of 16f876a (just changed type of microprocessor) and everything work
i tested
ADC
PWM
EEPROM
and variables

Thank you !
Mon Jul 13 2009, 12:36:28
(no subject) (by Olivier)
i forgot to say i use external crystal at 20mhz and 1.5ms cycle
i set configurations bit on my programmer like that
2007h : 1 (bit 13) 0 1 1 1 1 1 1 1 1 1 0 1 0 (bit 0)
Mon Jul 13 2009, 12:39:09
(no subject) (by Jonathan Westhues)
Excellent. Although I would note that your configuration bits are incomplete; those parts have two configuration words, not just one. Both of those words will be specified in the compiler output. If your programmer can read the fuses out of the IHEX file, then you shouldn't need to touch them.

Has anyone else tried this target? Or has anyone tried the '877A ?
Tue Jul 14 2009, 01:53:24
(no subject) (by Shafikul Azam Khan)
I have tried it with a 16f887 with same program of 16f877A and everything works fine.

Testboard: EasyPIC5 (PIC Flash programmer)
Tue Jul 14 2009, 05:04:33
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):