-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ftp file transfer does not work - ESP3D V3.0 #923
Comments
Did you followed FTP client configuration instruction to allow only one connection at once ? |
Please share your ESP3D configuration.h
How did you formated the SD ? |
The configuration file: I designed and made a shield for the ESP32 D1 mini. It contains a FST3257 chip, which switches the SPI lines, the other lines for the SDIO mode are hard wired. #823 I am currently testing the circuit. It works with SPI mode (SDFat library) but it isn't work with SDIO 1 bit and 4 bit mode. (This would be another topic..., maybe the 47k resistorvalues are to much, or the SD card does not support this mode, or switching between SPI and SDIO is not possible, I don't know yet...) |
About formating you should use this tool : http://esp3d.io/tools/sdtools/index.html I never tested WiSCP as FTP client only filezilla - I see you use default mode which use passive mode - I have tested using port 21 |
I formatted the SD card with the tool you recommended. |
As is see it, the SDIO interface has fixed pins, so my circuit does not support it. |
no it is customizable https://github.com/luc-github/ESP3D/blob/3.0/esp3d/src/modules/filesystem/sd/sdio_esp32.cpp#L105 |
I changed the 47k pullup resistors to 10k, beacuse 10k is recommended, but the ESP3D doesn't see the SD card in SDIO mode. |
SDIO is working with the ESP32CAM I have |
I have just tested on esp32 board with SPI SD using filezilla and WinSCP and no issue so far I used direct SD as I do not have your hardware but it should be transparent with shared SD So Issue is with shared SD or your hardware implementation of sharing SD |
I'm tired today, I'll continue tomorrow... |
Do you use Visual Studio Code or Arduino? |
Visual Studio Code with PIO |
I have just updated to release ESP32 core 2.0.8 (PIO 6.2.0) and still ok |
Can you please build and send me the firmware.bin file? Thanks in advance! If that doesn't help either, I have to order another ESP module and SD card module... |
I do not build binary sorry - if I start to do, everyone will ask for it, so I do not do. About your issue I do not see how change SD Card reader or ESP board would solve your issue, unless basic script is not working, but it would be limited to SD Card reader eventually if basic script is not working not esp board I suggest you to test your hardware first will basic scripts to validate their capabilities and basic features |
I did some tests. I hooked up a SD card slot directly to the ESP32 module. SDFat is ok: It is interesting that the FTP transfer speed is slower. SDIO: I think that this issue can be closed, because it is not related to the SW. |
So issue is with your sharing board ? About speed it may depend of files size also - I forget the performances with FTP TBH, I know webserver is not good on esp32 but webdav which does not rely on webserver multipart parsing is better : #576 I close issue then - good luck in your investigations |
Hello Luc, I was interested in why the ESP3D V3.0 does not see the SD card via SDIO, and did a little search on the internet. I want to share my experiences... The D2 and the D12 pins have special features, if they are pulled up for example by the pullup resistors of the SD card, the programming and booting of the ESP32 are unsuccessful. This caused me a lot headache... https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/tutorials/io_mux.html I tested the SDIO upload speed in the browser, which is not as fast as I expected before compared to SPI: ESP32: Interestingly the upload speed is faster on ESP8266: In all cases the SD card, its formatting and the transferred file was the same (3,62MB). The SD_DETECT_PIN was used to detect the SD card. Without this the SDIO speed was ~6 times slower. For me, the FTP does not work at all with SDIO. About my sharing board... |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The ftp file transfer does not work, neither the upload nor the download.
I tried it with admin user and without authentication.
In the feature request #383 it was mentioned that file transfer via ftp is faster compared to the browser. I was curious, I wanted to try it.
Upload:
After reconnecting:
Download:
[ESP420]
chip id: 10338
CPU Freq: 240Mhz
CPU Temp: 62.8C
free mem: 175.96 KB
SDK: v4.4.3
flash size: 4.00 MB
size for update: 1.25 MB
FS type: LittleFS
FS usage: 104.00 KB/1.37 MB
baud: 115200
sleep mode: none
wifi: ON
hostname: esp3d
HTTP port: 80
Telnet port: 23
WebDav port: 8181
Ftp ports: 21,20,55600
sta: ON
mac: 94:E6:86:3B:62:28
SSID: DIGI-XKH8
signal: 98%
phy mode: 11n
channel: 11
ip mode: dhcp
ip: 192.168.100.50
gw: 192.168.100.1
msk: 255.255.255.0
DNS: 192.168.100.1
ap: OFF
mac: 94:E6:86:3B:62:29
i-time: ON
serial: ON
authentication: ON
M117: ON
notification: ON (none)
sd: shared (SDFat - 2.1.2)
SD updater: ON
Target Fw: marlin
FW ver: 3.0.0.a225
FW arch: ESP32
Hardwer: ESP32 D1 mini
The text was updated successfully, but these errors were encountered: