-
Older Activity
-
Yesterday, 11:55 PM
@luni
Since it looked like it was hanging I added @Frank B's hardfault mod to core to see what we got and sure enough:
Hardfault.
Return Address: 0x2A41F0E8
(IACCVIOL) Instruction Access Violation
Not sure...
3 replies | 62 view(s)
-
Yesterday, 11:21 PM
Ok a couple things going to be discussed in this post.
@luni
Was working on you changes to the lib but for some reason, either the T4 is hanging or the timers are not starting. I successfully compiled and loaded...
3 replies | 62 view(s)
-
Yesterday, 07:06 PM
https://forum.pjrc.com/threads/57842-Future-Teensy-features-amp-pinout/page11
4 replies | 131 view(s)
-
Yesterday, 03:15 PM
@Concombre
When you say it doesn't work want do you mean - what sketch did you use? Which version of the LittleFS library are you using - the one that came with Teensyduino?
61 replies | 3019 view(s)
-
Yesterday, 02:57 PM
Congratulations Paul!
Now you can breathe a sigh of relief after all the challenges with getting the bootloader working for the IMXRT1062. As @defragster said now fun begins with doing the documentation. Think you...
113 replies | 13173 view(s)
-
Yesterday, 02:51 PM
Well ran a test this morning and the train has departed: https://forum.pjrc.com/threads/65956-DCC-for-Model-Train-Control-with-Teensy-3-x-and-Teensy-4-x !
Am planning to redo what I did to use a Teensy specific...
253 replies | 14697 view(s)
-
Yesterday, 02:46 PM
Decided to port the CommandStation-EX (https://github.com/DCC-EX/CommandStat...) library that currently only supports Arduino Mega and Arduino Uno boards to the Teensy T3.x and Teensy 4.x (https://www.pjrc.com/teensy/)...
3 replies | 62 view(s)
-
Yesterday, 12:18 AM
@luni
I did a kludge to DCCWaveform.cpp to use the IntervalTImer for T3.x and GPT for T4.1. I just did a test with the arduino motor shield with a T3.5 and hook up a LogicAnalzer to pin2 power and pin 12 (signal) and...
253 replies | 14697 view(s)
-
01-25-2021, 10:04 PM
Afternoon all - just got back to the computer. Thanks for getting it resolved it was driving me nuts since there was only one place I could find that had EEProm.h directly called out. Everything was referencing back...
7 replies | 105 view(s)
-
01-25-2021, 07:32 PM
@KurtE
Have no ideas beyond what I documented with testing on flash chips. It perplexing. Not sure you are ever going to get a 100% solution. From testing with your previous version without buffers it would only get...
637 replies | 58049 view(s)
-
01-25-2021, 06:15 PM
Afternoon all
Working on a new project that I described in this post: https://forum.pjrc.com/threads/59112-TeensyTimerTool?p=267831&viewfull=1#post267831 which is basically porting CommandStation-EX...
7 replies | 105 view(s)
-
01-25-2021, 05:57 PM
Just a quick update. Think I got the timers sorted out with your help and using a slightly different branch that uses simplified timers. Having other issues but not with timers which going to post to a separate thread.
253 replies | 14697 view(s)
-
01-25-2021, 12:03 AM
@luni
Almost got it to compile for the T4x using TeensyTimerTool but stuck getting this error:
C:\Users\Merli\AppData\Local\Temp\arduino_build_376992\sketch\DCCWaveform.cpp: In static member function 'static void...
253 replies | 14697 view(s)
-
01-24-2021, 07:38 PM
Unfortunately no - only compiles on Mega or Uno (assuming I download another lib). Was just starting to do modifications and trying to understand the timers before I started hacking. I didn't notice the pre-scalers...
253 replies | 14697 view(s)
-
01-24-2021, 06:47 PM
@luni
If you want to give it a try have fun. I already have a interface made up to control the track switches using a RA8875 and a Adafruit Motor shield so any help would be appreciated.
I was actually going to...
253 replies | 14697 view(s)
-
01-24-2021, 04:26 PM
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 Arduino Mega and Arduino...
253 replies | 14697 view(s)
-
01-24-2021, 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. ...
19 replies | 362 view(s)
-
01-23-2021, 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.
113 replies | 13173 view(s)
-
01-23-2021, 07:58 PM
Think DIN should go to 7 and DOUT to pin 8.
2 replies | 62 view(s)
-
01-23-2021, 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...
19 replies | 362 view(s)
-
01-23-2021, 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?
113 replies | 13173 view(s)
-
01-23-2021, 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"...
113 replies | 13173 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 | 833 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.
19 replies | 362 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 | 833 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 | 288 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 | 288 view(s)
-
01-19-2021, 06:29 PM
Ditto to what @KurtE said and congratulations - sounds like the finish line is in site!
113 replies | 13173 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...
637 replies | 58049 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 | 20475 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...
637 replies | 58049 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...
637 replies | 58049 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...
637 replies | 58049 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.
637 replies | 58049 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,...
189 replies | 11162 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...
189 replies | 11162 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 | 20475 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 | 20475 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 | 20475 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 | 20475 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 | 20475 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 | 20475 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 | 20475 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 | 20475 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...
637 replies | 58049 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...
637 replies | 58049 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.
...
637 replies | 58049 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 | 20475 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.
189 replies | 11162 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 | 20475 view(s)
-
01-13-2021, 10:43 AM
Very cool Frank - thanks for adding Hardfaults was a nice feature
189 replies | 11162 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"...
637 replies | 58049 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 | 20475 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...
61 replies | 3019 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 | 20475 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 | 20475 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 | 20475 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 | 20475 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...
637 replies | 58049 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 | 20475 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 | 20475 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...
637 replies | 58049 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...
637 replies | 58049 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.
637 replies | 58049 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...
637 replies | 58049 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...
637 replies | 58049 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 | 20475 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 | 435 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 | 435 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 | 435 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 | 435 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 | 435 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 | 861 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 | 20475 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 | 861 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 | 615 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 | 20475 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 | 615 view(s)
-
01-07-2021, 03:35 PM
Yeah - know the feeling. Glad its working for you.
30 replies | 861 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 | 615 view(s)
-
01-07-2021, 02:23 PM
Cool glad thats all it was.
10 replies | 171 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 | 861 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 | 861 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 | 615 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 | 171 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 | 171 view(s)
-
01-06-2021, 01:21 PM
@KurtE
Looks like we cross posted :)
10 replies | 171 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 | 171 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 | 615 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 | 615 view(s)