Issues with emon source code using arduino as ISP(Moving to different category)
Submitted by Guest on Wed, 08/10/2014 - 15:09
Currently I am making the open energy monitor to expand my knowledge to help me eventually expand on a bigger project. But, now I am stuck on trying to program an attiny84 to use on two raspberry pi's to communicate using the two RFM12Pi's one on each pi. Now I am stickily worried about getting the chip programmed because I ordered it from Digikey. So I have followed the countless tutorials, even the ones on this site, to program an attiny84. I was successful in programming the chips I have to blink an LED. This is relevant because I made my own shield that will allow me to easily program and then put into one of my Pi's. Now, the issue is that I can actually burn a bootloader on my chip. I know I burned the bootloader properly because I got the same errors I receive when I attempt to update the blink sketch. The error:
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
But, whenever I put the software to download onto the attiny I get a long error that doesn't make any sense unless the source code I downloaded, from the google link given from this website, is incorrect. Moreover, I tried every single .ino(Arduino) file possible on the sourcecode, but to no avail. I receive a similar error to this(copy and pasted at bottom) when I try to upload on any .ino for this code. Another important information: I received all code and libraries from this website or references given from this website. I am using an Arduino Uno and I am trying to program these boards to make a RFM12Pi V1. I already made these two of these boards, as stated previously, but I just need to download the code to see if I made them correctly. Link where I downloaded all of my jeelibs libraries and other code: https://github.com/jcw/jeelib and https://code.google.com/p/arduino-tiny/downloads/list for the boards.
Any information will be so helpful on how to fix this error, or another way to put the appropriate code on my Attiny84's so I can finally play with the boards I made.
Thanks.
Also here is the the error when I try uploading the final code to my Attiny84.
c:/users/brand_000/desktop/arduino folder/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 c:/users/brand_000/desktop/arduino folder/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_exit.o)
RF12_Demo_atmega328.cpp.o: In function `showString':
C:\Users\brand_000\Desktop\Arduino Folder/RF12_Demo_atmega328.ino:91: relocation truncated to fit: R_AVR_13_PCREL against symbol `Print::print(char, int)' defined in .text._ZN5Print5printEci section in core.a(Print.cpp.o)
C:\Users\brand_000\Desktop\Arduino Folder/RF12_Demo_atmega328.ino:92: relocation truncated to fit: R_AVR_13_PCREL against symbol `Print::print(char, int)' defined in .text._ZN5Print5printEci section in core.a(Print.cpp.o)
Issues with emon source code using arduino as ISP(Moving to different category)
Submitted by Guest on Wed, 08/10/2014 - 15:09Currently I am making the open energy monitor to expand my knowledge to help me eventually expand on a bigger project. But, now I am stuck on trying to program an attiny84 to use on two raspberry pi's to communicate using the two RFM12Pi's one on each pi. Now I am stickily worried about getting the chip programmed because I ordered it from Digikey. So I have followed the countless tutorials, even the ones on this site, to program an attiny84. I was successful in programming the chips I have to blink an LED. This is relevant because I made my own shield that will allow me to easily program and then put into one of my Pi's. Now, the issue is that I can actually burn a bootloader on my chip. I know I burned the bootloader properly because I got the same errors I receive when I attempt to update the blink sketch. The error:
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
But, whenever I put the software to download onto the attiny I get a long error that doesn't make any sense unless the source code I downloaded, from the google link given from this website, is incorrect. Moreover, I tried every single .ino(Arduino) file possible on the sourcecode, but to no avail. I receive a similar error to this(copy and pasted at bottom) when I try to upload on any .ino for this code. Another important information: I received all code and libraries from this website or references given from this website. I am using an Arduino Uno and I am trying to program these boards to make a RFM12Pi V1. I already made these two of these boards, as stated previously, but I just need to download the code to see if I made them correctly. Link where I downloaded all of my jeelibs libraries and other code: https://github.com/jcw/jeelib and https://code.google.com/p/arduino-tiny/downloads/list for the boards.
Any information will be so helpful on how to fix this error, or another way to put the appropriate code on my Attiny84's so I can finally play with the boards I made.
Thanks.
Also here is the the error when I try uploading the final code to my Attiny84.
c:/users/brand_000/desktop/arduino folder/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 c:/users/brand_000/desktop/arduino folder/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_exit.o)
RF12_Demo_atmega328.cpp.o: In function `showString':
C:\Users\brand_000\Desktop\Arduino Folder/RF12_Demo_atmega328.ino:91: relocation truncated to fit: R_AVR_13_PCREL against symbol `Print::print(char, int)' defined in .text._ZN5Print5printEci section in core.a(Print.cpp.o)
C:\Users\brand_000\Desktop\Arduino Folder/RF12_Demo_atmega328.ino:92: relocation truncated to fit: R_AVR_13_PCREL against symbol `Print::print(char, int)' defined in .text._ZN5Print5printEci section in core.a(Print.cpp.o)