-
Older Activity
-
06-27-2022, 11:58 PM
@KurtE - Saw pretty much what @mjs513 saw.Serial monitor shows removal and insertion of SD card (built in) but the mount stayed mounted in the file explorer. This is using Ubuntu. As for USB it works flawlessly....
1313 replies | 62194 view(s)
-
06-18-2022, 08:56 PM
Your right the cast allows it to compile clean...
It will also compile and work with this:
myfile.write(""); // add a null byte to mark end of string
Or:
myfile.print("Just some test data written to the...
4 replies | 96 view(s)
-
06-18-2022, 07:55 PM
@KurtE - Thanks. I know there were changes. Just wanted to make sure:)
4 replies | 96 view(s)
-
06-18-2022, 04:20 PM
Was testing SdFat_Usage to see how to use the SdFat bytesPerSector() function and received this compile error:
SdFat_Usage: In function 'void setup()':
SdFat_Usage:122: error: call of overloaded 'write(char)' is...
4 replies | 96 view(s)
-
06-16-2022, 01:13 AM
@All - I found some good examples of lwext4 usage. This is the link:
https://github.com/autoas/as/tree/master/com/as.infrastructure/system/fs/vfs
Basically a virtual file system using lwext4. I just need to create a...
1313 replies | 62194 view(s)
-
06-14-2022, 12:37 AM
Burnt many a meal that way:)
1313 replies | 62194 view(s)
-
06-14-2022, 12:06 AM
I'm with you on that. That is why I like Mate as well. The regular Ubuntu desktop with the side bar is a little to busy for me...
1313 replies | 62194 view(s)
-
06-13-2022, 10:39 PM
@defragster - Your welcome. Curious to see if they work well. @KurtE - I am still putting the pieces of this puzzle together. It's really low level code. So far most of the basic file op's are there. Things like getting...
1313 replies | 62194 view(s)
-
06-12-2022, 08:58 PM
You will probably need to use a virtual Linux machine like mysys2 or mingw to format an SD card USB device to ext4 on Windows.
EDIT: Some free programs to format a device to ext4 in Windows:
...
1313 replies | 62194 view(s)
-
06-12-2022, 07:18 PM
I guess the next step is creating some sketches use the lwext4 filesystem API starting with a version of listfiles.ino. That is found in ext4.c.
1313 replies | 62194 view(s)
-
06-12-2022, 06:40 PM
Quick update to TeensyEXT4. It now supports SD cards formatted to ext4. To test SD card usage you will need to select one but not both of these lines:
parent_blockdev = ext4_usb_bd_get(); // uncomment for USB drive...
1313 replies | 62194 view(s)
-
06-12-2022, 04:09 PM
@All - I have pushed up the latest working version of TeensyEXT4 and updated the README.md file.
Here:
https://github.com/wwatson4506/TeensyEXT4
A few notes on this library.
1) It is a mix of C and C++. Most...
1313 replies | 62194 view(s)
-
06-12-2022, 01:12 AM
@KurtE, @mjs513 - I am getting close to pushing it up to GitHub. Just got finished testing multiple partitions and it's working:) I am still learning about ext4 and the way Linux uses it. It is interesting. I finally...
1313 replies | 62194 view(s)
-
06-11-2022, 06:35 PM
@All - With the recent changes to USBHost_t36 and being close to complete I decided to revisit TeensyEXT4. I went through it again and finally have it working with the T4.1:)
Here is some output:
Teensy EXT4 file...
1313 replies | 62194 view(s)
-
06-07-2022, 10:20 PM
Just tried myself with QPINAND and the MEM board. Both MP3 and WAV files play... I have not Updated the PLAY-All sketch yet with your changes above. Probably won't have time tonight as I am dealing with replacing a...
15 replies | 261 view(s)
-
06-06-2022, 10:40 PM
@mjs513 - Thanks for the update. I'll try it out tonight if I can get some time:)
15 replies | 261 view(s)
-
06-05-2022, 03:32 PM
@mjs513 - Your changes took care of the issue. installed the latest pre-release of the cores library and was able to consecutively play wav and mp3 files. Don't have any ogg, flac or raw files to test with at this...
15 replies | 261 view(s)
-
06-05-2022, 02:49 PM
I to am not that familiar with the Audio library:) I am setup to test so will modify the sketch and try out the changes...
15 replies | 261 view(s)
-
06-04-2022, 11:07 PM
I guess... I am not very familiar with the inner workings of the Audio library. The sketch above was developed by @mjs513 when a few of us were working with playing wav files with LittleFS and MSC. Fact is it did and...
15 replies | 261 view(s)
-
06-04-2022, 05:25 PM
Was testing playing both wav and mp3 files off of both SD and USB drives. For some reason only the mp3 files would play. Using Arduino 1.8.19 and TD1.57B1 and the latest cores from @KurtE's GitHub (06-03-22).
Also...
15 replies | 261 view(s)
-
06-01-2022, 05:00 PM
@Paul @KurtE @mjs513 - Spent a couple of hours converting DiskIOV3 to the new USBHost_T36 library. Only took a couple of hours:) This was using KurtE's latest branch so I could test with multiple partitions. Everything...
1313 replies | 62194 view(s)
-
05-30-2022, 02:01 PM
Thanks for testing. Will try out your changes today. At least it is working for now:)
171 replies | 2707 view(s)
-
05-30-2022, 12:47 AM
@ mjs513 - Well here they are:
Got SimpleFTPServer working as well. Just remember 'doRetrieve() and doStore()' are hacked as a workaround. In Filezilla with FTP_Server_T41 both passive and active modes work....
171 replies | 2707 view(s)
-
05-29-2022, 05:32 PM
Hi Mike,
Been working on this all week. Today I have everything working. But to get downloads from the T4.1 to the PC I had to do a hack. The problem is WiFiNINA is not setup to check if a transfer from the T4.1 has...
171 replies | 2707 view(s)
-
05-27-2022, 02:04 AM
Thank you:) I did see that it was defined as a virtual function. I am not very good with C++ as you can probably tell or C for that matter. I have run out of time tonight but will regroup this weekend and test...
...
171 replies | 2707 view(s)
-
05-27-2022, 12:02 AM
@mjs513 - @ khoih-prog - Something very peculiar going on. In doRetrieve() I have:
int spaceLeft = data.availableForWrite();
Did a complete grep of WiFiNINA for "availableForWrite". It was not found. Where is it...
171 replies | 2707 view(s)
-
05-26-2022, 02:07 AM
@mjs513 - @ khoih-prog Well did some more testing after work tonight and SPI is working with WiFiNINA and the T4.1. sendData() and getData() do not have a problem as they are also used for all other file operations with...
171 replies | 2707 view(s)
-
05-24-2022, 11:17 PM
@mjs513, @khoih-prog - Got everything setup in WiFiNINA_Generic as per p#147. Had the same result as Mike did. Connects but hangs waiting for the welcome message. We ran into this before and I will have to look back and...
171 replies | 2707 view(s)
-
05-24-2022, 10:26 PM
Just got home and have about an hour to setup and test. Will let you know how it turns out. Thanks for the info. Testing with the WiFiWebServer makes sense to isolate any hardware issues...
171 replies | 2707 view(s)
-
05-24-2022, 12:21 AM
Below are my versions of FTP_Server_Teensy41 and WiFiNINA. This was tested with a T4.1 and the Adafruit ESP32 Airlift Featherwing. With my hack to 'DoStore()' I am able upload large and small files to the T4.1. I know...
171 replies | 2707 view(s)
-
05-22-2022, 11:22 PM
Wow is right. I have spent the last two weekends working on FTP_Server_Teensy41 and WiFiNINA. The problem is with data.connected() always shows 1. Using the same library with QNEthernet would show data.connected() going...
171 replies | 2707 view(s)
-
05-20-2022, 01:56 AM
Alright, Went back to Native Ethernet and QNEthernet using FTP_Server_Teensy41 latest version and had no problems transferring files back and forth between the client and server using Filezilla and gFTP. All transfers...
171 replies | 2707 view(s)
-
05-19-2022, 10:17 PM
Thanks for the input> I am still learning this stuff:) What is the proper way to determine that the transfer is complete? Does the client close the connection?
171 replies | 2707 view(s)
-
05-19-2022, 01:27 AM
Sorry for a delayed reply. Down 4 people at work so not having to much time to play. I have however had moments to integrate WiFiNINA to FTP_Server_Teensy41. It works fine if not transferring files. From what I am...
171 replies | 2707 view(s)
-
05-16-2022, 12:36 AM
I have SimpleFTPServer so messed up I will have to start over with it. I think now that I have FTP_Server_Teensy41 working, I'll try to add WiFiNINA to it as a base to work from. It is easier to adapt to and debug. Use...
171 replies | 2707 view(s)
-
05-15-2022, 11:36 PM
@mjs513, @Khoih-prog - Was working with FTP_Server_Teensy41 today to try and figure out why I was only getting partial transfers when downloading from the T4.1 to the PC using gFTP or Filezilla. Turns out the failure...
171 replies | 2707 view(s)
-
05-14-2022, 07:42 PM
@Paul, @KurtE, @mjs513 - Decided to test the latest with USBhost_t36. I tested with TD1.57B1 first Paul's latest and then Kurt's latest. found no issues.
Here is output from Kurt's active branch of USBHost_t36....
1313 replies | 62194 view(s)
-
05-14-2022, 05:49 PM
@mjs513 - Decided to check out this version of FTPServer using QNEthernet on the the T4.1:
https://github.com/khoih-prog/FTP_Server_Teensy41
It works in passive mode but still has file transfer problems that we are...
171 replies | 2707 view(s)
-
05-13-2022, 03:26 AM
@mjs513 - I was able to get as far as you did. Noticed that uploading or downloading would create a file but the actual file did not transfer. File size was zero. Also used the basic ftp command to check out make and...
171 replies | 2707 view(s)
-
05-12-2022, 11:08 PM
Thanks Mike. It gets confusing at times:) To many variations on variations...
171 replies | 2707 view(s)
-
05-12-2022, 10:55 PM
I noticed that 'simpleFTPServer' was not included in p#117. Is your working version available?
171 replies | 2707 view(s)
-
05-12-2022, 11:35 AM
@mjs513 - That's great news:) Can't wait to try it out tonight. Nice job...
171 replies | 2707 view(s)
-
05-11-2022, 11:44 PM
I think now I have passive mode figured out. In the main sketch we have this in setup():
// ftpSrv.setCallback(_callback);
// ftpSrv.setTransferCallback(_transferCallback);
After commenting these out I...
171 replies | 2707 view(s)
-
05-11-2022, 09:59 PM
No I'm not. Only for uploading new firmware. I'm going to keep picking at it and see what I can come up with. I just wonder if it still has to do with the speed of the T4.1. From what the specs say SPI speed is 8MHz to...
171 replies | 2707 view(s)
-
05-11-2022, 01:38 AM
Was playing with this after work tonight. the server is really unstable. I can connect and get a directory listing and then change back and forth between directories. When I try to disconnect Filezilla the T4.1 locks up...
171 replies | 2707 view(s)
-
05-10-2022, 01:06 AM
@mjs513 - I zipped up everything that I have at this point that is working including the original Arduino FtpServer by Jean-Michel Gallego. I spent all of last Sunday modifying his latest version which finally led me to...
171 replies | 2707 view(s)
-
05-09-2022, 10:25 PM
I think it is the accept branch. One more thing that I did not remember yesterday Is that in the site manager you have to also set Active mode in the transfer tab.
Like This:
The leftmost icon on the menu bar...
171 replies | 2707 view(s)
-
05-09-2022, 12:31 AM
@mjs513 - Here is a screen shot of connection with Filezilla:
This is what I have with handleFTP():
uint8_t FtpServer::handleFTP() {
#ifdef FTP_ADDITIONAL_DEBUG
// int8_t data0 = data.status();
ftpTransfer...
171 replies | 2707 view(s)
-
05-08-2022, 11:46 PM
3.46.3. I noticed that you selected FTP->Active. Just click on FTP and you will see a bullet for 'Passive (recommended)' and below that you will see another bullet 'Active' click on the 'Active' bullet.
171 replies | 2707 view(s)
-
05-08-2022, 10:46 PM
@mjs513 - It's alive!!! In Filezilla I switched to active mode and got a directory listing.
This is what i saw on the Teensy side:
Connected to wswn
IP address: 192.168.0.113
SD opened!
NOT ANONYMOUS
wwatson
...
171 replies | 2707 view(s)
-
05-07-2022, 10:51 PM
I have done that a couple of times already. I really hate when I do that:) I had an FTP sever working with the ESP8266 and WifiSPI on the T3.6. I am going to find it (SOMEWHERE) and see if I can get some clues....
171 replies | 2707 view(s)
-
05-07-2022, 10:03 PM
@mjs513 - Here is what I have now:
Status: Connecting to 192.168.0.113:21...
Status: Connection established, waiting for welcome message...
Status: Plain FTP is insecure. Please switch to FTP over TLS....
171 replies | 2707 view(s)
-
05-07-2022, 09:20 PM
Have not tried with any other hardware. Just now got to the same point as @mjs513. I do have an Adafruit ESP32 Hazzah that I was trying to use with nina-1.7.4 but that did not work. Probably due to a possible difference...
171 replies | 2707 view(s)
-
05-07-2022, 07:56 PM
Yep. It looks like there are other things that need to be setup as well for SD info like file size and total size.
This is a link to the author of SimpleFTPServer web site that shows how to setup SimpleFTPServer:...
171 replies | 2707 view(s)
-
05-07-2022, 07:42 PM
I was using Adafruit's 1.7.4 version. I fork your Repo and try that. As far as the SD access goes I am getting these warnings:
/home/wwatson/Arduino/libraries/SimpleFTPServer/FtpServer.cpp: In member function 'bool...
171 replies | 2707 view(s)
-
05-07-2022, 06:42 PM
@mjs513 - Nice progress:) Better than what I am getting here. I have the firmware updated but am only getting _callback messages that you were getting before. Are you still working with SimpleFTPServer?
171 replies | 2707 view(s)
-
05-06-2022, 11:17 PM
@mjs513 - It's finally the weekend so I should have time to play more with this. At least things are progressing:) Also waiting for TD1.57B1...
I think there are still changes that will have to be made to the FTP...
171 replies | 2707 view(s)
-
05-06-2022, 12:38 AM
Mike - I tried changing the clock speed at first all the way down to 24 Mhz with no success. So tonight after work I came home and thought what is the biggest problem we have with super sonic T4.x, delays:) Now onto...
171 replies | 2707 view(s)
-
05-05-2022, 11:54 PM
@All - Got SerialESPPassthrough.ino working with the Adafruit Airlift Featherwing. Was able to upload NINA_W102-1.7.4.bin an it successfully ran the ScanNeworks.ino sketch:)
Boy do I feel silly. It was basically two...
171 replies | 2707 view(s)
-
05-05-2022, 04:00 AM
Well, I think maybe I'll start with the ESP32 sequence for putting it into upload mode. Then use a FTDI and bypass the Teensy passthrough with buttons or something. Need to research it:) The Teensy is so much easier to...
171 replies | 2707 view(s)
-
05-05-2022, 01:23 AM
@mjs513 - I have not got even close to what have done. Adafruit's instructions are nothing more than confusing. You really do not know what combinations of instructions to use. I think if you were using one of there...
171 replies | 2707 view(s)
-
05-04-2022, 12:40 AM
Thanks guy's. I have a FTDI device that is breadboard friendly I bought when playing with the propeller device from Parallax. I'll try that...
171 replies | 2707 view(s)
-
05-03-2022, 10:26 PM
@KurtE, mjs513 -From what I am seeing in Adafruits instructions for reflashing the Airlift Featherwing, you should be able to use a Teensy to upload the new firmware to the Airlift. If I am reading there instructions...
171 replies | 2707 view(s)
-
05-03-2022, 12:02 AM
To be honest, @mjs513 got further with it. Check posts #30 on. Nobody is an idiot:) They just need more information and time to gather that information. I usually don't have time during the week to play with this stuff....
171 replies | 2707 view(s)
-
05-02-2022, 11:43 PM
@All - As far as the sense codes go and that big list of names I have only seen one instance where I used it to discover that a PNY 64Gig thumb drive had magically write protected itself. It was the only time a sense...
568 replies | 36842 view(s)