Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order
    1. Home
    2. NR12
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 15
    • Best 0
    • Controversial 0
    • Groups 0

    NR12

    @NR12

    0
    Reputation
    1
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    NR12 Unfollow Follow

    Latest posts made by NR12

    • RE: Support for I2C during Tool Changing

      @dc42
      Hey, thanks for getting back, There was an M107 in the gcode file, which the slicer added and it disabled all the fan ports. one of these fan ports was powering the Arduino.

      posted in Duet Hardware and wiring
      NR12
      NR12
    • Support for I2C during Tool Changing

      Hi,
      I am using i2c to communicate with an arduino as an external controller. I use the M260 command to send bits to trigger the arduino controller. I also use M400 before this line as I realized i2c would not trigger somwtimes in the cgode without the M400.
      I am able to get this setup working with Tool1. But during a print where I have two tools, after I change tools from Tool2 to Tool1, the i2c command never issues. I found this happens only after tool changing.
      I have to restart the machine for i2c to be working again.

      Running Firmware 2.03 on a duet2+duex2 board setup.

      posted in Duet Hardware and wiring
      NR12
      NR12
    • RE: Support for building RepRap v3-dev using Eclipse

      @dc42 Yeah, I guess that makes sense. I did get a build done after I downloaded CoreNG-dev3 yesterday.

      posted in Firmware installation
      NR12
      NR12
    • RE: Support for building RepRap v3-dev using Eclipse

      ah, that was it. i followed the build instructions for 2.03, didn't realize they weren't updated for V3.
      thanks.

      posted in Firmware installation
      NR12
      NR12
    • Support for building RepRap v3-dev using Eclipse

      Hi, I was trying to build the newly released Reprap v3-dev on Github using Eclipse and i ran into the following error:

      Invoking: Cross G++ Compiler
      arm-none-eabi-g++ -std=gnu++17 -D__SAM4E8E__ -DRTOS -DDUET_NG -D_XOPEN_SOURCE -I"C:\eclipse\Firmware V3\CoreNG\cores\arduino" -I"C:\eclipse\Firmware V3\CoreNG\libraries\Flash" -I"C:\eclipse\Firmware V3\CoreNG\libraries\SharedSpi" -I"C:\eclipse\Firmware V3\CoreNG\libraries\Storage" -I"C:\eclipse\Firmware V3\CoreNG\libraries\Wire" -I"C:\eclipse\Firmware V3\CoreNG\asf" -I"C:\eclipse\Firmware V3\CoreNG\asf\common\utils" -I"C:\eclipse\Firmware V3\CoreNG\asf\common\services\clock" -I"C:\eclipse\Firmware V3\CoreNG\asf\common\services\ioport" -I"C:\eclipse\Firmware V3\CoreNG\asf\sam\drivers" -I"C:\eclipse\Firmware V3\CoreNG\asf\sam\services\flash_efc" -I"C:\eclipse\Firmware V3\CoreNG\asf\sam\utils" -I"C:\eclipse\Firmware V3\CoreNG\asf\sam\utils\cmsis\sam4e\include" -I"C:\eclipse\Firmware V3\CoreNG\asf\sam\utils\header_files" -I"C:\eclipse\Firmware V3\CoreNG\asf\sam\utils\preprocessor" -I"C:\eclipse\Firmware V3\CoreNG\asf\thirdparty\CMSIS\Include" -I"C:\eclipse\Firmware V3\CoreNG\variants\duetNG" -I"C:\eclipse\Firmware V3\RepRapFirmware\src" -I"C:\eclipse\Firmware V3\RepRapFirmware\src\DuetNG" -I"C:\eclipse\Firmware V3\RepRapFirmware\src\Networking" -I"C:\eclipse\Firmware V3\DuetWiFiSocketServer\src\include" -I"C:\eclipse\Firmware V3\FreeRTOS\src\include" -I"C:\eclipse\Firmware V3\FreeRTOS\src\portable\GCC\ARM_CM4F" -I"C:\eclipse\Firmware V3\RRFLibraries\src" -O2 -Wall -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -nostdlib -Wdouble-promotion -fsingle-precision-constant "-Wa,-ahl=NetworkBuffer.s" -MMD -MP -MF"src/Networking/NetworkBuffer.d" -MT"src/Networking/NetworkBuffer.o" -o "src/Networking/NetworkBuffer.o" "../src/Networking/NetworkBuffer.cpp"
      ../src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.cpp: In function 'void WizSpi::Init()':
      ../src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.cpp:195:16: error: invalid initialization of reference of type 'const PinDescription&' from expression of type 'const Pin' {aka 'const unsigned char'}
      ConfigurePin(APIN_SPI_SCK);
      ^~~~~~~~~~~~
      In file included from C:\eclipse\Firmware V3\CoreNG\cores\arduino/Core.h:203,
      from C:\eclipse\Firmware V3\RepRapFirmware\src/RepRapFirmware.h:33,
      from ../src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.h:11,
      from ../src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.cpp:8:
      C:\eclipse\Firmware V3\CoreNG\variants\duetNG/variant.h:167:13: note: in passing argument 1 of 'void ConfigurePin(const PinDescription&)'
      extern void ConfigurePin(const PinDescription& pinDesc);

      Got the same error for all the 4 pin descriptions for SPI, followed by

      src/Networking/W5500Ethernet/Wiznet/Ethernet/subdir.mk:24: recipe for target 'src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.o' failed
      make: *** [src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.o] Error 1
      make: *** Waiting for unfinished jobs....

      Is there a simple fix by just changing the variable type or is it something more that i might be overloooking?

      Thanks

      posted in Firmware installation
      NR12
      NR12
    • RE: Support with building new firmware for Duet Wifi

      Thanks a lot.

      posted in Firmware installation
      NR12
      NR12
    • RE: Support with building new firmware for Duet Wifi

      hey @dc42, I was able to use the custom firmware. I want to change the name( instead of 2.03beta3 (2019-03-25b6)) to something that i wont mix up with the original version. any suggestions on how i should do that?

      posted in Firmware installation
      NR12
      NR12
    • RE: Support with building new firmware for Duet Wifi

      Thanks for that correction. All projects build.

      posted in Firmware installation
      NR12
      NR12
    • RE: Support with building new firmware for Duet Wifi

      Thanks for all the help! finally got a build running.
      im writing a code to add a linear voltage pyrometer. i have written the code but now im getting the following error:

      Return without value, in function returning non-void GCodeBuffer.cpp /RepRapFirmware/src/GCodes line 501 Code Analysis Problem

      posted in Firmware installation
      NR12
      NR12
    • RE: Support with building new firmware for Duet Wifi

      do i decided not to build the duetwifisocketserver project, but directly build reprapfirmware. i ended up avoiding most of the errors i was getting but now im stuck at this:

      Finished building: ../src/ZProbeProgrammer.cpp

      Finished building: ../src/RepRap.cpp

      Finished building: ../src/Platform.cpp

      Building target: Duet2CombinedFirmware.elf
      Invoking: Cross G++ Linker
      arm-none-eabi-gcc -L"C:\eclipse\Firmware\FreeRTOS\SAM4E" -L"C:\eclipse\Firmware\RRFLibraries\SAM4E_RTOS" -Os --specs=nano.specs -Wl,--gc-sections -Wl,--fatal-warnings -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -T"C:\eclipse\Firmware\CoreNG\variants\duetNG\linker_scripts\gcc\flash.ld" -Wl,-Map,"C:\eclipse\Firmware\RepRapFirmware\Duet2_RTOS/Duet2CombinedFirmware.map" -o "Duet2CombinedFirmware.elf" -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group "C:\eclipse\Firmware/CoreNG/SAM4E8E_RTOS/cores/arduino/syscalls.o" ./src/Tools/Filament.o ./src/Tools/Tool.o ./src/Storage/CRC32.o ./src/Storage/FileInfoParser.o ./src/Storage/FileStore.o ./src/Storage/MassStorage.o ./src/ObjectModel/ObjectModel.o ./src/Networking/W5500Ethernet/Wiznet/Internet/DHCP/dhcp.o ./src/Networking/W5500Ethernet/Wiznet/Ethernet/W5500/w5500.o ./src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.o ./src/Networking/W5500Ethernet/Wiznet/Ethernet/socketlib.o ./src/Networking/W5500Ethernet/Wiznet/Ethernet/wizchip_conf.o ./src/Networking/W5500Ethernet/W5500Interface.o ./src/Networking/W5500Ethernet/W5500Socket.o ./src/Networking/ESP8266WiFi/WiFiInterface.o ./src/Networking/ESP8266WiFi/WiFiSocket.o ./src/Networking/ESP8266WiFi/WifiFirmwareUploader.o ./src/Networking/FirmwareUpdater.o ./src/Networking/FtpResponder.o ./src/Networking/HttpResponder.o ./src/Networking/Network.o ./src/Networking/NetworkBuffer.o ./src/Networking/NetworkResponder.o ./src/Networking/TelnetResponder.o ./src/Networking/UploadingNetworkResponder.o ./src/Movement/StepperDrivers/DriverMode.o ./src/Movement/StepperDrivers/TMC22xx.o ./src/Movement/StepperDrivers/TMC2660.o ./src/Movement/StepperDrivers/TMC51xx.o ./src/Movement/Kinematics/CoreKinematics.o ./src/Movement/Kinematics/HangprinterKinematics.o ./src/Movement/Kinematics/Kinematics.o ./src/Movement/Kinematics/LinearDeltaKinematics.o ./src/Movement/Kinematics/PolarKinematics.o ./src/Movement/Kinematics/RotaryDeltaKinematics.o ./src/Movement/Kinematics/ScaraKinematics.o ./src/Movement/Kinematics/ZLeadscrewKinematics.o ./src/Movement/BedProbing/Grid.o ./src/Movement/BedProbing/RandomProbePointSet.o ./src/Movement/DDA.o ./src/Movement/DDARing.o ./src/Movement/DriveMovement.o ./src/Movement/Move.o ./src/Movement/StepTimer.o ./src/Libraries/sha1/sha1.o ./src/Libraries/Fatfs/diskio.o ./src/Libraries/Fatfs/fattime_rtc.o ./src/Libraries/Fatfs/ff.o ./src/Libraries/Fatfs/ffunicode.o ./src/Heating/Sensors/CpuTemperatureSensor.o ./src/Heating/Sensors/CurrentLoopTemperatureSensor.o ./src/Heating/Sensors/DhtSensor.o ./src/Heating/Sensors/RtdSensor31865.o ./src/Heating/Sensors/SpiTemperatureSensor.o ./src/Heating/Sensors/TemperatureSensor.o ./src/Heating/Sensors/Thermistor.o ./src/Heating/Sensors/ThermocoupleSensor31855.o ./src/Heating/Sensors/ThermocoupleSensor31856.o ./src/Heating/Sensors/TmcDriverTemperatureSensor.o ./src/Heating/FOPDT.o ./src/Heating/Heat.o ./src/Heating/HeaterProtection.o ./src/Heating/Pid.o ./src/Heating/TemperatureError.o ./src/GCodes/GCodeBuffer.o ./src/GCodes/GCodeInput.o ./src/GCodes/GCodeMachineState.o ./src/GCodes/GCodeQueue.o ./src/GCodes/GCodes.o ./src/GCodes/GCodes2.o ./src/GCodes/GCodes3.o ./src/GCodes/RestorePoint.o ./src/FilamentMonitors/Duet3DFilamentMonitor.o ./src/FilamentMonitors/FilamentMonitor.o ./src/FilamentMonitors/LaserFilamentMonitor.o ./src/FilamentMonitors/PulsedFilamentMonitor.o ./src/FilamentMonitors/RotatingMagnetFilamentMonitor.o ./src/FilamentMonitors/SimpleFilamentMonitor.o ./src/Fans/DotStarLed.o ./src/Fans/Fan.o ./src/Fans/Tacho.o ./src/DuetNG/DueXn.o ./src/DuetNG/SX1509.o ./src/Display/ST7920/glcd11x14.o ./src/Display/ST7920/glcd7x11.o ./src/Display/ST7920/lcd7920.o ./src/Display/Display.o ./src/Display/Menu.o ./src/Display/MenuItem.o ./src/Display/RotaryEncoder.o ./src/CAN/CanInterface.o ./src/CAN/CanMessageBuffer.o ./src/CAN/CanSender.o ./src/DmacManager.o ./src/IoPorts.o ./src/Logger.o ./src/OutputMemory.o ./src/Platform.o ./src/PortControl.o ./src/PrintMonitor.o ./src/RepRap.o ./src/RepRapFirmware.o ./src/Roland.o ./src/Scanner.o ./src/SoftTimer.o ./src/Spindle.o ./src/Tasks.o ./src/ZProbe.o ./src/ZProbeProgrammer.o -lCoreNG -lFreeRTOS -lRRFLibraries -Wl,--end-group -lm
      arm-none-eabi-gcc: error: C:\eclipse\Firmware/CoreNG/SAM4E8E_RTOS/cores/arduino/syscalls.o: No such file or directory
      makefile:69: recipe for target 'Duet2CombinedFirmware.elf' failed
      make: *** [Duet2CombinedFirmware.elf] Error 1
      "make -j8 all" terminated with exit code 2. Build might be incomplete.

      13:09:44 Build Failed. 2 errors, 0 warnings. (took 13s.779ms)

      I checked the path for syscalls.o and the file exists in the directory.

      posted in Firmware installation
      NR12
      NR12