@KurtE
Thanks ... you know me can’t seem to avoid issues like this;)
Actually all you need is T4 and a LA on pins 3 and 12. On start you should see pin 3 low and the waveform on pin 12. That’s...
Type: Posts; User: mjs513
@KurtE
Thanks ... you know me can’t seem to avoid issues like this;)
Actually all you need is T4 and a LA on pins 3 and 12. On start you should see pin 3 low and the waveform on pin 12. That’s...
@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...
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...
https://forum.pjrc.com/threads/57842-Future-Teensy-features-amp-pinout/page11
@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?
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...
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...
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...
@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...
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...
@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...
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...
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...
@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...
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...
@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...
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.