Can I burn nanode bootloader with Jeenode and Arduino IDE (V1.0)

90 views
Skip to first unread message

Mike

unread,
Apr 22, 2012, 4:13:40 PM4/22/12
to nanode-users, adrian....@rswww.com

Thanks to everybody who fed back regarding my earlier post about
Virgin router versus BT Homehub.
I could follow some of it :-)

To try and overcome the issue I am going to try regularly resetting
the nanode by use of the watchdog function.

I have been advised that I need to use the Optibootloader on
which the NanodeBootloader is based in order to be able to access
the watchdog function.

I have downloaded the NanodeBootLoader from
https://github.com/thiseldo/NanodeBootLoader.

I appear to have put it in the right place because when I
open the boards list in the Arduino IDE it includes six new
boards
[Nanode]Nanode w/ ATmega328, 3.3V, SRAM Prog
[Nanode]Nanode w/ ATmega328, 5V
[Nanode]Nanode w/ ATmega328, 3.3V

[Nanode-1.0]Nanode w/ ATmega328, 3.3V, SRAM Prog
[Nanode-1.0]Nanode w/ ATmega328, 5V
[Nanode-1.0]Nanode w/ ATmega328, 3.3V

anyone know what the difference is between [Nanode] and [Nanode-1.0]?
IS it [Nanode-1.0] if you're using Arduino version 1.0 ide (which I
am)?
I take I choose 5V or 3.3V to suit the usual supply voltage to the
board?

Where I also need help with is how do I get the bootloader onto the
Nanodes ATmega328?
I don't want to buy a dedicated programmer.
I have a Jeenode and also I can get access to an Arduino.
I have fitted a 6 way header onto the ISP port on the Nanode and made
up a lead.

I can see on the Jeelabs site
http://jeelabs.org/2011/05/29/summary-of-isp-options/
that it is possible to use a Jeenode as a programmer
but this appears to require you to use the isp_repair2 sketch which
loads
the OptiBoot Loader rather than the Nanode?

There is similar information regarding using an Arduino to load a new
bootloader on
another Arduino on
http://arduino.cc/en/Tutorial/ArduinoISP.

Would this work ok with a Jeenode? if so which board should I select
as the programmer
and can I follow the existing instructions as they are including
wiring diagrams.
Sorry to have to ask all these questions but as you can probably tell
I'm way out
of my depth!
cheers
Mike

SomeRandomBloke

unread,
Apr 22, 2012, 5:33:34 PM4/22/12
to nanode...@googlegroups.com
The bootloader you refer to was created by my good self for the nanode and is based on the optiboot loader. There are 2 versions, one that is pretty much standard with the LEDs configured to flash correctly on reset and data transfer during sketch transfer, the second is to reprogram itself from a sketch that has been transferred to the onboard SRAM.

I've used the USBTinyISP to program it, using anything else is untested by me. However it is entirely possible to use other means, providing the .hex file is made available along with the correct fuse settings as one of the things they do define is the size of the bootloader, another is the brownout voltage which is set to different values depending on the supply voltage used, hence the versions for 5V and 3.3V.

The other point is that the 1.0 IDE has a totally different set of core files as these need to be correct when building your sketch and are included as part of the install of the bootloader.

I'd say, give it a go and report back your findings.

SRB
Reply all
Reply to author
Forward
0 new messages