Doxygen, Abstract Syntax Trees, DFU-Programmer

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.

 

Comments: 1

Leave a reply »

 
 
 

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

 
(will not be published)
 
 
Comment