Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Fishtales

Pages: [1]
Programming Questions / Re: Programming with ISP
« on: January 11, 2012, 07:13:52 AM »
Yes, in Arduino (1.0), I have made an entry in boards.txt that looks like this:[usbtinyisp] ATmega128v@ 16 MHz

Then I select  Tools->Programmers->USBtinyISP and I can load a sketch directly to the board through the ISP header.

In wiring, I tried a couple variants of this in the boards.text file with no success.  For example:[usbtinyisp] ATmega128v@ 16 MHz

This shows up as a board, but when I try to upload a sketch I get this error message which seems to indicate that it's still trying to upload via a non existent bootloader:

java.lang.NumberFormatException: null
   at java.lang.Integer.parseInt(
   at java.lang.Integer.parseInt(

Programming Questions / Re: Wiring won't burn bootloader
« on: January 11, 2012, 06:52:14 AM »
I do have verbose turned on already, and I see all the detail when I'm compiling a sketch, but when I if I hold the shift key down while I select Burn Bootloader> w/USBtinyISP I get nothing but an instantaneous "Error while burning bootloader".

As I said in the earlier post, the USBtinyISP works fine with avrdude and I can take a Wiring compiled hex file and load it directly from from avrdude so I know the board works, the ISP works and the code compiled from Wiring works.  I just can't get a bootloader into the chip.
Programming Questions / Programming with ISP
« on: January 09, 2012, 11:07:11 PM »
With the Arduino IDE, it is easy to program directly to a board without a bootloader using an ISP.  Will this capability ever be possible in the Wiring IDE, and if so, when might that happen?
Programming Questions / Wiring won't burn bootloader
« on: December 27, 2011, 07:55:03 AM »
I'm trying to burn a bootloader into a Wiring V1.0 equivalent that I have breadboarded.   When I tell Wiring to burn bootloader  with USBtinyISP, I get an instant "Error while burning bootloader".  It doesn't even blink the red LED on the USBtinyISP.  I get no indication of what the error was. 

I know the programmer works fine because I've used it with this board directly from AVRdude to first burn the fuses, and then to load a blink test program to make sure that the board is working OK. 

If I try to burn the bootloader from AVRdude (trying to burn this build: "WiringBoot_Wiring-V1-Mega.hex")  I get the following error: avrdude: ERROR: address 0x10f810 out of range at line 2 of WiringBoot_Wiring-V1-Mega.hex

I suspect that this is the error that is happening when I try to burn the bootloader from Wiring but an online search yields no info on what may be the cause.


I've built a wiring compatible board running an atmega128.  I can build and load programs into it with my tinyUSB ISP programmer.  I want to put a boot loader on it so that i can load programs directly from the IDE but I can't seem to locate the atmega128stk500boot.hex file that I need.  I've tried loading the Wiring version 1 boot loader thinking that it's a 128 also and should work but I get an error when I try to load it (some sort of bad address reference in line 2).

Question 1: where can I find the hex file that I need?

Question 2: is it possible to run the boot loader at 8Mhz instead of 16Mhz?  I'd like to try something using the internal oscillator instead of my external clock.

Pages: [1]