Forum >Replies by nikolsidirop
userhead nikolsidirop
Replies (4)
  • You Reply: I did everything you suggested and managed to upload the script. Thank you very much!

    The mistake was the power supply. I had to power the MEGA board through a usb port without serial connection, so not through a PC.

    However, I noticed that it is possible to upload a sketch to the nano board, only if the MEGA is not powered (no connection).

    In the interative project I build, the Nano will be placed in a moving part, thus it will be super inconvenient to programm everything through the Nano. I was wondering if it is possible to have it the other way around. To program the nano through the MEGA.
  • You Reply: I did the AT Commands as described and binded the MEGA MAC address in the nano bluno. I got an 'OK' as feedback in all the AT commands I inserted. The link LED in both blunos is on, but now I cannot upload nothing in both bluno nano and MEGA. The serial ports are proper selected.

    Nano error:
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe3
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xe3
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe3
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe3
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe3
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe3
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe3
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xe3
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xe3
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe3
    Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
    Bluno Mega error:
    An error occurred while uploading the sketch
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_getsync(): timeout communicating with programmer
  • You Reply: I used UNO as a burner and followed the link. However the error led blinked two times in the beginning for a short time while running the burn bootloader. And if I try to upload a sketch to the Bluno ATMega 2560 the same error occurs.

    Arduino: 1.8.12 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    Sketch uses 656 bytes (0%) of program storage space. Maximum is 253952 bytes.
    Global variables use 9 bytes (0%) of dynamic memory, leaving 8183 bytes for local variables. Maximum is 8192 bytes.
    avrdude: ser_open(): can't open device "\\.\COM3": The system cannot find the file specified.


    avrdude: ser_drain(): read error: The handle is invalid.


    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.


    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.


    avrdude: stk500v2_ReceiveMessage(): timeout
    the selected serial port
    does not exist or your board is not connected
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.


    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.


    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.


    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.


    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_getsync(): timeout communicating with programmer

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
  • You Reply: If I upload the blink example (if you mean that), I get

    Arduino: 1.8.12 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    Sketch uses 1448 bytes (0%) of program storage space. Maximum is 253952 bytes.
    Global variables use 9 bytes (0%) of dynamic memory, leaving 8183 bytes for local variables. Maximum is 8192 bytes.
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    An error occurred while uploading the sketch
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: verification error, first mismatch at byte 0x0400
    0x5c != 0x58
    avrdude: verification error; content mismatch

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.