How-To: Flash Node Software

obtain and install a copy of the "APDuino Project" Node software on the microelectronics

Steps to flash your board with our pre-compiled binary:

Install Arduino IDE that includes tools needed to flash the APDuinOS software:

  1. download Arduino IDE 1.0.2 for Windows, Mac OSX, Linux (32-bit, 64-bit), source -- hosted by Google Code
  2. install the IDE, follow the great official guide from the Arduino Team
  1. Request a flashable binary from your account
    Request & Download the binary software from Your Account

    Log in to the online service and go to Account / My Software menu. Here you will be able to request for a trial software build that can be flashed to the board:

    • Click the "Request Software Build" button
    • Submit the Build Request form (there are not many options, really)
    • Wait for approximately 5-10 minutes till your build is produced and delivered to your account (you should also be notified via email once software licensed to you becomes available for download)
    • A Download link should be present on the Account / My Software page beside your processed request, allowing you to transfer the binary image to your PC.
    Now you should have the binary software ready to be flashed to your board.

  2. Flash the binary to the Arduino Mega 2560 using AVRDude:
    1. Connect your Arduino to your PC with the USB cable
    2. make sure Arduino drivers are loaded, consult the Arduino Getting Started Page for details
    3. run avrdude to upload the binary
      The example below is for Windows users and is assuming you have Arduino IDE in C:\arduino-1.0.2 and it is accessible on COM3.

      cd <path to the directory where you have 'apduino-node.hex'>
      C:\arduino-1.0.2\hardware\tools\avr\bin\avrdude -patmega2560 -cwiring "-P\\.\COM3" -b115200 -Uflash:w:apduino-node.hex:a "-CC:\arduino-1.0.2\hardware\tools\avr\etc\avrdude.conf"

Mac OSX users click here for further instructions in APDuino Forum.

Note: Arduino IDE 1.0.5, AVRDude has been relocated in the Arduino IDE's directory structure and 'avrdude.conf' has been renamed to 'avrdude' ; see this topic in our forum

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe -patmega2560 -cwiring "-P\\.\COM3" -b115200 -Uflash:w:apduino-node.hex:a "-CC:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude"

See our sample video on flashing the software:

Note: prior to Arduino IDE 1.0.2, AVRDude is using the "-cstk500v2" instead of "-cwiring" ; see Arduino Changelog


cd <path to the directory where you have 'apduino-node.hex'>
C:\arduino-1.x\hardware\tools\avr\bin\avrdude -patmega2560 -cstk500v2 "-P\\.\COM3" -b115200 -Uflash:w:apduino-node.hex:a "-CC:\arduino-1.x\hardware\tools\avr\etc\avrdude.conf"