Go Down

Topic: Arduino as ISP, Mininial Circuit Error- pins_arduino.h No such file.. (Read 5 times) previous topic - next topic

kermit

Hi
I'm wanting to program an atmega 328 using ArduinoISP and the minimal circuit setup.
this is what I have done
1) uploaded the arduinoISP to my Duemilanove board, I'm working in arduino 1.0 IDE. followed instructions http://arduino.cc/en/Tutorial/ArduinoISP
2) Setup that i have used see http://arduino.cc/en/Tutorial/ArduinoToBreadboard, refer bottom of the page for miminal setup


also tried a 120ohm resistor between reset and 5V.

The error that I get in both cases is:
"C:\Arduino\arduino-1.0\hardware\arduino\cores\arduino/Arduino.h:212:26: error: pins_arduino.h: No such file or directory"

looks like I have missed something. Can anyone point me in the right direction.

johnwasser

That looks like a compiler error.  Were you trying to verify or upload a sketch?  My first guess wold be that your Arduino installation is not complete.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

kermit

I was trying to upload a sketch to a blank atmega328. I'll reinstall and have another go. I have been able to upload other sketches but just not via arduino as ISP. I was thinking it was something, maybe to do with the "atmega on breadboard (8Mhx internal clock)" board file that was installed i.e. the breadboard.zip. When I looked at it I didn't see anything that referenced arduinoISP, this is what it is:
##############################################################

atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)

atmega328bb.upload.protocol=stk500
atmega328bb.upload.maximum_size=30720
atmega328bb.upload.speed=57600

atmega328bb.bootloader.low_fuses=0xE2
atmega328bb.bootloader.high_fuses=0xDA
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
atmega328bb.bootloader.unlock_bits=0x3F
atmega328bb.bootloader.lock_bits=0x0F

atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000L
atmega328bb.build.core=arduino:arduino

should be be "atmega328bb.upload.protocol=stk500"?
anyway I will reinstall and see if that makes a difference.

kermit

Hi John
thanks for your last comment. Still learning this environment and now see what you mean. I've reinstalled everything and makes not different but it is a verify/compile issue not upload.

This time tried with blink example code (no changes and just used everything as described). Here is the error
C:\Arduino\arduino-1.0\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=100 -IC:\Arduino\arduino-1.0\hardware\arduino\cores\arduino C:\DOCUME~1\User\LOCALS~1\Temp\build3115065296870135004.tmp\Blink.cpp -oC:\DOCUME~1\User\LOCALS~1\Temp\build3115065296870135004.tmp\Blink.cpp.o
In file included from Blink.cpp:8:
C:\Arduino\arduino-1.0\hardware\arduino\cores\arduino/Arduino.h:212:26: error: pins_arduino.h: No such file or directory


can anyone point me in the right direction to fix this issue?


kermit

OK take another go at this and it definitely the board selection. choosing the uno instead of the Atmega328 on breadboard verifies/compiles so there is something happening with the setting of this board (Atmega328 on breadboard ).


Go Up