Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. MikeGeppert
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 28
    • Best 0
    • Controversial 0
    • Groups 0

    MikeGeppert

    @MikeGeppert

    BSEE 1990 California State University Fresno
    Software Engineer For Bell Helicopter

    0
    Reputation
    1
    Profile views
    28
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Fort Worth Texas USA Age 60

    MikeGeppert Unfollow Follow

    Latest posts made by MikeGeppert

    • Firmware development and debugging setup help?

      How do you setup for Debugging the firmware on a Duet3 6HC?
      Using Eclipse I can build the Duet3_Debug target but did not find any clean way to get Eclipse to connect to a MPLAB ICD ICE.
      Can a GDB connection be used?

      My intent is to find out why some commands can use global variables just fine and other commands can not.
      Example: (First M557 is commented out is the one I would like to use)
      ; M557 X{(sensors.probes[0].offsets[0]+5)}:{(move.axes[0].max-sensors.probes[0].offsets[0]-5)} Y{(sensors.probes[0].offsets[1]+5)}:{(move.axes[1].max-sensors.probes[0].offsets[1]-5)} P5:5
      M557 X5:295 Y5:295 P5:5

      I also noted that simple "M557 X{5}:{295} Y{5}:{295} P5:5" did not work either.

      I was thinking to just lift the parser code out and run in a Linux processor with some BOOST test code but the thread of stuff to pull in became pretty big. I also saw that FreeRTOS has a port for running under Linux, that looked like fun, but we would need to stub the real time stuff. In this case I really dont care about sensors and motors so all that can just do nothing.

      Thanks,

      posted in Firmware developers
      MikeGeppertundefined
      MikeGeppert
    • RE: Error building RepRapFirmware 3.3-dev

      @dc42 said in Error building RepRapFirmware 3.3-dev:

      I suggest you install this https://xpack.github.io/windows-build-tools/ if you haven't already, then adjust your PATH so that the version of make.exe from that installation is picked up before any other. You can type "where make" at the Windows command prompt to find out where make is being fetched from.

      Yah... I tried several combinations (starting with the ones in the instructions) and finally gave up on Windows.

      I installed a Virtual Box with a Ubuntu distribution and got it all working. Just avoided the whole make/rm command line length issue all together.
      Thanks

      posted in Firmware developers
      MikeGeppertundefined
      MikeGeppert
    • RE: Error building RepRapFirmware 3.3-dev

      @dc42 said in Error building RepRapFirmware 3.3-dev:

      I suspect you are using a version of Make that doesn't handle long lines. There are some notes in the Build Instructions on this.

      For the "Instructions for Windows", step 3, Download and install GNU Arm Eclipse, the link is deprecated. There is a link that says "As of 2018-03-19 this project can be found here".

      Going to that link "GNU MCU Eclipse (formerly GNU ARM Eclipse)" claims it is also deprecated "DEPRECATED: as of 2020, the project was migrated to the Eclipse Foundation (https://github.com/eclipse-embed-cdt)"

      I then went to the Eclipse install software and check everything having to do with ARM. Get the exact same error.

      posted in Firmware developers
      MikeGeppertundefined
      MikeGeppert
    • RE: Error building RepRapFirmware 3.3-dev

      Thanks so much for your response.
      It sounds good, so I downloaded the tools again and made sure all the tools are on path. I noticed that the
      I even ran them from the DOS window and get the same thing.

      N:\GitHub\RepRapFirmware\Duet3>make Duet3Firmware_MB6HC.elf
      Building target: Duet3Firmware_MB6HC.elf
      Invoking: Cross G++ Linker
      arm-none-eabi-gcc ...
      <Really Long Make line>
      arm-none-eabi-gcc.exe: error: ./src/Endstops/E: No such file or directory
      makefile:93: recipe for target 'Duet3Firmware_MB6HC.elf' failed
      make: *** [Duet3Firmware_MB6HC.elf] Error 1

      N:\GitHub\RepRapFirmware\Duet3>which arm-none-eabi-gcc.exe
      /n/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin/arm-none-eabi-gcc.exe

      N:\GitHub\RepRapFirmware\Duet3>which make
      /n/Program Files/GNU ARM Eclipse/Build Tools/2.6-201507152002/bin/make

      N:\GitHub\RepRapFirmware\Duet3>

      posted in Firmware developers
      MikeGeppertundefined
      MikeGeppert
    • Error building RepRapFirmware 3.3-dev

      Building "Duet3" I get the following. Also tried to build "Duet3_Debug" it errors with "arm-none-eabi-gcc.exe: error: ./src/Fans/LocalFan.: No such file or directory".

      21:07:16 **** Incremental Build of configuration Duet3 for project RepRapFirmware ****
      make -j12 all
      Building target: Duet3Firmware_MB6HC.elf
      Invoking: Cross G++ Linker
      arm-none-eabi-gcc -L"N:\GitHub\CoreN2G\SAME70_CAN_SDHC_USB_RTOS" -L"N:\GitHub\RRFLibraries\SAME70_RTOS" -L"N:\GitHub\FreeRTOS\SAME70" -L"N:\GitHub\CANlib\SAME70_RTOS" --specs=nosys.specs -Os -Wl,--gc-sections -Wl,--fatal-warnings -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -T"N:\GitHub\RepRapFirmware\src\Hardware\SAME70\same70q20b_flash.ld" -Wl,-Map,"N:\GitHub\RepRapFirmware\Duet3/Duet3Firmware_MB6HC.map" -o "Duet3Firmware_MB6HC.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 ./src/libcpp/eh_alloc.o ./src/libcpp/vterminate.o ./src/libc/memcmp.o ./src/libc/memcpy.o ./src/libc/memmove.o ./src/libc/memset.o ./src/libc/nano-mallocr.o ./src/libc/strptime.o ./src/bossa/Applet.o ./src/bossa/BossaFlash.o ./src/bossa/Device.o ./src/bossa/EefcFlash.o ./src/bossa/Flasher.o ./src/bossa/Samba.o ./src/bossa/WordCopyApplet.o ./src/bossa/WordCopyArm.o ./src/Tools/Filament.o ./src/Tools/Spindle.o ./src/Tools/Tool.o ./src/Storage/CRC16.o ./src/Storage/CRC32.o ./src/Storage/FileInfoParser.o ./src/Storage/FileStore.o ./src/Storage/MassStorage.o ./src/ObjectModel/ObjectModel.o ./src/Networking/LwipEthernet/Lwip/src/netif/bridgeif.o ./src/Networking/LwipEthernet/Lwip/src/netif/bridgeif_fdb.o ./src/Networking/LwipEthernet/Lwip/src/netif/ethernet.o ./src/Networking/LwipEthernet/Lwip/src/netif/lowpan6.o ./src/Networking/LwipEthernet/Lwip/src/netif/lowpan6_ble.o ./src/Networking/LwipEthernet/Lwip/src/netif/lowpan6_common.o ./src/Networking/LwipEthernet/Lwip/src/netif/slipif.o ./src/Networking/LwipEthernet/Lwip/src/netif/zepif.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv6/dhcp6.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv6/ethip6.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv6/icmp6.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv6/inet6.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv6/ip6.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv6/ip6_addr.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv6/ip6_frag.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv6/mld6.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv6/nd6.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv4/autoip.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv4/dhcp.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv4/etharp.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv4/icmp.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv4/igmp.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv4/ip4.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv4/ip4_addr.o ./src/Networking/LwipEthernet/Lwip/src/core/ipv4/ip4_frag.o ./src/Networking/LwipEthernet/Lwip/src/core/altcp.o ./src/Networking/LwipEthernet/Lwip/src/core/altcp_alloc.o ./src/Networking/LwipEthernet/Lwip/src/core/altcp_tcp.o ./src/Networking/LwipEthernet/Lwip/src/core/def.o ./src/Networking/LwipEthernet/Lwip/src/core/dns.o ./src/Networking/LwipEthernet/Lwip/src/core/inet_chksum.o ./src/Networking/LwipEthernet/Lwip/src/core/init.o ./src/Networking/LwipEthernet/Lwip/src/core/ip.o ./src/Networking/LwipEthernet/Lwip/src/core/mem.o ./src/Networking/LwipEthernet/Lwip/src/core/memp.o ./src/Networking/LwipEthernet/Lwip/src/core/netif.o ./src/Networking/LwipEthernet/Lwip/src/core/pbuf.o ./src/Networking/LwipEthernet/Lwip/src/core/raw.o ./src/Networking/LwipEthernet/Lwip/src/core/stats.o ./src/Networking/LwipEthernet/Lwip/src/core/sys.o ./src/Networking/LwipEthernet/Lwip/src/core/tcp.o ./src/Networking/LwipEthernet/Lwip/src/core/tcp_in.o ./src/Networking/LwipEthernet/Lwip/src/core/tcp_out.o ./src/Networking/LwipEthernet/Lwip/src/core/timeouts.o ./src/Networking/LwipEthernet/Lwip/src/core/udp.o ./src/Networking/LwipEthernet/Lwip/src/apps/netbiosns/netbiosns.o ./src/Networking/LwipEthernet/Lwip/src/apps/mdns/mdns.o ./src/Networking/LwipEthernet/Lwip/src/api/api_lib.o ./src/Networking/LwipEthernet/Lwip/src/api/api_msg.o ./src/Networking/LwipEthernet/Lwip/src/api/err.o ./src/Networking/LwipEthernet/Lwip/src/api/if_api.o ./src/Networking/LwipEthernet/Lwip/src/api/netbuf.o ./src/Networking/LwipEthernet/Lwip/src/api/netdb.o ./src/Networking/LwipEthernet/Lwip/src/api/netifapi.o ./src/Networking/LwipEthernet/Lwip/src/api/sockets.o ./src/Networking/LwipEthernet/Lwip/src/api/tcpip.o ./src/Networking/LwipEthernet/GMAC/ethernet_sam.o ./src/Networking/LwipEthernet/LwipEthernetInterface.o ./src/Networking/LwipEthernet/LwipSocket.o ./src/Networking/FtpResponder.o ./src/Networking/HttpResponder.o ./src/Networking/Network.o ./src/Networking/NetworkBuffer.o ./src/Networking/NetworkInterface.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/FiveBarScaraKinematics.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/HeightControl/HeightController.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/RawMove.o ./src/Movement/StepTimer.o ./src/Movement/StraightProbeSettings.o ./src/Linux/DataTransfer.o ./src/Linux/LinuxInterface.o ./src/Libraries/sha1/sha1.o ./src/Libraries/sd_mmc/ctrl_access.o ./src/Libraries/sd_mmc/sd_mmc.o ./src/Libraries/sd_mmc/sd_mmc_mem.o ./src/Libraries/sd_mmc/sd_mmc_spi.o ./src/Libraries/Fatfs/diskio.o ./src/Libraries/Fatfs/fattime_rtc.o ./src/Libraries/Fatfs/ff.o ./src/Libraries/Fatfs/ffunicode.o ./src/InputMonitors/InputMonitor.o ./src/Heating/Sensors/AdditionalOutputSensor.o ./src/Heating/Sensors/CpuTemperatureSensor.o ./src/Heating/Sensors/CurrentLoopTemperatureSensor.o ./src/Heating/Sensors/DhtSensor.o ./src/Heating/Sensors/LinearAnalogSensor.o ./src/Heating/Sensors/RemoteSensor.o ./src/Heating/Sensors/RtdSensor31865.o ./src/Heating/Sensors/SensorWithPort.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/Heater.o ./src/Heating/HeaterMonitor.o ./src/Heating/LocalHeater.o ./src/Heating/RemoteHeater.o ./src/Heating/TemperatureError.o ./src/Hardware/SharedSpi/SharedSpiClient.o ./src/Hardware/SharedSpi/SharedSpiDevice.o ./src/Hardware/SAME70/Ethernet/ksz8081rna/ethernet_phy.o ./src/Hardware/SAME70/Ethernet/GmacInterface.o ./src/Hardware/SAME70/Devices.o ./src/Hardware/SAME70/Main.o ./src/Hardware/ExceptionHandlers.o ./src/Hardware/I2C.o ./src/Hardware/IoPorts.o ./src/Hardware/NonVolatileMemory.o ./src/Hardware/SoftwareReset.o ./src/GPIO/GpInPort.o ./src/GPIO/GpOutPort.o ./src/GCodes/GCodeBuffer/BinaryParser.o ./src/GCodes/GCodeBuffer/ExpressionParser.o ./src/GCodes/GCodeBuffer/GCodeBuffer.o ./src/GCodes/GCodeBuffer/StringParser.o ./src/GCodes/GCodeException.o ./src/GCodes/GCodeFileInfo.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/GCodes4.o ./src/GCodes/ObjectTracker.o ./src/GCodes/RestorePoint.o ./src/GCodes/Trigger.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/Fan.o ./src/Fans/FansManager.o ./src/Fans/LedStripDriver.o ./src/Fans/LocalFan.o ./src/Fans/RemoteFan.o ./src/Endstops/Endstop.o ./src/Endstops/EndstopsManager.o ./src/Endstops/LocalZProbe.o ./src/Endstops/RemoteZProbe.o ./src/Endstops/StallDetectionEndstop.o ./src/Endstops/SwitchEndstop.o ./src/Endstops/ZProbe.o ./src/Endstops/ZProbeEndstop.o ./src/Duet3_V06/Pins_Duet3_V06.o ./src/Comms/AuxDevice.o ./src/Comms/FirmwareUpdater.o ./src/Comms/PanelDueUpdater.o ./src/CAN/CanInterface.o ./src/CAN/CanMessageGenericConstructor.o ./src/CAN/CanMotion.o ./src/CAN/CommandProcessor.o ./src/CAN/ExpansionManager.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/Stream.o ./src/Tasks.o -lCoreN2G -lRRFLibraries -lFreeRTOS -lCANlib -lsupc++ -Wl,--end-group -lm
      arm-none-eabi-gcc.exe: error: ./src/Endstops/E: No such file or directory
      makefile:93: recipe for target 'Duet3Firmware_MB6HC.elf' failed
      make: *** [Duet3Firmware_MB6HC.elf] Error 1
      "make -j12 all" terminated with exit code 2. Build might be incomplete.

      21:07:20 Build Failed. 2 errors, 0 warnings. (took 4s.448ms)

      posted in Firmware developers
      MikeGeppertundefined
      MikeGeppert
    • RE: Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC

      @Phaedrux said in Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC:

      @MikeGeppert said in Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC:

      My homing macros try and set stealthchop and sensorless homing. To do that I have to cut the current to 30% using the M913 command. So if I cut to 80% at first in the config file, do I then cut to 80% * 30%? Then set back to 80% when done?

      This is exactly why I leave M906 as the full rated current and then adjust with M913. That way I know that M913 80 is 80% of rated. And 30% is 30% of rated. It's just more direct. No percentage of a percentage.

      Mathematically I want the 80%*30%. My intention was that once Variables get implemented I would make a MAX_MOTOR_LDO that has the 2000mA value. And another variable that would have the percentage MAX_RUN_PERCENT to be like 80%. Then set the M906 to the multiplication of the two. Then I can use percentages of that MAX_RUN_VALUE.

      posted in General Discussion
      MikeGeppertundefined
      MikeGeppert
    • RE: Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC

      @Phaedrux said in Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC:

      @MikeGeppert said in Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC:

      M906 X{20000.8} M906 Y{20000.8} M906 Z{20000.8} ;M906 E{10000.9} M906 U{1000*0.9}

      If you're trying to get percentages with this, just use M913 instead. I set my current to the rated max with M906 and then use M913 to set it to a percentage of that.

      My homing macros try and set stealthchop and sensorless homing. To do that I have to cut the current to 30% using the M913 command. So if I cut to 80% at first in the config file, do I then cut to 80% * 30%? Then set back to 80% when done?

      posted in General Discussion
      MikeGeppertundefined
      MikeGeppert
    • RE: Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC

      Thanks so much for the help!

      The original Config file now works with the one change:

      M906 X{20000.8}
      M906 Y{2000
      0.8}
      M906 Z{20000.8}
      ; M906 E{1000
      0.9} ; This seems to not work
      M906 E900
      ;M906 U{1000*0.9}

      posted in General Discussion
      MikeGeppertundefined
      MikeGeppert
    • RE: Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC

      @Phaedrux said in Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC:

      @MikeGeppert said in Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC:

      M906 X{20000.8} M906 Y{20000.8} M906 Z{20000.8} ;M906 E{10000.9} M906 U{1000*0.9}

      If you're trying to get percentages with this, just use M913 instead. I set my current to the rated max with M906 and then use M913 to set it to a percentage of that.

      One more note:
      M906 U{1000*0.9} ; Works

      posted in General Discussion
      MikeGeppertundefined
      MikeGeppert
    • RE: Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC

      @Phaedrux said in Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC:

      @MikeGeppert said in Extruder issues with 3.2-beta 3.2 - Duet 3 MB6HC:

      M906 X{20000.8} M906 Y{20000.8} M906 Z{20000.8} ;M906 E{10000.9} M906 U{1000*0.9}

      If you're trying to get percentages with this, just use M913 instead. I set my current to the rated max with M906 and then use M913 to set it to a percentage of that.

      I found the culprit:
      M906 E900 ; Works
      and
      M906 E{1000*0.9} ; Gives the issue.

      Interesting that these seem to work:
      M906 X{20000.8}
      M906 Y{2000
      0.8}
      M906 Z{2000*0.8}

      posted in General Discussion
      MikeGeppertundefined
      MikeGeppert