Doxygen, Abstract Syntax Trees, DFU-Programmer

MyUSB Library, Projects Add comments

I’ve begun documenting the public interface to MyUSB using Doxygen. I’ve no experience with Doxygen before now (only JavaDoc), so it’s a new learning experience for me. I’ve managed to force it into only documenting the public sections, while correctly hiding the private sections.

This weekend the theory behind Abstract Syntax Trees - the internal grammarless representation of a computer program before it is optimized and converted into the target’s assembly code - hit me like a brick. I’ve been wondering how compilers work for a long time, but haven’t had the money nor a strong enough compulsion to purchase a book on the subject. Still, after working with grammar trees in Discrete Mathmatics at Univeristy last week, the idea struck me without further prompting.

I’ve submitted a tentative patch to the dfu-programmer project to add in EEPROM reading and writing support, as I found that it lacked EEPROM functionality. That will hopefully be applied soon, allowing non-windows users to use the MyUSB DFU bootloader, or even Atmel’s DFU bootloader.

One Response to “Doxygen, Abstract Syntax Trees, DFU-Programmer”

  1. casainho Says:

    For debug purposes, I am using internal EEPROM of AT90USB162 — was very important to be able to read EEPROM using dfu-programmer.

    Since I am using GNU/Linux Ubuntu, I had to build latest dfu-programmer since the one on repositories didn’t have the “dump-eeprom” functionality :-) :-)

    Thank you :-)

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in