Project

General

Profile

(TinyTX) Attiny84 with Arduino IDE and JeeLIB

Added by muethos about 4 years ago

Hello togehter,
i have years ago worked with jeelib and the Arduino uno and JeeNodes.
Everything was fine.
Now i want to measure data in my house.
I have order TinyTX-Boards, RFM12B and Attiny84 to make the TinyTX-Nodes and send the Data over 433mhz to my raspberry with emoncms.

it takes many attempts to burn the Bootloader on the Attiny84. It was horror.
three Attinys now out of order 8-(

But now but now it can not go on again.
When i upload the blank sketch everything works fine. But i need Code and Libs as well.
There ist the problem.
either the IDE makes problems or the libs.
because the IDE don't have the gcc (i think i have fixed that problem)
And the Lib don't work with attiny84 without hardware serial.
I write so much because I just do not know where my problems lie
and it happens that I can express myself in English not so good
I need a working workspace but no matter what I do there is a problem which I do not get solved.

i have different Arduino IDEs installed, many versions of Boards and some versions of jeelib.

My setup:
Macbook Air with El Capitan
EvUSBasp
Attiny 84 with Bootloader intern 8mhz
With Arduino nightliy build i can upload sketches without use from libs

What can i do/try to make it work?
I think i need a lib for RFM12b that can run on a attiny84?
The next problem ist maybe the libs for DHT22.

is there someone how has this setup and can tell me what to do.

I'm working for more than one week only to transfer some data to the attiny.
I have not yet developed a line of code 8-(

Please help and sorry fpr my bad english i try my best.

Greets meuthos


Replies (31)

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

Hi meuthos, glad you made it here.

1) For Tiny builds I am using Arduino 1.5.4 Release 2.
1a) Download jeelib from Master branch: https://github.com/jcw/jeelib/ Place the jeelib directory inside the libraries folder of your Arduino 1.5.4 release 2 directory.
2) A long time ago I downloaded https://github.com/jcw/ide-hardware/ master branch and following the instructions in the README, below:

Installation and use
Make sure your IDE's "Sketchbook location" contains a hardware folder
Download or "git clone" this project at https://github.com/jcw/ide-hardware
Rename the download to jeelabs (!) and put it inside that hardware folder
Restart the Arduino IDE if it was still running, so it'll pick up the change
You should see a new "JeeLabs AVR boards" entry in the Tools -> Board menu
Select Tools -> Programmer -> Arduino as ISP
See this post on the JeeLabs weblog for ISP programming a JeeNode Micro
To set the fuses and optional boot loader, use Tools -> Burn Bootloader
To upload a sketch, you can then use the standard "Upload" button

3) https://github.com/jcw/ide-hardware/ master has been updated recently but I have not updated - lets see where we get on here with the latest version.
4) After following the README, close down ALL instances are Arduino and start up 1.5.4 release 2.
5) From the Tools menu select Boards and you should see a Jeenode Micro at the bottom - select this board.
6) Load the enclosed test sketch and try to build it. I see the following when I build it on Win7x64:
~~~
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\DS18B20.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\DS18B20.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\Ports.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\Ports.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\PortsBMP085.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\PortsBMP085.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\PortsLCD.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\PortsLCD.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\PortsRF12.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\PortsRF12.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\PortsSHT11.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\PortsSHT11.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\RF12.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\RF12.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\RF12sio.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\RF12sio.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\RF69.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\RF69.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib\RF69_compat.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\RF69_compat.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\jeelib -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire -IC:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire\utility C:\Users\John\Documents\arduino-1.5.4r2\libraries\OneWire\OneWire.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\OneWire\OneWire.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\pins_arduino.c -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\pins_arduino.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\WInterrupts.c -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\WInterrupts.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\wiring.c -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\wiring_analog.c -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring_analog.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\wiring_digital.c -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring_digital.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\wiring_pulse.c -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring_pulse.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\wiring_shift.c -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring_shift.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\HardwareSerial.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\HardwareSerial.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\main.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\main.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\Print.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\Print.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\TinyDebugSerial.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerial.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\TinyDebugSerial115200.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerial115200.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\TinyDebugSerial38400.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerial38400.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\TinyDebugSerial9600.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerial9600.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\TinyDebugSerialErrors.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerialErrors.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\Tone.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\Tone.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\WMath.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\WMath.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=154 -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny -IC:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\variants\standard C:\Users\John\Documents\arduino-1.5.4r2\Tiny\hardware\jeelabs\avr\cores\tiny\WString.cpp -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\WString.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\pins_arduino.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\WInterrupts.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring_analog.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring_digital.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring_pulse.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\wiring_shift.c.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\HardwareSerial.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\main.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\Print.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerial.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerial115200.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerial38400.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerial9600.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\TinyDebugSerialErrors.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\Tone.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\WMath.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-ar rcs C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\WString.cpp.o
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections -mmcu=attiny84 -o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/DS18B20.cpp.elf C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\DS18B20.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\Ports.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\PortsBMP085.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\PortsLCD.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\PortsRF12.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\PortsSHT11.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\RF12.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\RF12sio.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\RF69.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\jeelib\RF69_compat.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp\OneWire\OneWire.cpp.o C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/core.a -LC:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp -lm
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/DS18B20.cpp.elf C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/DS18B20.cpp.eep
C:\Users\John\Documents\arduino-1.5.4r2\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/DS18B20.cpp.elf C:\Users\John\AppData\Local\Temp\build8488291984407819948.tmp/DS18B20.cpp.hex

Sketch uses 5,146 bytes (62%) of program storage space. Maximum is 8,192 bytes.
~~~

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

Burning bootloader on a Tiny84 typically only involves setting the fuses. This is done under the Arduino covers when using the Arduino IDE to "Burn Bootloader". Perhaps one of your many Boards files have set up a Tiny84 to external clock. From that point on it wouldn't play with anyone unless it has an external clock - just a guess. It could well be recoverable when times are easier.

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

See update to instruction steps:
1a) Download jeelib from Master branch: https://github.com/jcw/jeelib/ Place the jeelib directory inside the libraries folder of your Arduino 1.5.4 release 2 directory.

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by muethos about 4 years ago

Thanks for your help.

  1. i have downloaded 1.5.4 - ok 1.a jeelib is loaded and i can see it in the IDE
  2. is ok i see the boards
  3. i have followed the readme
  4. i have selected the board
  5. when i try to upload the bootloader:
Arduino: 1.5.4 (Mac OS X), Board: "JeeNode Micro"

avrdude: stk500_recv(): programmer is not responding
processing.app.debug.RunnerException
    at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:309)
    at processing.app.Editor$47.run(Editor.java:2548)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:676)
    at java.awt.EventQueue$2.run(EventQueue.java:674)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: processing.app.debug.RunnerException: Probleme beim Hochladen auf das Board. Hilfestellung dazu unter http://www.arduino.cc/en/Guide/Troubleshooting#upload .
    at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:113)
    at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:302)
    ... 15 more

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

the ide want to write over the wrong port. not over the USBasp.
i have select the USBasp and the jeenode micro board.

when i try to upload a sketch:

avrdude: Version 5.11, compiled on Sep  2 2011 at 18:52:52
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/MueThoS76/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/tty.Bluetooth-Incoming-Port
         Using Programmer              : arduino
         Overriding Baud Rate          : 19200
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

avrdude done.  Thank you.

processing.app.debug.RunnerException
    at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:129)
    at processing.app.Sketch.upload(Sketch.java:1692)
    at processing.app.Sketch.exportApplet(Sketch.java:1605)
    at processing.app.Sketch.exportApplet(Sketch.java:1577)
    at processing.app.Editor$DefaultExportHandler.run(Editor.java:2397)
    at java.lang.Thread.run(Thread.java:695)
Caused by: processing.app.debug.RunnerException: Probleme beim Hochladen auf das Board. Hilfestellung dazu unter http://www.arduino.cc/en/Guide/Troubleshooting#upload .
    at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:113)
    at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:127)
    ... 5 more

The Port is wrong but i cant change it respectively i can change the port but not to USBasp

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

The Tiny84 cannot be programmed serially since it doesn't have a bootloader as found on a ATMEGA328P for instance. It needs to be programmed using the ICSP pins. You said you had a programmer, can you post a link to it? I use an USBasp which doesn't actually use a port number, the driver finds the hardware when connected. The TinyTX doesn't have a dedicated ICSP connector. Nathan discusses this part of the process at the top of his page about TinyTX: https://nathan.chantrell.net/tinytx-wireless-sensor/#comment-376622

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by muethos about 4 years ago

i use this one:
http://www.amazon.de/gp/product/B00AVRHVPO
in the newest version of arduino was it fine.
i have selected the USBasp in the IDE but it will not work

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

What does your arduino/hardware/arduino/avr/programmers.txt file look like?

Mine, enclosed has an entry for USBasp.

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

The 1.5.4r2 version of Arduino that is!

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

You are generating code now, you could upload the compiled code using AVRDUDE. I would also suggest using AVRDUDE to read out the current fuse settings.
~~~
echo on
pause USBTiny
avrdude -c USBASP -p t84 -v
avrdude -c USBASP -p t84 -U eeprom:r:t84-eeprom.hex:i
avrdude -c USBASP -p t84 -U flash:r:t84-flash.hex:i
avrdude -c USBASP -p t84 -U hfuse:r:t84-hfuse.hex:i
avrdude -c USBASP -p t84 -U lfuse:r:t84-lfuse.hex:i
avrdude -c USBASP -p t84 -U efuse:r:t84-efuse.hex:i
~~~
The above is a Windows DOS command line example.

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by muethos about 4 years ago

The programmers.txt is the same as yours.
i have the 1.5.4
there is nothing with r2 but its from here:
https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
1.5.4 beta

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by muethos about 4 years ago

avrdude -c USBasp -p t84 -v

avrdude: Version 6.2, compiled on Dec 16 2015 at 07:10:46
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/usr/local/Cellar/avrdude/6.2/etc/avrdude.conf"
         User configuration file is "/Users/MueThoS76/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : usb
         Using Programmer              : USBasp
         AVR Part                      : ATtiny84
         Chip Erase delay              : 4500 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : possible i/o
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65     6     4    0 no        512    4      0  4000  4500 0xff 0xff
           flash         65     6    32    0 yes      8192   64    128  4500  4500 0xff 0xff
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

         Programmer Type : usbasp
         Description     : USBasp, http://www.fischl.de/usbasp/

avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e930c (probably t84)
avrdude: safemode: hfuse reads as D7
avrdude: safemode: efuse reads as FF

avrdude: safemode: hfuse reads as D7
avrdude: safemode: efuse reads as FF
avrdude: safemode: Fuses OK (E:FF, H:D7, L:E2)

avrdude done.  Thank you.

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

echo on
pause // flash:w:V12-RF12demo-T84-38k4
avrdude -p t84 -c USBASP -U flash:w:V12-RF12demo-T84-38k4.hex -v

My .hex files are created in c:\Users\John\AppData\Local

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by muethos about 4 years ago

sorry busy at work.
hope i can try tomorrow or the day after more......

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

Thanks for letting us know. I am interested to see how things go with your project.

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by muethos about 4 years ago

I tried again something completely different:
installed the latest IDE.
with this i can flash the boot loader and the blink sketch.

avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/Users/MueThoS76/Desktop/arduino/nightly-build/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/MueThoS76/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : usb
         Using Programmer              : usbasp
         AVR Part                      : ATtiny84
         Chip Erase delay              : 4500 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : possible i/o
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65     6     4    0 no        512    4      0  4000  4500 0xff 0xff
           flash         65     6    32    0 yes      8192   64    128  4500  4500 0xff 0xff
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

         Programmer Type : usbasp
         Description     : USBasp, http://www.fischl.de/usbasp/

avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e930c
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "/var/folders/qh/xt1kv3xd79123z18l146t39c0000gn/T/build2cda7e65560d93b09ca670d26873c9c9.tmp/test_01.ino.hex"
avrdude: writing flash (308 bytes):

Writing | ################################################## | 100% 0.15s

avrdude: 308 bytes of flash written
avrdude: verifying flash memory against /var/folders/qh/xt1kv3xd79123z18l146t39c0000gn/T/build2cda7e65560d93b09ca670d26873c9c9.tmp/test_01.ino.hex:
avrdude: load data flash data from input file /var/folders/qh/xt1kv3xd79123z18l146t39c0000gn/T/build2cda7e65560d93b09ca670d26873c9c9.tmp/test_01.ino.hex:
avrdude: input file /var/folders/qh/xt1kv3xd79123z18l146t39c0000gn/T/build2cda7e65560d93b09ca670d26873c9c9.tmp/test_01.ino.hex contains 308 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.08s

avrdude: verifying ...
avrdude: 308 bytes of flash verified

avrdude done.  Thank you.

but then we are back to the problem with the hardwareserial.
wenn i try to burn a sketch with jeelib:

In file included from /Users/MueThoS76/Desktop/arduino/nightly-build/sketche/libraries/jeelib-master/JeeLib.h:17:0,
                 from /Users/MueThoS76/Desktop/arduino/nightly-build/sketche/test_01/test_01.ino:1:
/Users/MueThoS76/Desktop/arduino/nightly-build/sketche/libraries/jeelib-master/Ports.h:713:49: error: 'Serial' was not declared in this scope
     InputParser (byte size, Commands*, Stream& =Serial);
                                                 ^
/Users/MueThoS76/Desktop/arduino/nightly-build/sketche/libraries/jeelib-master/Ports.h:714:60: error: 'Serial' was not declared in this scope
     InputParser (byte* buf, byte size, Commands*, Stream& =Serial);
                                                            ^
exit status 1
Fehler beim Kompilieren.

The jeelib is written to use hardware serial but the attiny84 has no hardware serial.
i think i don't need serial at all.

but what to do with this problem?

when i burn the blink sketch and measure the output it works!

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

That owner of the Tiny library has removed serial support in the latest few versions.
Jeelib requires serial support in order to compile correctly since Jeelib uses serial on Tiny84.

Although you may not need serial on your project Arduino isn't smart enough to know that at compilation time. I think it only works out that piece at the linking stage.

It is possible to get 1.5.4r2 to directly program using a USBasp since my copy does just that. We are planning at some point to upgrade jeelib to deal with the latest removals from the Tiny core.

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

I have just run Arduino 1.6.0 (one of the nightly versions) with my sketchbook location set to C:\Users\John\Documents\arduino-1.5.4r2\Tiny as per the Jeelabs IDE instructions and it compiles. this is because C:\Users\John\Documents\arduino-1.5.4r2\Tiny has an old version of the Tiny library. I wonder if this may work for you?

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

Have you tried burning the code generated by 1.5.4r2 onto your tiny using AVRDUDE?

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

I'm having a look at Arduino 1.6.7 can you tell me which board you selected in order to burn the Tiny84 bootloader?

Which process did you use to add Tiny support to the 1.6.7 Arduino?

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by muethos about 4 years ago

i have now tryed to compile with 1.5.4 the rf12 crypsend and have burned it with avrdude.
that works.
then i have burned to my jeelink the crypRecv and i see that my TinyTX is sending.

for now the way is compile with Arduino IDE and burn with avrdude.

Now i have to find out why i can't compile the tinytx ds18b20 sketch
The error:

TinyTX_DS18B20:35: error: 'DallasTemperature' does not name a type
TinyTX_DS18B20.ino: In function 'void loop()':
TinyTX_DS18B20:134: error: 'sensors' was not declared in this scope

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

Do you have the Onewire library in your libraries (#include )?

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by muethos about 4 years ago

OneWire was in the folder
the lib for Dallas temperature sensor was missing.
now the error is:

Arduino: 1.5.4 (Mac OS X), Board: "JeeNode Micro"

/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn84.o: In function `__vector_default':
(.vectors+0x2): relocation truncated to fit: R_AVR_13_PCREL against symbol `__vector_1' defined in .text.__vector_1 section in core.a(WInterrupts.c.o)
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn84.o: In function `__vector_default':
(.vectors+0x16): relocation truncated to fit: R_AVR_13_PCREL against symbol `__vector_11' defined in .text.__vector_11 section in core.a(wiring.c.o)
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn84.o:(.init9+0x0): relocation truncated to fit: R_AVR_13_PCREL against symbol `main' defined in .text.main section in core.a(main.cpp.o)
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn84.o:(.init9+0x2): relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in /Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25/libgcc.a(_exit.o)
OneWire/OneWire.cpp.o: In function `OneWire::read_bit()':
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/libraries/OneWire/OneWire.cpp:208: relocation truncated to fit: R_AVR_13_PCREL against symbol `delayMicroseconds' defined in .text.delayMicroseconds section in core.a(wiring.c.o)
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/libraries/OneWire/OneWire.cpp:210: relocation truncated to fit: R_AVR_13_PCREL against symbol `delayMicroseconds' defined in .text.delayMicroseconds section in core.a(wiring.c.o)
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/libraries/OneWire/OneWire.cpp:213: relocation truncated to fit: R_AVR_13_PCREL against symbol `delayMicroseconds' defined in .text.delayMicroseconds section in core.a(wiring.c.o)
OneWire/OneWire.cpp.o: In function `OneWire::write_bit(unsigned char)':
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/libraries/OneWire/OneWire.cpp:180: relocation truncated to fit: R_AVR_13_PCREL against symbol `delayMicroseconds' defined in .text.delayMicroseconds section in core.a(wiring.c.o)
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/libraries/OneWire/OneWire.cpp:188: relocation truncated to fit: R_AVR_13_PCREL against symbol `delayMicroseconds' defined in .text.delayMicroseconds section in core.a(wiring.c.o)
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/libraries/OneWire/OneWire.cpp:191: relocation truncated to fit: R_AVR_13_PCREL against symbol `delayMicroseconds' defined in .text.delayMicroseconds section in core.a(wiring.c.o)
OneWire/OneWire.cpp.o: In function `OneWire::reset()':
/Users/MueThoS76/Desktop/arduino/Arduino 1.5.4/libraries/OneWire/OneWire.cpp:150: additional relocation overflows omitted from the output

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by JohnO about 4 years ago

Is that the sketch I sent to you DS18B20.ino or something else? If something else can you post it here.

RE: (TinyTX) Attiny84 with Arduino IDE and JeeLIB - Added by muethos about 4 years ago

I find the forum confusing.
you sent me a sketch ? where should the be ?
i have tried them from nathan chantrell.

(1-25/31)