Hello, I am trying to figure out how to upload a sketch to my Arduino Ethernet (w/ POE) through an ethernet cable based on steps from Freetronics (url: http://www.freetronics.com/pages/how-to-upload-a-sketch-to-your-arduino-via-a-network#.UdOeAm3hdy8).
My USBTinyISP v3.0 was able to burn the bootloader no problem using the Arduino-TFTPBoot from Github (url: Downloads · freetronics/arduino-tftpboot · GitHub).
The “WriteNetworkSettings” example from that library needs to configure the network. On my Windows 7, I went to the cmd Prompt to get my network addresses:
What the Library Asks For What I Equate it to In cmd
Gateway IP Address Default Gateway
Arduino Device IP Address IPv4 Address
Subnet Mask Subnet Mask
Then I uploaded the WriteNetworkSettings example code, and reburned the bootloader (part of the steps from Freetronics)
#include <EEPROM.h>
uint8_t NetworkSettings[] = {
0x55, 0xAA, // Signature
0xFF, // Image Status (bad)
// EEPROM block starts here
10,1,1,1, // Gateway IP address
255,0,0,0, // Subnet mask
0x12,0x34,0x45,0x78,0x9A,0xBC, // MAC address
10,1,1,20, // Arduino device IP address
};
void setup() {
for (int address = 0; address < sizeof(NetworkSettings)/sizeof(uint8_t); address++) {
EEPROM.write(address, NetworkSettings[address]);
}
pinMode(9, OUTPUT);
}
void loop() {
digitalWrite(9, HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
}
To check that my computer is connecting to the Ethernet board, I pinged the Ethernet board (I believe I’m pinging the correct device. I ping the IP Address my computer uses when I turn off the WiFi and use the Ethernet cord; the same one which I later plug into the Ethernet board).
I then returned to ‘cmd’ and typed in the path to my avr-object and got a list of options:
…and so forth. Which I believe is good since it’s not an error.
From there I put in the path to my test sketch, but I got the following error:
I’m not sure what that error means, but it’s holding me up from moving forward. Thanks