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

    Posts made by sdavi

    • RE: Good practices to be memory efficient in firmware?

      @jazbaatbadalgaye I think the clue is in this line you posted above:

      dm->bin[index]++;
      

      assuming "dm" above is a DriveMovement object, that means the "bin" array is also defined within the DriveMovement class. RRF creates a whole pool of DM objects initially, and looking at Move.h, this is going to be 83 or 125 depending on which board you are using.

      So on a duet2, with a "bin" array size of 40, this would end up requiring an additional 13,280 bytes

      posted in Firmware developers
      sdaviundefined
      sdavi
    • RE: Quest: Duet2Wifi + SBC without ESPectomy. Possible - yes!

      @bearer said in Quest: Duet2Wifi + SBC without ESPectomy. Possible?:

      oh that firmware, that does make more sense, and a lot simpler. will try!
      (but CH_PD/EN is still hardwired to ESP_3.3VIN, maybe reset is enough)

      Interestingly, someone posted some tests on pin states in various modes including held in reset over here: https://www.mjt.me.uk/posts/esp8266-gpio-deep-sleep-and-reset/

      posted in Beta Firmware
      sdaviundefined
      sdavi
    • RE: DuetWiFiServer upload to generic ESP8266

      @fythios DuetWifiServer uses SPI to communicate with the main board and in the LPC port this is assumed to be connected to SSP0.

      posted in General Discussion
      sdaviundefined
      sdavi
    • RE: New firmware 3.01-RC2 available

      @dc42 I came across a minor issue in 3.01RC2 (tested on DuetWifi). The gcode line numbers do not reset each time M32 is run, so a gcode file that contains conditional gcode errors will display the incorrect line number if it's not the first one run since reset.

      posted in Beta Firmware
      sdaviundefined
      sdavi
    • RE: Output buffers running out

      @dc42 btw there is a missing buf->whenQueued = millis(); in OutputBuffer::Allocate. Probably more a issue only affecting the LPC port due to the smaller UART ringbuffer, but was causing some buffers to incorrectly timeout.

      posted in General Discussion
      sdaviundefined
      sdavi