Forum >Replies by chris.clemson
userhead chris.clemson
Replies (3)
  • You Reply: Thank you Nana,
    I will try this over the next few days.
  • You Reply: Thank you for the reply, and sorry for the delay, I have not had chance to do anything more with it until now.
    Please can you give me a link for the wiki in what to check?
    There's nothing obvious on this page:
    https://wiki.dfrobot.com/W5500_Ethernet ... U__DFR0342

    I have been able to configure arduino UNOs on the same machine without problems, so it can't be a serial port permission problem

    Thanks,

    Chris.
  • You Reply: Hi Nana,
    Thanks for the quick reply.
    I also tried in Arduino IDE 1.6.13 with the same problems.
    Here is the verbose upload output if it helps:

    Arduino: 1.6.13 (Linux), Board: "DFRduino M0 MainBoard"
    Code: Select all
    WARNING: Category '' in library EEPROM is not valid. Setting to 'Uncategorized'
    Warning: platform.txt from core 'DFRobot Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
    
    Sketch uses 15,036 bytes (26%) of program storage space. Maximum is 56,320 bytes.
    An error occurred while uploading the sketch
    Forcing reset using 1200bps open/close on port /dev/ttyACM2
    PORTS {/dev/ttyACM2, /dev/ttyS1, } / {/dev/ttyS1, } => {}
    PORTS {/dev/ttyS1, } / {/dev/ttyS1, } => {}
    PORTS {/dev/ttyS1, } / {/dev/ttyACM1, /dev/ttyS1, } => {/dev/ttyACM1, }
    Found upload port: /dev/ttyACM1
    /home/xxxxxx/arduino-1.6.13/hardware/tools/avr/bin/avrdude -C/home/xxxxxx/arduino-1.6.13/hardware/tools/avr/etc/avrdude.conf -v -pATmega2560 -cwiring -P/dev/ttyACM1 -b115200 -D -Uflash:w:/tmp/arduino_build_4071/DistanceSensor-DFRobot.ino.hex:i 
    
    avrdude: Version 6.3, compiled on Sep 12 2016 at 15:21:49
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2014 Joerg Wunsch
    
             System wide configuration file is "/home/xxxxxx/arduino-1.6.13/hardware/tools/avr/etc/avrdude.conf"
             User configuration file is "/home/xxxxxx/.avrduderc"
             User configuration file does not exist or is not a regular file, skipping
    
             Using Port                    : /dev/ttyACM1
             Using Programmer              : wiring
             Overriding Baud Rate          : 115200
    ioctl("TIOCMSET"): Broken pipe
    ioctl("TIOCMSET"): Broken pipe
    avrdude: stk500v2_ReceiveMessage(): timeout
    
    It looks like the changing USB port is to be expected at least...