Morning @KurtE
Know what you mean. Last night was playing your send_object_large branch and playing around with buffer sizes. Unfortunately couldn't get it to work with NANDs for large files. ...
Type: Posts; User: mjs513
Morning @KurtE
Know what you mean. Last night was playing your send_object_large branch and playing around with buffer sizes. Unfortunately couldn't get it to work with NANDs for large files. ...
Right now LittleFS does not support the Macronix MX25L12835F chip it only supports the following based on the table in the .cpp file:
{{0xEF, 0x40, 0x15}, 24, 256, 4096, 2097152, 3000, 400000},...
Ok will stop playing on this end. I did put a T4.1 with 8Mb PSRAM but the 512, 1G, and 2G files failed to transfer any of the PDF files and essentially disconnected the flash drives from windows to...
@KurtE = Good Sunday Morning.
Well been testing on a T4.0 and a T4.1 with No PSRAM chips installed. Didn't sink in last night you were using PSRAM last night. Was doing some more testing this...
Just gave the updated branch a try with the NAND 1G chip on SPI, figured that would be the slowest transfers. Couldn't seem to transfer a PDF over 2MB to the chip. However, restoring back to...
Fully understandable - don't get distracted at this point sounds like you are almost there with the bootloader. As you said think you are going to make a lot of folks happy when the bootloader...
#1 I think is along the same lines as was done in MTP in the storage class:
uint32_t addFilesystem(FS &fs, const char *name) {return sd_addFilesystem(fs, name);}
........
uint32_t...
Well I started playing with the wavFilePlayer code but run into a problem how to handle pointing the to constructor for each type of FLASH (QSPI, SPI, FRAM) in the play_sd_xxx files in the audio...
@Frank B
Now that I know LittleFS works with LC I started looking at wavPlayer sketch. Think a few files are going to have modified especially play_sd_wav.cpp
Ok figured out the problem and its not LittleFS. Problem is just running out of memory within the sketch. There are a few array of 2048 and while by itself is not bad, add that with the sketch size...
Another data point. Just ran my bench sketch for read/write and that seemed to work except totalSize is returning 0!
LittleFS Test...
Not nice :(. That was with SerialFlash not LittleFS. LittleFS seems to be having a problem with LC.
MOrning @KurtE
A bit. Hate leaving things hanging so I had to finish off the BBM stuff (not much more I can do on that) and test the LC I just remembered. Going to do a few more tests just in case
Teensy LC Issue with LittleFS
@Frank B asked about if we did any testing with Teensy LC (https://forum.pjrc.com/threads/64592-Teensyduino-1-54-Beta-5?p=266527&viewfull=1#post266527) so I hooked up...
Ok just pushed the last update to plusNAND as well @Paul 's LittleFS library.
I added support for Bad Block Management (BBM) for the M02. As I said before its not turned on (didn't send the...
@PaulStoffregen - @defragster - @KurtE
In regards to BBM on the W25N02 I contacted Winbond to see if it was an error in the datasheet for the N02. Well, I got back an answer today and basically...
Afternoon now for me. So afternoon. Oh man - frustrating when internet is down - been there.
Ok saw where the case statement was missing. Added it in to MTP.cpp and that seems to resolve the...
Morning @KurtE - had my coffee now.
T3.5 and T3.6 both build with no errors. But unless I missed something I can not copy any files to the flash (n01 in this case). However, I can copy from the...
Ok think I am lost on what changes need to be made to the core - think I am behind on some things. Is your core files updated and which branch can I use to be even the MTP changes.
EDIT: Never...
@WMXZ
I have been using @KurtE's branch of MTP for testing so I left the 'd' in to test events - as a debug tool as you said.
At from me the answer is not to both - I do have a Teensy LC someplace but have to find what I did with it.
@defragster - @KurtE - @Paul
Just did a few more tests using the MPT-logger sketch just as a sanity check and see if I got any ECC errors well everything worked. The below is a table of chips...
Very cool Frank - thanks for adding Hardfaults was a nice feature
Just out of curiosity did you try it the way T3.x does it - probably should run a test to see if it works. Stay tuned
EDIT: You probably know this but getting usb event errors on compile for the...
@defragster - @KurtE
Pretty much what Kurt said - there is some sort of conflict but didn't spend much time tracking it down specifically as I just rewrote to get rid of I2S/DMA and use the MPU-9250...
Just as a heads up and by way of explanation of the libraries:
teensy41_extram - only used for direct writing to the PSRAM and is a bit out dated and really doesn't need to be used anymore. Do a...
Ok - reworked the mtp-logger example to just read data from MPU-9250 and store it on any of our flash chips, now it works no problem with the NAND on QSPI. Must be that conflict @KurtE mentioned. ...
Ok just wrote a simple test case that seems to be working - probably do better on next update but wanted to see if this was going to work and it did - so probably a conflict as you identified:
...
Morning - all mornings seem to be the same lately.
Yep - made sure of that. Right now I am in the process of putting together a basic logger using similar functions for creating...
@KurtE - @defragster
Still puzzling me about the problem with using the MTP logger. Wondering if there is some sort of issue with using DMA and/or I2S with QSPI NAND Flash? But funny thing is that...
@KurtE
Of course it would be nice to have a file creation or file modified date but as you said not sure how LittleFS supports that. I was reading that LFS has custom attributes that you can set...
@defragster - @KurtE
Decided to try to modify the MTP_logger example to work with the selected device for logging data. I tested SD, SPI, QSPI, and SPI NAND which all worked without an issue. ...
@KurtE = @defragster
Just pushed an update to plusNAND to bring LittleFS even with what I have updated for NAND. In the READ_BCC test case I added a quick test of the addbblut function - I think I...
Good Morning @KurtE
I finally got to download your latest updates and they seem to be working.
If I hit F5 on the PC they do show up.
The other commands seem to working as well I tried the 'd'...
@KurtE
Thanks Kurt for the info Kurt. Think the stuff for keep reading the data actually helped. If I remember right when I was using it I was able to transfer the 5Mb file. Maybe its worth...
Yep that's the latest. I did the push yesterday for the BBLUT stuff so not sure if you have those changes in your version.
@KurtE
Ok I did what I described in post #591. It recognized the N01 and N02 chips on the memory breakout board was able to create a directory and copy files up to 1.1Mb and the was able...
Morning @KurtE
See you have been busy again :)
Anyway so if I am reading your post right I should go ahead update the core with your changes: https://github.com/PaulStoffregen/cores/pull/532 and...
Took your advice and issued a PR (Updated for NAND/FeRAM.Fram and tweaks) for what we have so far.
That looks like my breakout board C that I tested successfully with the SPI.
Just for reference I am using the Bolderflight library with the 200 ns delays which is the PR that was referenced. ...
Just as a quick update I reconfigured BreakoutBoard D to use SPI1:
#define PIN_MISO1 1
#define PIN_MOSI1 26
#define PIN_SCK1 27
#define PIN_CS1 ...
Ok just got back to this. Unfortunately I deleted my original message before hitting save so this is just a summary. Tested with 4 different breakout boards:
Breakout Board A: DOA both for I2C...
Don't think the problem is with Teensy as @WMXZ stated. Believe there is a problem with SPI implementation with the library.
As a quick and dirty test for SPI with the MPU-9250 I updated an old...
Just tried a couple things moved it over to SPI and used CS = 10.
See failure to correctly who I am register - getting 112 instead of 113/115. There is already a delaynanoseconds(200) with...
Great - another data point. Just hooked up my DFRobot BMP388 to a Teensy 4.0 and its working without a problem. Just got it last night but was distracted with LittleFS again.
EDIT: Think I put...
@KurtE - @defragster -@PaulStoffregen
Just pushed a change up to the repository for W25N01G NAND flash to support Bad Block Management. I brought it to the point of actually writing the Table. A...
As you probably noticed LadyAda requested a PR for them to evaluate so I just sent them a PR: https://github.com/adafruit/Adafruit_BMP3XX/pull/14.
EDIT: Quick up the Adafruit Library has been...
@KurtE
Totally a loss at this point. Something definitely odd going on. For my Flash QSPI tests I used a kludged setup where I solder wires from the Flash pad to a set of headers for the flash...
First the W25Q16JV-DTR is a NOR Flash chip, yes I know that the datasheet is silent on it but if you do a searching you will find that Mouser and Winbond shows it as a NOR flash. Second if you don't...
@KurtE
Ok - I am at a loss now especially since neither pass the teensy41_psram_memtest sketch. That should have worked.
Out of curiosity did you ever give it a try with our old (very old...