Trouble using TinyISP more than once

Hi,

I wanted to try using serial communication on attiny84 using TINYISP so I install it and it compiles and loads onto the arduino. So then I try to start on the modifications to use knockbang, setting the options etc. but then I get this type of errors:

TinyISP\KnockBangParser.cpp.o: In function `TinyDebugKnockBangParserClass::process()':
D:\Arduino_arduino\libraries\TinyISP/KnockBangParser.cpp:51: multiple definition of `TinyDebugKnockBangParserClass::process()'
KnockBangParser.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/KnockBangParser.cpp:51: first defined here
TinyISP\KnockBangParser.cpp.o:D:\Arduino_arduino\libraries\TinyISP/KnockBangParser.cpp:51: multiple definition of `TinyDebugParser'
KnockBangParser.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/KnockBangParser.cpp:51: first defined here
TinyISP\TinyISP_AispLED.cpp.o: In function `AispLEDClass::setMode(AispLEDClass::mode_t)':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_AispLED.cpp:94: multiple definition of `AispLEDClass::setMode(AispLEDClass::mode_t)'
TinyISP_AispLED.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_AispLED.cpp:94: first defined here
TinyISP\TinyISP_AispLED.cpp.o: In function `AispLEDClass::update()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_AispLED.cpp:108: multiple definition of `AispLEDClass::update()'
TinyISP_AispLED.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_AispLED.cpp:108: first defined here
TinyISP\TinyISP_AispLED.cpp.o: In function `AispLEDClass::flash()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_AispLED.cpp:77: multiple definition of `AispLEDClass::flash()'
TinyISP_AispLED.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_AispLED.cpp:77: first defined here
TinyISP\TinyISP_AispLED.cpp.o: In function `AispLEDClass::error()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_AispLED.cpp:66: multiple definition of `AispLEDClass::error()'
TinyISP_AispLED.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_AispLED.cpp:66: first defined here
TinyISP\TinyISP_AispLED.cpp.o: In function `AispLEDClass::begin(unsigned char)':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_AispLED.cpp:53: multiple definition of `AispLEDClass::begin(unsigned char)'
TinyISP_AispLED.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_AispLED.cpp:53: first defined here
TinyISP\TinyISP_AispLED.cpp.o:D:\Arduino_arduino\libraries\TinyISP/TinyISP_AispLED.cpp:94: multiple definition of `StatusIndicator'
TinyISP_AispLED.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_AispLED.cpp:94: first defined here
TinyISP\TinyISP_Monitor.cpp.o: In function `monitor_run(unsigned char&)':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_Monitor.cpp:123: multiple definition of `monitor_run(unsigned char&)'
TinyISP_Monitor.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_Monitor.cpp:123: first defined here
TinyISP\TinyISP_Programmer.cpp.o: In function `programmer_toggle_hold_in_reset()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_Programmer.cpp:861: multiple definition of `programmer_toggle_hold_in_reset()'
TinyISP_Programmer.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_Programmer.cpp:861: first defined here
TinyISP\TinyISP_Programmer.cpp.o: In function `programmer_error_occurred()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_Programmer.cpp:898: multiple definition of `programmer_error_occurred()'
TinyISP_Programmer.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_Programmer.cpp:898: first defined here
TinyISP\TinyISP_Programmer.cpp.o: In function `programmer_release_target_from_reset()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_Programmer.cpp:870: multiple definition of `programmer_release_target_from_reset()'
TinyISP_Programmer.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_Programmer.cpp:870: first defined here
TinyISP\TinyISP_Programmer.cpp.o: In function `programmer_hold_target_in_reset()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_Programmer.cpp:893: multiple definition of `programmer_hold_target_in_reset()'
TinyISP_Programmer.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_Programmer.cpp:893: first defined here
TinyISP\TinyISP_Programmer.cpp.o: In function `programmer_reset_target()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_Programmer.cpp:875: multiple definition of `programmer_reset_target()'
TinyISP_Programmer.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_Programmer.cpp:875: first defined here
TinyISP\TinyISP_Programmer.cpp.o: In function `programmer_toggle_hold_in_reset()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_Programmer.cpp:861: multiple definition of `param'
TinyISP_Programmer.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_Programmer.cpp:861: first defined here
TinyISP\TinyISP_Programmer.cpp.o: In function `programmer_process_command(unsigned char)':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_Programmer.cpp:730: multiple definition of `programmer_process_command(unsigned char)'
TinyISP_Programmer.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_Programmer.cpp:730: first defined here
TinyISP\TinyISP_Programmer.cpp.o: In function `programmer_toggle_hold_in_reset()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_Programmer.cpp:861: multiple definition of `programmer_active'
TinyISP_Programmer.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_Programmer.cpp:861: first defined here
TinyISP\TinyISP_SPI.cpp.o: In function `spi_begin()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_SPI.cpp:67: multiple definition of `spi_begin()'
TinyISP_SPI.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_SPI.cpp:67: first defined here
TinyISP\TinyISP_SPI.cpp.o: In function `spi_end()':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_SPI.cpp:102: multiple definition of `spi_end()'
TinyISP_SPI.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_SPI.cpp:102: first defined here
TinyISP\TinyISP_SPI.cpp.o: In function `spi_send':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_SPI.cpp:120: multiple definition of `spi_transaction(unsigned char, unsigned char, unsigned char, unsigned char)'
TinyISP_SPI.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_SPI.cpp:120: first defined here
TinyISP\TinyISP_SPI.cpp.o: In function `spi_transaction2(unsigned long)':
D:\Arduino_arduino\libraries\TinyISP/TinyISP_SPI.cpp:185: multiple definition of `spi_transaction2(unsigned long)'
TinyISP_SPI.cpp.o:C:\Users\Fisken\AppData\Local\Temp\build5347141417295878141.tmp/TinyISP_SPI.cpp:185: first defined here

So I delete and install TinyISP again and it works once but gets the error when I change the _TINYISP_BuildOptions.h it starts getting the error messages, even if I remove the changes to _TINYISP_BuildOptions.h

Will ty to delete and reinstall a third time now, but has anybody had this type of problem and what is it?

Edit: corrected some bad English.

multiple definition of `TinyDebugKnockBangParserClass::process()'

I think you have more than one copy of the TinyISP installed.

TinyISP is a sketch and should be in your sketcfolder and TinydebugKnockBang is a library and should be in your library folder.

Maybe this will be helpfull

http://www.ernstc.dk/arduino/tinycom.html

Iam trying to follow your site...

I put TinyISP in the library folder which is wrong (found that out on another thread i found using google, after writing this thread :roll_eyes:).

I have put the sketch in the sketch folder and changed the build options and it compiles.

I think I got confused since the TinyISP folder has a bunch of .h files, which I thought should go in the library folder.

Thanks for your help and nice tutorial.

Google first...

You are welcome