> -----Oorspronkelijk bericht----- > Van: Zach Welch [mailto:z...@superlucidity.net] > Verzonden: woensdag 13 mei 2009 13:17 > Aan: Nico Coesel > CC: openocd-development > Onderwerp: jtag driver tutorial (was RE: > [Openocd-development] doxygen update) > > On Tue, 2009-05-12 at 00:19 +0200, Nico Coesel wrote: > [snip] > > Allright! I need to write a driver somewhere in the next couple of > > weeks/months (when the JTAG programmer hardware arrives). Perhaps I > > can sketch/write some outlines on putting a driver together. I just > > don't know how this would work with the current version of > OpenOCD. A > > lot seems to be happening lately (which is good!) but I'm > not sure the > > current driver model is still the same as version 0.1.0. > > Excellent. :) We definitely need more documentation writers! > > I recommend writing documentation for the current trunk. I > just added "doc/manual/" in r1771 to provide the basic > skeleton for OpenOCD's high-level doxygen documentation > (which others can flesh out over time). > I think what you describe should be a stand-alone document > that reads more like a tutorial that a reference, and I have > realized the need for more of such works by incorporating a > "Technical Primers" section in the doxygen output. > > Please consider writing it iteratively and incrementally as > you develop the driver, posting revisions for community to > review just as you might the code. I think this work could > produce common driver standards and then catalyze development > to clean-up the existing drivers to meet them. > > I would suggest starting the file, > "doc/manual/primer/jtag-driver.txt". > Write a doxygen comment block to contain the tutorial, > similar to the skeleton files now in the tree. Using > doxygen's own documentation, you should be able to make your > content appear in the proper section of the new OpenOCD > Technical Primers page.
Zach, I have two issues with that: First the document will probably in Word (.doc) format to include both text and pictures. Plain text is just too limited. I suppose I can provide the images in a different format as well. Text is easy to extract / Word documents can be read by OpenOffice. My document layout doesn't contain fancy stuff anyway. Secondly I'm planning to use version 0.1.0 with the patches I made. I need to push 'my' JTAG programmer project forward as fast as possible. I don't want to skip documentation, but I can't spend time on debugging OpenOCD at this moment. I'm willing to give r1771 a try (or any other revision that is 'guaranteed' to work), but if it doesn't work from the box I have to stick with version 0.1.0. Nico _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development