From: Frans S. <fra...@gm...> - 2011-03-02 15:01:58
|
Dear Matt Hirsch, Thanks for the patches. I have reviewed the code and committed it to the git repository. Just made a few changes to your code: -The new pic families should be added to the end of the enum for backward compatibility. -I have removed the debugging cout lines. Regards, Frans On 02/20/2011 12:01 PM, Matt Hirsch wrote: > I finally gotten around to doing this. > > I've attached two patches against the 0.4.2 beta release, one for the > firmware source tree, and one for usbpicprog. I had to add new entries > to PicFamily, which is why usbpicprog needed to be updated. I've tried > to make the code changes minimally invasive, but please let me know if > there's anything that needs cleaning up. > > I've tested this as working with a 18f45k22 using a 9v regulator on > Vpp. The 18lf versions of these parts require a lower voltage (<3.6V) > Vdd/PGC/D. It looks like this should be possible, so I added an XML > file and entry for the LF part as well, but I think code changes to > the firmware will be necessary to provide the low voltage versions of > the PGC/D signals. > > My XML files are missing the C compiler tags, since I'm not sure where > you're pulling these from. I couldn't find an obvious place in the > MCC18 headers. The SDCC tags seem irrelevant, since SDCC doesn't > support the 18F4XK22 parts. > > Thanks, > Matt > > On 01/31/2011 10:48 AM, Matt Hirsch wrote: >> Frans, >> >> Thanks for the pointers. I noticed you use mcc18 to compile the >> firmware. (Or at least your Makefile is setup that way). Do you use >> the commercial version? Or will it be ok to use the lite version? I >> also see #defines for sdcc - is this a valid option to compile the >> firmware? >> >> Thanks, >> Matt >> >> On 01/31/2011 03:54 AM, Frans Schreuder wrote: >>> Dear Matt, >>> >>> I think the sourcecode of the PC application doesn't have to be altered >>> for that, only the .xml files. >>> Only in the firmware some small modifications will have to be done. >>> Also the hardware can't just program these devices since it gives a VPP >>> of 12V where the 18f45K22 has a maximum VPP of 9V. >>> A very simple solution for this will be a 9V zener diode over the VPP >>> pin so that it won't exceed this limit. >>> >>> I don't see any other problems for implementing this device. >>> >>> Kind regards, >>> >>> Frans Schreuder >>> >>> >>> On 01/31/2011 09:06 AM, Matt Hirsch wrote: >>>> I was thinking of attempting to modify usbpicprog to program the >>>> 18f45k22. The programming spec is similar, with minor differences, to >>>> the PIC18F2XXX/4XXX family: >>>> >>>> http://ww1.microchip.com/downloads/en/DeviceDoc/39622L.pdf >>>> vs >>>> http://ww1.microchip.com/downloads/en/DeviceDoc/41398B.pdf >>>> >>>> And I see many parts from that first family are on the tested list. >>>> >>>> Should something like this process work?: >>>> http://sourceforge.net/mailarchive/forum.php?thread_name=4C035FBD.9030506%40gmail.com&forum_name=usbpicprog-technical >>>> <http://sourceforge.net/mailarchive/forum.php?thread_name=4C035FBD.9030506%40gmail.com&forum_name=usbpicprog-technical> >>>> >>>> I guess I will have to create a new family. >>>> >>>> I'd appreciate any comments. >>>> >>>> Best, >>>> Matt >>>> >>>> ------------------------------------------------------------------------------ >>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>>> Finally, a world-class log management solution at an even better price-free! >>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>>> February 28th, so secure your free ArcSight Logger TODAY! >>>> http://p.sf.net/sfu/arcsight-sfd2d >>>> _______________________________________________ >>>> Usbpicprog-technical mailing list >>>> Usb...@li... >>>> https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical >>> >>> >>> ------------------------------------------------------------------------------ >>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>> Finally, a world-class log management solution at an even better price-free! >>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>> February 28th, so secure your free ArcSight Logger TODAY! >>> http://p.sf.net/sfu/arcsight-sfd2d >>> >>> >>> _______________________________________________ >>> Usbpicprog-technical mailing list >>> Usb...@li... >>> https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> >> >> _______________________________________________ >> Usbpicprog-technical mailing list >> Usb...@li... >> https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > _______________________________________________ > Usbpicprog-technical mailing list > Usb...@li... > https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical |