Project

General

Profile

A bootloaded ATtiny

Added by jscrane over 6 years ago

Hello everyone,
Inspired by the Jee Node Micro, I’ve built a little ATtiny development board, added a 3rd-party GPL-licensed bootloader and wired the lot into the Arduino IDE.

Words:
http://programmablehardware.blogspot.ie/2013/11/attiny-development-board-now-with-added.html

Code:
https://github.com/jscrane/attiny

Cheers,
Steve


Replies (6)

RE: A bootloaded ATtiny - Added by JohnO over 6 years ago

Using pb0 & pb1 isn’t a good match for the Jeenode Micro as they are assigned to MOSFET power control for the RFM12B and RFM12B chip select. Do you have an RFM12B on your development board? I have created an alternate port using the ‘tsb tn84a b0a0 T84a-b0a0.hex’ since I don’t have MOSFET control fitted. It looks fun and I will look further into it. Perhaps we could add a wireless capability to facilitate wireless sketch loading.

RE: A bootloaded ATtiny - Added by JohnO over 6 years ago

jscrane, my Win7x64 doesn’t seem to like your little fw program, when trying to upload I see:

java.io.IOException: Cannot run program C:–1.5.4r2\sketchbook/hardware/jeelabs/avr/tools/fw CreateProcess error=193, %1 is not a valid Win32 application

RE: A bootloaded ATtiny - Added by jscrane over 6 years ago

It’s a linux binary for x86. The source code to it (in C) is linked from the blog article. You may be able to build it for Windows with Cygwin or something.

You can still use tsb to upload sketches, you only need fw to upload from the Arduino IDE.

Cheers,
Steve

RE: A bootloaded ATtiny - Added by JohnO over 6 years ago

I’ve make a couple of changes and things now work fine on my Win7x64.

I have copied tsb.exe into “C:–1.5.4r2\sketchbook\hardware\jeelabs\avr\tools”
and then adjusted “C:–1.5.4r2\sketchbook\hardware\jeelabs\avr\platform.txt” to:

tools.tsb.cmd=tsb.exe
tools.tsb.path={sketchbook.path}/hardware/jeelabs/avr/tools
tools.tsb.upload.params.verbose=
tools.tsb.upload.params.quiet=
tools.tsb.upload.pattern=“{path}/{cmd}” “{serial.port}” “FW” “{build.path}/{build.project_name}.hex”

and it works within the IDE.

RE: A bootloaded ATtiny - Added by jscrane over 6 years ago

Huh. I guess it’s “script friendly” on Windows then so!

RE: A bootloaded ATtiny - Added by JohnO over 6 years ago

Its a nice bootloader for the T84, I wonder if the person that created it can create a wireless bootloader for us all? Do you know the programmer from http://jtxp.org ?

    (1-6/6)