From: Frans S. <fra...@gm...> - 2010-05-31 07:05:43
|
Dear Matt, The 12F50X (as well as 16F50x) has a similar algorithm to the 10F devices. I must admit that I have never seen this device working with usbpicprog, I have to put some more time in it. I will put all those devices on "Not working" in stead of unknown on the supported devices list. The code to program those devices is also quite different from all the others, and I am currently also out of 10F devices. I will order some in the near future (as well as 16F87 which is also causing some problems) in order to be able to test it myself. When these bugs have been fixed, I will release 0.4.1 soon. Kind regards, Frans Schreuder On 29-5-2010 2:42, Matt Hirsch wrote: > I built pcb-0.3.1, (through hole version) and have tested it as working > with a couple of different devices (16f84a, 18f2550). I'd like to be > able to program the 16f506, which from looking at the programming specs, > is very similar to the 12f508/9. > > 12f508/509: > http://ww1.microchip.com/downloads/en/DeviceDoc/41227E.pdf > > 16f506 > http://ww1.microchip.com/downloads/en/DeviceDoc/41258C.pdf > > I modified index.xml to include the 16F506 under the P12F508 family, and > src/hardware.cpp to backup the oscillator calibration bits. I noticed > there was already a 16F506.xml under xml_data, which seems to agree with > the data sheets. > > After recompiling, when I try to read from the 16F506 I get all 0's. > Writing to the device gives a "verify error". When I hook a scope up to > the PGC and PGD lines I see activity there. The supported devices list > says that the 12f508 is not tested, so perhaps the code to program this > part isn't working for these chips either? > > Can someone recommend a direction to start debugging? > > I'm going to try to get a hold of a 12f508/9 to see if that part works, > but it could take awhile. > > Thanks, > Matt > > ------------------------------------------------------------------------------ > > _______________________________________________ > Usbpicprog-technical mailing list > Usb...@li... > https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical > |