Hi All,
If there are more interests in this kind of T41 Email Client, I can write or port certain library to T4.1 and QNEthernet / NativeEthernet / Ethernet_Generic W5x00.
No commitment yet, just to put in bucket...
@wwatson,
You can also try using the original doRetrieve() (without availableForWrite()) for WiFiNINA
We've already fixed the WiFiNINA_Generic Cilent write() function, and hope it's OK to use now
#if...
@wwatson,
I guess you found out the bug when we convert to use WiFiNINA.
The availableForWrite() is defined in QNEthernet, Ethernet_Generic libraries, etc.
But in WiFiNINA + Teensy 4.1, it's still a virtual...
Hi @mjs513
It seems that the issue is wider than expected while using Adafruit WiFiNINA.
Can you check, test to see if this is an SPI conflict / bad SPI-related design (seen with many SD cards) by using SPI1/SPI2...
@mjs513,
It seems that there is some severe issue when using T4.1 + Featherwing + even Adafruit WiFiNINA; now you have to check if we still have the same issue with any other board you have (SAMD, nRF52, RP2040,...
I've some simple tests here and :
1. WiFiNINA and WiFiNINA_Generic are working OK with Nano_33_IoT and Nano_RP2040_Connect (using arduino-pico core) running WiFiWebServer. Using mbed_rp2040 core =>...
HI @mjs513
That's good news. As I suspect, the xfer bug affects 2-ways in WiFiNINA. We already fixed just 1-way, now still have to find out and fix the other way.
Sorry, have no time now. Can you use...
HI @wwatson,
You can also help test using WiFiNINA_Generic with Featherwing, just by modifying file WiFiNINA_Pinout_Generic.h, line #368-381
to
#if defined(__IMXRT1062__)
// For Teensy 4.x
...
Hi @wwatson
Thanks for the code. It'll take some time later to merge the Adafruit WiFiNINA to WiFiNINA_Generic library, as I currently don't have the Featherwing to test.
To test the new mod, which fixes the file...
Hi @wwatson
Could you please post the code or make a PR to add WiFiNINA support to FTP_Server_Teensy41, so that we can save duplication and time.
I'll try to have a look to see if there is any more bug when...
Hi @mjs513
I suggest you first try using another known-working FTP Server, such as VSFTP, ftpd, or FTP_Server_Teensy41 to be sure your Adafruit Featherwing board is working OK (hardware, nina-fw, etc). Then moving on...
Testing OK with FTP_Server_Teensy41
Starting FTP_Server_SDFAT2 on TEENSY 4.1 with QNEthernet
FTP_Server_Teensy41 v1.1.0
Initializing SD card...
Wiring is correct and a card is present.
Card type: SDHC
HI All,
Please use the new WiFiNINA_Generic releases v1.8.14-5
I've been testing many times and still uploading OK, without losing data.
Will update the forked WiFiNINA later, if necessary.
---
This is the directory listing, showing correct octocat.jpg file size of 51695 bytes, after running FTPClient_UploadImage example. The server is VSFTP on RPi
pi@raspberrypi-02:/home/ftp_test $ ls -la
total 80...
Hi All,
Wow, I just found out and fixed the bug in WiFiNINA + WiFiNINA_Generic libraries. Already tested OK using Nano_RP2040_Connect with FTPClient_Generic.
The very bad bug affects sending TCP data...
Hi @wwatson
The new FTP_Server_Teensy41 releases v1.1.0 has just been published. Your contribution is noted in Contributions and Thanks
Best Regards,
---
Releases v1.1.0
Try the new FTPClient_Generic releases v1.2.0,which is supporting the vsftpd Server using in Linux, Ubuntu, Raspberry Pi, etc. now.
The following is debug terminal output when running example FTPClient_UploadImage...
Hi @xslippy
The new FTPClient_Generic releases v1.1.0 has just been published.
Please test and report any issue, using the new examples in QNEthernet
Be sure to use another Teensy 4.1 with QNEthernet using...
Hi,
It seems that you're using MagJack Kit with either QNEthernet or NativeEthernet. The code you're using is designed for only W5x00.
I'm sorry the current version v1.0.0 is not supporting QNEthernet or...
FTPClient_Generic Library
How To Install Using Arduino Library Manager
Features
This FTPClient_Generic Library is a simple yet complete FTP Client library for AVR, mega-AVR, Portenta_H7, Teensy, SAM DUE,...
I'm in the process of porting / rewriting the new FTPClient_Generic, to support all boards (including Teensy, Portenta, SAMD, RP2040, etc), using Ethernet, WiFi.
I'll publish the new library within several days.
...
EthernetWebServer
Releases v2.2.0
1. Add support to SPI1, SPI2 for Teensy using W5x00 with Ethernet_Generic library
2. Add support to custom SPI for Mbed RP2040, Portenta-H7, etc. using W5x00 with...
Try to use my Ethernet_Generic or EthernetWebServer library
I'm using here OK, without any pull-up resistor, for either Teensy4.0 or Teensy4.1
Starting AdvancedWebServer on TEENSY 4.1 with W5x00 using...