From: Francesco M. <f18...@ya...> - 2008-11-20 17:35:54
|
Hi, Frans Schreuder ha scritto: > Hi >> I've seen that Piklab has in "piklab/src/devices/pic/xml_data" all >> datas available for lots of PICs; the XML files there should contain >> all required info for implementing those masks... since they release >> Piklab under GPL I think it would be ok to reuse those files. > I have looked at these files before, but I think it's more work to > actually make the scripts and everything to convert them to usbpicprog > source than to do it myself. > I have already implemented the masks in the latest SVN revision now! Great! However the Piklab .xml files contains lot of useful informations and setting up routines which read those .xml files is a matter of few minutes using the built-in wxWidgets XML classes (which by chance were partly written by me :))... Also, I like more the Piklab approach because separing data from sources allows you to quickly add new devices info. Possibly a database could have been an even better choice, but XML is good, too. Re-using Piklab XML would allow UPP to display lots of more info about the selected devices and give readable names for e.g. config registers, etc, so I think it would be a Good Thing to reuse them. >> Btw, I read on the website about the old piklab plugin; is the new one >> being developed? > The old plugin was the first attempt for usbpicprog, but I moved to a > stand alone program for some reasons: > > * it's cross platform > * the plugin was too slow (it was some kind of bitbanging algorithm > on the PC side) > * I was unable to track the fast changes of piklab in order to stay > compatible with the latest version > > the usbpicprog software does now also have a command line interface > which makes it possible to use it from within any IDE. > I think it would be a good idea (and the easiest) to write a general > piklab plugin that can run a command line programmer, maybe with default > options for usbpicprog. that's probably the best thing, sure. >> I'm ready to give an hand with patches/implementation work :) >> > Thanks! maybe you can can give a hand with the piklab command-line plugin? Sure; however before working on such plugin I'd prefer to give some help with the main app (see my other mail). >>> You can disable the verify function for config memory in the >>> preferences panel! >> I'll do so in the meanwhile, then. > If you checkout the latest SVN revision, you can enable it again :P I've tested the new version and indeed it says "verify successful"! Thanks. Bye, Francesco -- |