by on
Avr DevelopmentWiring/Arduino

This was started out as one of my things for Thing-A-Day (2008) (

This follows my work getting the wiring software platform working on some generic mega128 boards. It is somehow related to my work on reducing the costs of the Arduino runtime to less than $4

I recently found the code for an Stk500v2 based bootloader at for the new wiring platform. I have wanted to run wiring on several of the systems I have using the mega128 and the olimex header board that sparkfun sells. Between sparkfun and Ebay my per board cost is about 11 bucks. With the ftdi ft232rl usb to serial chip at $4 that would make the wiring platform affordable :)

My initial attempt was using Wiring 0014 which seemed pretty darned broken. It didnt take long for 0015 to come out fortunately. Once I got the bootloader to work with wiring I realized that the wiring platform requires a 32khz clock crystal to be connected to tosc1 and tosc2. On the Olimex boards there is a space for this crystal. On some other boards like the Futulec ET-AVR-stamp this had to be soldered to the legs of the processor.

Once this was added to the boards things started working. Below you can see the Futurelec ET-AVR-STAMP running my “antisocial” wiring program.

Leave a Reply

  • (will not be published)