-
Older Activity
-
Today, 12:58 PM
@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 for the encoder pins. ...
13 replies | 182 view(s)
-
Yesterday, 08:02 PM
Thanks Paul. Understand now.
Sorry for the double question really didn't notice that in the thread otherwise wouldn't have asked.
106 replies | 12751 view(s)
-
Yesterday, 07:58 PM
Think DIN should go to 7 and DOUT to pin 8.
2 replies | 47 view(s)
-
Yesterday, 07:46 PM
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 registering on 1 of the...
13 replies | 182 view(s)
-
Yesterday, 02:21 PM
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?
106 replies | 12751 view(s)
-
Yesterday, 01:42 PM
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 "the fun never ends"...
106 replies | 12751 view(s)
-
01-22-2021, 09:53 PM
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 would fail before Panic...
31 replies | 817 view(s)
-
01-22-2021, 05:41 PM
@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 showed in post #1.
13 replies | 182 view(s)
-
01-22-2021, 04:45 PM
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.
31 replies | 817 view(s)
-
01-22-2021, 11:57 AM
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 double check by clicking...
16 replies | 274 view(s)
-
01-21-2021, 02:34 PM
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:...
16 replies | 274 view(s)
-
01-19-2021, 06:29 PM
Ditto to what @KurtE said and congratulations - sounds like the finish line is in site!
106 replies | 12751 view(s)
-
01-18-2021, 04:16 PM
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. Transfers would time...
632 replies | 57641 view(s)
-
01-17-2021, 04:45 PM
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}, // Winbond...
810 replies | 20186 view(s)
-
01-17-2021, 02:18 PM
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 where I had to power...
632 replies | 57641 view(s)
-
01-17-2021, 01:28 PM
@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 morning with the T4.0...
632 replies | 57641 view(s)
-
01-17-2021, 04:26 AM
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 mtp_events_merge branch...
632 replies | 57641 view(s)
-
01-17-2021, 04:05 AM
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 becomes available.
632 replies | 57641 view(s)
-
01-16-2021, 11:02 PM
#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 sd_addFilesystem(FS &fs,...
185 replies | 10523 view(s)
-
01-16-2021, 09:55 PM
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 library.
Right how SD...
185 replies | 10523 view(s)
-
01-16-2021, 03:50 PM
@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
810 replies | 20186 view(s)
-
01-16-2021, 03:42 PM
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 probably causing an...
810 replies | 20186 view(s)
-
01-16-2021, 02:50 PM
Another data point. Just ran my bench sketch for read/write and that seemed to work except totalSize is returning 0!
LittleFS Test...
810 replies | 20186 view(s)
-
01-16-2021, 02:45 PM
Not nice :(. That was with SerialFlash not LittleFS. LittleFS seems to be having a problem with LC.
810 replies | 20186 view(s)
-
01-16-2021, 02:44 PM
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
810 replies | 20186 view(s)
-
01-16-2021, 02:33 PM
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 a LC to the...
810 replies | 20186 view(s)
-
01-15-2021, 10:48 PM
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 command). Reason: Not...
810 replies | 20186 view(s)
-
01-13-2021, 06:22 PM
@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 its not supported:
...
810 replies | 20186 view(s)
-
01-13-2021, 05:09 PM
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 issue with copying and...
632 replies | 57641 view(s)
-
01-13-2021, 02:55 PM
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 flash to the...
632 replies | 57641 view(s)
-
01-13-2021, 02:12 PM
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 Mind figure it out.
...
632 replies | 57641 view(s)
-
01-13-2021, 01:48 PM
@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.
810 replies | 20186 view(s)
-
01-13-2021, 01:47 PM
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.
185 replies | 10523 view(s)
-
01-13-2021, 10:57 AM
@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 tested and whether they...
810 replies | 20186 view(s)
-
01-13-2021, 10:43 AM
Very cool Frank - thanks for adding Hardfaults was a nice feature
185 replies | 10523 view(s)
-
01-12-2021, 10:54 PM
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 T3.5"...
632 replies | 57641 view(s)
-
01-12-2021, 10:28 PM
@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 to get real data. ...
810 replies | 20186 view(s)
-
01-12-2021, 10:04 PM
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 search on EXTMEM there...
56 replies | 2872 view(s)
-
01-12-2021, 06:27 PM
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. If you want to play:...
810 replies | 20186 view(s)
-
01-12-2021, 02:20 PM
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:
Logger
Device ID:...
810 replies | 20186 view(s)
-
01-12-2021, 02:12 PM
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 files/directories and writing data....
810 replies | 20186 view(s)
-
01-12-2021, 01:34 PM
@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 it does work with...
810 replies | 20186 view(s)
-
01-12-2021, 01:58 AM
@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 and doing a search...
632 replies | 57641 view(s)
-
01-12-2021, 01:50 AM
@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. However, when I tried...
810 replies | 20186 view(s)
-
01-11-2021, 07:01 PM
@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 got it working...
810 replies | 20186 view(s)
-
01-11-2021, 01:12 PM
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' command and that...
632 replies | 57641 view(s)
-
01-10-2021, 06:28 PM
@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 putting back in at some...
632 replies | 57641 view(s)
-
01-10-2021, 05:02 PM
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.
632 replies | 57641 view(s)
-
01-10-2021, 05:01 PM
@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 open/delete them. However if...
632 replies | 57641 view(s)
-
01-10-2021, 04:01 PM
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 then use your...
632 replies | 57641 view(s)
-
01-10-2021, 03:00 PM
Took your advice and issued a PR (Updated for NAND/FeRAM.Fram and tweaks) for what we have so far.
810 replies | 20186 view(s)
-
01-10-2021, 01:37 PM
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. However, the standalone...
21 replies | 416 view(s)
-
01-10-2021, 01:45 AM
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 10 or 0
Again...
21 replies | 416 view(s)
-
01-10-2021, 01:19 AM
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 and SPI. Scanner...
21 replies | 416 view(s)
-
01-09-2021, 03:58 PM
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 test library I had...
21 replies | 416 view(s)
-
01-09-2021, 03:04 PM
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 beginTransactions. This...
21 replies | 416 view(s)
-
01-09-2021, 01:07 PM
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 back the delay(40)...
30 replies | 826 view(s)
-
01-09-2021, 11:47 AM
@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 little reluctant to...
810 replies | 20186 view(s)
-
01-09-2021, 04:11 AM
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 updated.
30 replies | 826 view(s)
-
01-08-2021, 01:42 PM
@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 chip and it seems to...
23 replies | 565 view(s)
-
01-07-2021, 07:56 PM
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 include the...
810 replies | 20186 view(s)
-
01-07-2021, 04:32 PM
@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 teensy41_extram library...
23 replies | 565 view(s)
-
01-07-2021, 03:35 PM
Yeah - know the feeling. Glad its working for you.
30 replies | 826 view(s)
-
01-07-2021, 02:32 PM
Saw that as well. Got lost after that as I couldn't visualize how sm_malloc was interfacing with PSRAM/FLEXSPI commands for read/write? Just didn't see the linkage between the two
23 replies | 565 view(s)
-
01-07-2021, 02:23 PM
Cool glad thats all it was.
10 replies | 155 view(s)
-
01-07-2021, 02:09 PM
Just as a quick follow up to yesterday's post I just tested the sketch on the Uno, Due, Mega and a Teensy 3.5 with the delay(40) removed and it seemed to work with an issue.
30 replies | 826 view(s)
-
01-06-2021, 10:37 PM
First you are not crazy. Received my BMP390 from Adafruit today and hooked it up to a Teensy 4.0 and got the same results that you showed in your post #13. Tried a couple of things but was failing but then I went to...
30 replies | 826 view(s)
-
01-06-2021, 06:37 PM
When I was looking at that yesterday it didn't make a lot of sense to me. Looked like in the configure function it tested the JEDEC (so that should be 2 reads) for each position of the ram. But then it just called off...
23 replies | 565 view(s)
-
01-06-2021, 06:35 PM
The pins look correct but as I mentioned are hooked up correctly to the Teensy 3.5
For SPI1:
sck -> pin 32
cs -> pin 31
miso -> pin 1
mosi -> pin 0
then of course you have:
#define RFM69_RST 24
10 replies | 155 view(s)
-
01-06-2021, 06:10 PM
Found my RF69HCW radio from Adafruit (https://www.adafruit.com/product/3070) and ran the sketch the modified rf69_tx_demo sketch that I mentioned but configured for SPI and I can't seem to duplicate your error about not...
10 replies | 155 view(s)
-
01-06-2021, 01:21 PM
@KurtE
Looks like we cross posted :)
10 replies | 155 view(s)
-
01-06-2021, 01:20 PM
Just taking a quick look at the examples and the lib for the RH_RF69 looks like you can specify SPI1 or SPI1 (default is SPI). For instance, from the rf69_tx_demo.ino in the Teensy example folder:
//For Teensy 3.x and...
10 replies | 155 view(s)
-
01-06-2021, 12:40 AM
Well, glad you found a potential issue but not good it a short on the castellated board. Hope you can get it fixed.
23 replies | 565 view(s)
-
01-05-2021, 02:39 PM
Morning @KurtE
Was just going through the thread and you new message popped up. Why back when when we did PSRAM as a standalone library after Paul gave us the starting code and Frank B expanded on it we were using the...
23 replies | 565 view(s)
-
01-05-2021, 01:31 PM
@defragster - @KurtE
Just pushed a minor change to the readECC function in the lib to correct an addressing issue that was bothering me. Yes I am feeling better now.
810 replies | 20186 view(s)
-
01-03-2021, 05:08 PM
Just catching up as been a bit out of it for several days. But I just ordered one from Adafruit and should be Tuesday afternoon.
30 replies | 826 view(s)
-
12-31-2020, 04:53 PM
You as well Frank and all my other friends and forum members!!
HAPPY NEW YEAR 2021
Stay safe and healthy :)
6 replies | 239 view(s)
-
12-31-2020, 04:38 PM
Great that is working and yep no more manual updates :)
34 replies | 5783 view(s)
-
12-31-2020, 02:04 PM
You all sound like you are having way too much fun with MTP :)
632 replies | 57641 view(s)
-
12-31-2020, 02:03 PM
Maybe not with Arduino 1.8.10 but definitely between Teensyduino versions. I just tested the sketch with 1.8.10 with TD 1.50 and didn't receive a compile error. So would recommend updating - besides a lot of things...
34 replies | 5783 view(s)
-
12-31-2020, 01:58 PM
Right now ECC is enabled but BBM is not enforced :) Basically right now it lets me know when I messed something up with devel code - when I see ECC errors I go check what I did. Right now its pretty stable.
810 replies | 20186 view(s)
-
12-31-2020, 01:50 PM
I just compiled the SimpleEncoder sketch on the T4.0 and the T4.1 and didn't receive any error messages from the library.
Right now I am using Arduino 1.8.13 with the Teensyduino 1.53- beta5. So really need a bit...
34 replies | 5783 view(s)
-
12-30-2020, 07:25 PM
thanks Kurt. Thats kind of what I was thinking as well but think its going to be Paul's call.
810 replies | 20186 view(s)
-
12-30-2020, 04:06 PM
@defragster - @KurtE
I think I figured out how ECC bad block management works for at least the W25N01 and probably the W25M02 (think I have to fix something with readBLUT function though - maybe). But makes it alot...
810 replies | 20186 view(s)
-
12-30-2020, 03:13 PM
Oops = forgot to push the button. Just did it now - LFSIntegrity PlusNAND branch. Thanks :)
810 replies | 20186 view(s)
-
12-30-2020, 03:03 PM
@defragster - @KurtE
Pushed a update to the NAND lib to fix a couple of bugs I have in readECC function (SPI and QSPI). Going to see what happens if I add an error to the BBLUT table and enable BBM. Going to take a...
810 replies | 20186 view(s)
-
12-30-2020, 11:20 AM
@defragster
Runs look good - just about matches what I saw on the standalone versions. Thanks for adding :)
810 replies | 20186 view(s)
-
12-30-2020, 11:18 AM
@KurtE = looking good. EF7020 - Winbond W25Q512JV*IM (DTR) from the list of FLASH chips :) Can't wait to see QSPI.
810 replies | 20186 view(s)