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

    tstone

    @tstone

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

    tstone Unfollow Follow

    Latest posts made by tstone

    • RE: PWM on duet 0.6

      Thanks for the link to schematics. I wasn't aware of these.

      Nevertheless i am somehow more confused about the virtual pin numbering.
      As far as i have figured out is that:
      AnalogOut(99 ,0.5,(uint16_t)60000); //pc6 - expansion pin 18
      should configure pin pc6 which is on pin 18 of the expansion port with a 60kHz pwm.
      Which doesn't seem to happen when called at the end of Platform::Init?

      posted in Firmware developers
      tstoneundefined
      tstone
    • RE: Support for MAX6675

      Yes, i know that its an older version, anyhow the board with a newer chip is not working for me. I guess the hardware is defective. So i reverted back to this board i happed to have. I think it is nice to have these options.

      The code and maintenance overhead is not so high and even if the chip is old its still possible to buy boards with this chip?

      posted in Firmware developers
      tstoneundefined
      tstone
    • PWM on duet 0.6

      I am a little confused about the pin output of the duet 0.6 expansion. I thought that pin A10 is pin 64 is PA14 is expansion pin 10. But doing a:
      AnalogOut(A10,0.5,(uint16_t)120000);
      in Platform::Init does not create any output on expansion pin 10?
      I am using the information from
      https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins .

      posted in Firmware developers
      tstoneundefined
      tstone
    • Support for MAX6675

      I have just written a small class to support the MAX6675. Any interest on upstreaming?

      This is currently only tested on a pretty dated duet 0.6. But that's all hardware i have available.

      Currently i am not sure which virtual pin to use. 175 is just after the other thermistors but it does not fit into 50 spacing row?

      posted in Firmware developers
      tstoneundefined
      tstone
    • RE: Duet 0.6 build firmware

      While i am happy with the build. There seem to be strange issues with the openocd debugger. It seems as if reset it not working properly or probably the watchdog is biting me. Is there a way to disable the watchdog?

      Also it seems as if M42 does create any pwm output on the good old duet 0.6 board?
      E.g. i can switch the pin with M42 P60 S1/M42 P60 S0. But trying to output a PWM with "M42 P60 S0.5 F60000" fails?

      posted in Firmware developers
      tstoneundefined
      tstone
    • RE: Duet 0.6 build firmware

      @dc42 said in Duet 0.6 build firmware:

      What JTAG or SWD interface hardware are you using?

      I am using a ST-Link V2 with an Adafruit Cortex SMD adapter.
      Dev branch of openocd with the following config:

      source [find interface/stlink.cfg]
      set CPUTAPID 0x2ba01477
      source [find target/at91sam3XXX.cfg]

      It seems flashing is not working as expected...
      But flashing my built firmware with bossac worked. 🙂
      After that it seems i can can debug with this setup:
      Remote debugging using :3333
      0x000aa6b0 in FilamentMonitor::Spin() ()
      (gdb) bt
      #0 0x000aa6b0 in FilamentMonitor::Spin() ()
      #1 0x000be218 in RepRap::Spin() [clone .part.0] ()
      #2 0x000c1148 in AppMain ()
      looks reasonable...

      I get strange readings from my attached thermocouple board, but i guess that's a topic for a different thread.

      posted in Firmware developers
      tstoneundefined
      tstone
    • RE: Duet 0.6 build firmware

      Thanks @dc42
      RepRapFirmware dev
      CoreNG v2.05.2
      RRFLibraries master
      seemed to match much better 🙂
      I have a binary now.
      OpenOCD also seems to work with this board...

      posted in Firmware developers
      tstoneundefined
      tstone
    • Duet 0.6 build firmware

      Hi

      I have a two old duet 0.6 board which i intended to build a printer with. The project stalled but i really would like to extend the firmware. I tried building the firmware on debian but it seems as if
      RepRapFirmware-2.05.1, DuetNg-1.19 and RRFLibrary 435dc8f4f314c1376db2c9eb97005618a0b65cb1 don't really fit together?

      I really want to experiment and extend the FW and so downloading binaries is not what i want in the first place.

      Any idea what would be the best way to get the software compiled again?

      Also i would like to suggest to create a git repository with all the submodules where at least each release gets tagged versions as submodules. That makes it really easier to build the project.

      Best regards
      Tim

      PS: I just registered but there was an error in E-Mail confirmation page "Invalid Data There was a problem validating your email address. Perhaps the code was invalid or has expired.". But it seems i can post anyway.

      posted in Firmware developers
      tstoneundefined
      tstone