Morning all
Decided to start playing around with porting over the CommandStation-EX. CommandStation-EX (https://github.com/DCC-EX/CommandStation-EX) is a library that currently only supports...
Type: Posts; User: mjs513
Morning all
Decided to start playing around with porting over the CommandStation-EX. CommandStation-EX (https://github.com/DCC-EX/CommandStation-EX) is a library that currently only supports...
@Micki
Not sure what line 13/14 is but problem these 2 lines:
Encoder knobLeft(5, 6);
Encoder knobRight(7, 8);
If you are using a Teensy 4.x then all digital pins should be able to be used...
Thanks Paul. Understand now.
Sorry for the double question really didn't notice that in the thread otherwise wouldn't have asked.
Think DIN should go to 7 and DOUT to pin 8.
Think this may help you out: https://www.pjrc.com/teensy/td_libs_Encoder.html in understanding how the encoder library works.
If all you are getting in 0s and 1s it sounds like you are only...
Does this also mean you are going to be updating the bootloader for the T4.x in the future with some of these changes to fix the issues you found?
WOW Paul - a lot of work to get the bootloader chip working for the T4. Very frustrating that the whole problem was the LED issue! Think they use to call it a sneak circuit :) As @defragster said...
If I remember our testing correctly with temp and tempMon() it would hang before PANIC temp was reached, at least when we tested with the display attached. If was if some other part of the chip...
@Micki - you don't have multiple encoder libraries installed? Like one in your libraries folder and another in the Teensyduino folder. Your sketch compiled fine for me with no issue unlike what you...
I know we did some testing of chip temperature while overclocking and using a ILI9341 display. The test sketch we used was demo_sauce so overclocking shouldn't affect the display driver/SPI.
Just as added info I went to the Windows APP store for the Arduino and noticed several things:
1. IDE Release date is 9/15/2016 so not 100% sure the version you downloaded is 1.8.13 you should...
While you did a clean install of Arduino 1.8.13 you didn't install the Teensyduino which provides the cores and libraries for Teensy boards. Teensyduino can be obtained from:...
Ditto to what @KurtE said and congratulations - sounds like the finish line is in site!
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...