1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved Need some firmware help

Discussion in 'Troubleshooting' started by Matthew Katchick, Feb 15, 2020.

  1. Matthew Katchick

    Matthew Katchick New Member

    Joined:
    Aug 9, 2015
    Messages:
    1
    Likes Received:
    0
    Would anyone happen to have a non-bugged copy of the 8mm lead screw firmware? Something got really screwed up in my settings, so i re-uploaded to the board. But whatever Robo has on the link is bugged to hell right now.


    Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}", automatically converted to recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}". Consider upgrading this core.
    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::addCluster()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    c:/users/ibnfe/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::addDirCluster()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::cacheDirEntry(unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::contiguousRange(unsigned long*, unsigned long*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::dirName(directoryEntry const&, char*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::getFilename(char*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::getpos(FilePost_t*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::make83Name(char const*, unsigned char*, char const**)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::eek:penRoot(SdVolume*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::printDirName(directoryEntry const&, unsigned char, bool)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::printFatDate(unsigned int)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::printFatTime(unsigned int)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::printName()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::read(void*, unsigned int)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::fgets(char*, int, char*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::lsPrintNext(unsigned char, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::read()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::readDir(directoryEntry*, char*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::readDirCache()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::seekSet(unsigned long)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::setpos(FilePost_t*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::peek()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::sync()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::dateTime_'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::close()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::dirEntry(directoryEntry*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::timestamp(SdBaseFile*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::timestamp(unsigned char, unsigned int, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::truncate(unsigned long)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::eek:penCachedEntry(unsigned char, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::eek:pen(SdBaseFile*, unsigned char const*, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::mkdir(SdBaseFile*, unsigned char const*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::mkdir(SdBaseFile*, char const*, bool)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::eek:pen(SdBaseFile*, char const*, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::exists(char const*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::eek:pen(char const*, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::cwd_'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::SdBaseFile(char const*, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::SdBaseFile(char const*, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::rename(SdBaseFile*, char const*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::eek:pen(SdBaseFile*, unsigned int, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::ls(unsigned char, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::eek:penNext(SdBaseFile*, unsigned char)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::eek:penParent(SdBaseFile*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::remove()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::createContiguous(SdBaseFile*, char const*, unsigned long)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::remove(SdBaseFile*, char const*)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::rmdir()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::rmRfStar()'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::write(void const*, unsigned int)'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\SdBaseFile.cpp.o: In function `SdBaseFile::addDirCluster()':

    sketch/SdBaseFile.h:187: multiple definition of `SdBaseFile::eek:ldDateTime_'

    sketch\Sd2Card.cpp.o:sketch/SdBaseFile.h:187: first defined here

    sketch\cardreader.cpp.o: In function `CardReader::initsd()':

    sketch/cardreader.cpp:198: undefined reference to `Sd2Card::init(unsigned char, unsigned char)'

    sketch\Sd2Card.cpp.o: In function `SdVolume::writeBlock(unsigned long, unsigned char const*)':

    sketch/Sd2Card.cpp:1430: undefined reference to `Sd2Card::writeBlock(unsigned long, unsigned char const*)'

    sketch\Sd2Card.cpp.o: In function `SdVolume::readBlock(unsigned long, unsigned char*)':

    sketch/Sd2Card.cpp:1430: undefined reference to `Sd2Card::readBlock(unsigned long, unsigned char*)'

    sketch\Sd2Card.cpp.o: In function `SdVolume::writeBlock(unsigned long, unsigned char const*)':

    sketch/SdVolume.h:192: undefined reference to `Sd2Card::writeBlock(unsigned long, unsigned char const*)'

    sketch\SdVolume.cpp.o: In function `SdVolume::cacheFlush()':

    sketch/SdVolume.cpp:307: undefined reference to `Sd2Card::writeBlock(unsigned long, unsigned char const*)'

    sketch/SdVolume.cpp:307: undefined reference to `Sd2Card::writeBlock(unsigned long, unsigned char const*)'

    sketch\SdVolume.cpp.o: In function `SdVolume::cacheRawBlock(unsigned long, bool)':

    sketch/SdVolume.cpp:307: undefined reference to `Sd2Card::readBlock(unsigned long, unsigned char*)'

    collect2.exe: error: ld returned 1 exit status

    exit status 1
    Error compiling for board Arduino/Genuino Mega or Mega 2560.

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

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    >Arduino: 1.6.9 <

    Really old version of the Arduino compiler.
    Apply the fix from, the FAQ here on the forum and use a later version of the compiler (download SDBASE.ZIP and extract/overwrite with other source). Not sure exactly which source you are compiling care to point us to exactly which one you are using?
     
  3. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    This error looks more like a Marlin 2.x error, not the Marlin 1.x which the Robo R1/R1+ uses.
    However if you point to exactly which one you used we can help. Remember the Robo provided firmware is over here (NOT HERE on the forum!): https://help.robo3d.com/hc/en-us/articles/115000717071-Updating-firmware-with-Arduino

    Anything you find here on the forum is user modified/created and while it may work fine you need to post questions for that in the thread where you downloaded it.
     

Share This Page