Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: simple FTP Server EthernetEnc #32118
    yingele
    Participant

      thank you Renzo, I’ll give it a try.

      Tim

      in reply to: simple FTP Server EthernetEnc #32101
      yingele
      Participant

        Hi Renzo,

        I am trying to make use of this nice library of yours. My particular interest is in ENC28J60 variant for ESP32 (example ESP32_FFAT_enc28j60).

        It compiles all right, connects to the network (via DHCP), initializes FFAT filesystem successfully, but crashes at ftpSrv.begin(“user”,”password”).

        I tried running this on ESP32C6 and ESP32S3 with the same result. ENC28J60 works fine on its own. Also, your WiFi based sketch works fine. It’s just this ENC device…

        Below is the decoded backtrace from ESP32S3. Is this something you could look into and (hopefully) fix? Or am I doing something wrong? I did see your comment in FtpServerKey.h (line 65) regarding Ethernet.h, but esp32 core 3 already has it right.

        thank you very much,
        Tim

        assert failed: xQueueSemaphoreTake queue.c:1709 (( pxQueue ))

        0x420353ca: dhcp_discover at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4\dhcp.c:1127
        0x42024036: rmt_set_intr_priority_to_group at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_driver_rmt/src\rmt_common.c:252
        0x42035909: dhcp_recv at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4\dhcp.c:1926
        0x4203595a: dhcp_recv at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4\dhcp.c:1967
        0x42022fd5: is in nvs::Page::readItem(unsigned char, nvs::ItemType, char const*, void*, unsigned int, unsigned char, nvs::VerOffset) (/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_page.cpp:251).
        0x4200d146: _GLOBAL__sub_I_Serial0() at C:\Users\yingele\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\cores\esp32\HardwareSerial.cpp:616
        0x4200d20c: is in IPAddress::IPAddress(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char) (C:\Users\yingele\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\cores\esp32\IPAddress.cpp:60).
        0x42007cef: FtpServer::processCommand() at c:\Users\yingele\Documents\Arduino\libraries\SimpleFTPServer\FtpServer.cpp:709
        0x4200323e: uip_process at c:\Users\yingele\Documents\Arduino\libraries\EthernetENC\src\utility\uip.c:1474
        0x42010d27: uartBegin at C:\Users\yingele\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\cores\esp32\esp32-hal-uart.c:465

      Viewing 2 posts - 1 through 2 (of 2 total)