Category Archives: Web/Software Tool
AVR Timer Calculator
This is a simple javascript calculator I wrote to help me make timing calculations while working with the timers on AVR microcontrollers. The same calculations applies for all microcontrollers but the prescaler options only contain the ones possible on an AVR microcontroller (the configuration number is indicated in the brackets).
Javascript must be enabled on this page for the calculator to work. Choose what value you want to use as input by pressing the button beside the textbox(es) you want to use as the input. The output will be reflected in the other textboxes.
USB Descriptor and Request Parser
I wrote a tool to parse some USB data. You put in the data packet into the tool, and it’ll translate it into something you can understand.
The reason why I made this tool is because some USB traffic sniffers do not perform parsing on USB packets (especially the freeware ones), but the binary data can still be obtained. This tool will traverse through the binary data, and translate it into something human-readable, using the official documents from USB.org. The three types of data this tool can handle are “USB Standard Descriptors”, “USB Standard Requests”, and “USB HID Report Descriptors”.
The “parse USB HID report descriptor” function is the reverse of the (horrible) “HID Descriptor Tool” provided by USB.org, and the display format is very similar.
Because USB devices are generally embedded devices, this tool is designed with the C programming language in mind. The output can be imported as an array initializer.
I was frustrated when I couldn’t find a tool for this, so I wrote it in hopes that it will become useful for everybody looking for such a tool.
Tool: FuseCalc
What is it? It makes it easy to calculate the fuse bit settings for AVR microcontrollers.