Page under completion. Some more information on the link below.
The NanoProg is a shield for the Arduino Nano to program arduino chips.
- Link to shop - NanoProg.
Connect the hardware
Insert the MCU to program on the programmer board. Beware of the direction when the inserting the MCU. The small dot must be pointed toward the left of the board (toward the leds).
Connect the Programmer board to the computer with a USB cable.
Once all connected the Programmer board will show heartbeat with the green led.
For anything below make sure Arduino as ISP is selected in Tools | Programmer menu.
If programming an arduino MCU for the first time you must burn the bootloader onto it. For this first select the appropriate board in the Arduino IDE. Tools | Board . For example ATtiny85 @ 8Mhz or Arduino UNO. Then select Tools | Burn Bootloarder.
Upload Sketch (ATtiny)
Open your sketch file with the Arduino IDE. Make sure you select the appropriate MCU type in Tools | Board. Upload the sketch from the IDE.
Upload Sketch (ATmega)
Open your sketch file with the Arduino IDE. Make sure you select the Arduino UNO type in Tools | Board. Upload the sketch from the IDE using the Upload Using Programmer function found under the File menu.
Warning. Do not use the normal Upload function of the IDE as it will overwrite the main mcu sketch. This can be recovered by re-uploading the ArduinoISP sketch.
The primary ATmega328 sketch could be inadvertently overwritten. This is an easy fix. You can recover its initial state by uploading the original sketch. To do so remove all secondary chips. In the Arduino IDE select File | Examples | ArduinoISP. Then make sure Tools | Board | Arduino UNO is selected. Then upload that sketch.
When using the serial port for the first time the user must be added to the dialout group. Do this with the command below:
$ sudo usermod -a -G dialout $USER
The nano board with FT232rl chipset will require a special driver from FTDI. Download here
If you get an error of the kind below
exec: "avr-g++": executable file not found in $PATH Error compiling for board ATtiny84 @ 8 MHz (internal oscillator; BOD disabled).
Open the platform.txt file from the tinycore folder. After the following comment
# Default "compiler.path" is correct, change only if you want to overidde the initial value
Insert the line below
Save the file and restart IDE.