Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • mjs513's Avatar
    Today, 04:55 AM
    Too bad about getting some of the Timelib stuff into the core. Y2038: you all made me look up what the 2038 problem is, made interesting reading. But from what I read the implementation was to convert to 64bit...
    50 replies | 1123 view(s)
  • mjs513's Avatar
    Yesterday, 10:12 PM
    We used both together before without any issue so maybe try reflowing the soldering on that PSRAM. And sorry misunderstood.
    5 replies | 83 view(s)
  • mjs513's Avatar
    Yesterday, 10:03 PM
    Hi Paul - sorry got a bit distracted today. As @KurtE said just let us know which way you feel comfortable with.
    50 replies | 1123 view(s)
  • mjs513's Avatar
    Yesterday, 09:33 PM
    Definitely can be done. The W25N01 is supported is that slot using LittleFS. There are a examples in the LittleFS library that should help guide you. In addition the Readme of the LittleFS Teensy library:...
    5 replies | 83 view(s)
  • mjs513's Avatar
    Yesterday, 06:17 PM
    Actually looked that the ESP8266 (https://github.com/esp8266/Arduino/blob/f9084603de5556b29281c8ca26576addc336806f/libraries/LittleFS/src/LittleFS.h) implementation as well - the ESP32 core was much help. Was looking...
    50 replies | 1123 view(s)
  • mjs513's Avatar
    Yesterday, 05:15 PM
    Here is a slightly updated test sketch for LittleFS. /* LittleFS usuage from the LittleFS library Starting with Teensyduino 1.54, support for LittleFS has been added. LittleFS is a wrapper for the...
    50 replies | 1123 view(s)
  • mjs513's Avatar
    Yesterday, 05:02 PM
    Yep I agree. Just replaced Teensy3Clock.get() with now() in LittleFS and its working. Did find I forget to change the modified when you rename a file so added that in. going to push those changes up now.
    50 replies | 1123 view(s)
  • mjs513's Avatar
    Yesterday, 03:06 PM
    Just pushed an update to the FS_Integration branch (https://github.com/mjs513/LittleFS/tree/FS_Integration) that fixes the issue with timestamps on file dates in subdirectories.
    50 replies | 1123 view(s)
  • mjs513's Avatar
    Yesterday, 02:56 PM
    Well kind of. Using lfs_setattr we are storing the modified timestamp and the created timestamp using the TimeLibraries timeelement structure. time_t _now = now(); rcode = lfs_getattr(&lfs, filepath, 'c',...
    50 replies | 1123 view(s)
  • mjs513's Avatar
    Yesterday, 02:16 PM
    If you just want to try it with LittleFS I modified the LFS_Usage test sketch to print file/directory timestamps. /* LittleFS usuage from the LittleFS library Starting with Teensyduino 1.54, support for...
    50 replies | 1123 view(s)
  • mjs513's Avatar
    09-21-2021, 09:17 PM
    Also make sure you have Teensy 4.0 select from the Boards menu drop down.
    3 replies | 114 view(s)
  • mjs513's Avatar
    09-21-2021, 03:15 PM
    I do agree with you UAVCAN is a bit confusing and it got more confusing as time progressed as least with the version I was using. Be interesting to see your implementation of the CAN Aersospace and Arinc 825
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-21-2021, 03:10 PM
    LittleFS Now Supports File Creation and Modification Dates/Times As noted in Post #2 we used the custom attributes (lfs_setattr and lfs_getattr) to assign file create and modification dates. Dates are stored in...
    50 replies | 1123 view(s)
  • mjs513's Avatar
    09-21-2021, 11:04 AM
    Looking good from what I see, but I am still on my first cup of coffee. :)
    20 replies | 664 view(s)
  • mjs513's Avatar
    09-21-2021, 10:59 AM
    Haven't looked in a few years but if are you referring to UAVcan or CANAerospace. Did a port of UAVCan to the T3.x's about 3 years ago but kind of left it by the wayside, they were making the implementation a bit more...
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-20-2021, 10:36 PM
    Thanks for the info Brian. Wondering if its an issue with the connector have to see if I can jury rig something up if I can find my D-sub connectors - have a couple around. Probably easier just to buy a couple.
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-20-2021, 01:34 AM
    Out of curiosity what kind of cane are you using and what sensor.
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-19-2021, 11:11 PM
    Ditto from me as well. I only hit it once or twice as well. Did just have one thing happen when I hit PGM button one right after another. 1st did the upload second lock the T4 with only the Orange LED on and had to...
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-19-2021, 12:02 PM
    Got it. Just to close the SerialMonitor test out got to 2,844,425,876 before stopping. And just a side note in @brtaylor test sketch he had a delay(10) between prints. Did some experimenting and it seems the minimum...
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-19-2021, 11:31 AM
    Got it thanks. By the way is there any other way you want us to test Serial monitor to make sure its working? Usb-lines/sec seem to be a good job of stressing. :)
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-19-2021, 11:06 AM
    @Paul - @defragster Been running both sketches now for about 6 hours and still seems to be working on a Windows10x64 i7-8700K. usb lines per second count=940,733,502, lines/sec=503292 Test Sketch:
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-19-2021, 05:05 AM
    Couldn't sleep and saw your message so figured might as well test it out. Set up 2 T4's, one locked and 1 unlocked. Running the original tempMon sketch on one and the usb lines per second sketch. As at defragster...
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-18-2021, 10:42 PM
    Yep tested it a littler while ago - works with FASTER but not FASTEST - didn't try the other settings.
    35 replies | 1120 view(s)
  • mjs513's Avatar
    09-18-2021, 09:30 PM
    I don't have a T4.1 with a NAND chip soldered on the bottom but I do have a QSPI test board that I put together to test the different chips that could go on via QSPI. Ran your test sketch with a NAND chip (M02) and it...
    35 replies | 1120 view(s)
  • mjs513's Avatar
    09-18-2021, 09:01 PM
    Nice work. Very cool example using all the features of the Input/Display board. During beta testing I only played with the display using @KurtE's ILI9341 library and like you found the inverted display requirement....
    2 replies | 115 view(s)
  • mjs513's Avatar
    09-18-2021, 05:45 PM
    Thanks for letting us know what the original hard freeze resolution was. Have to keep that one in the back of the mind.
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-18-2021, 04:55 PM
    Just as a data point - with me it was a second or two (didn't measure but was quick) running the USB test. With the original test sketch -yep ran about that amount of time.
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-18-2021, 03:51 PM
    Yep figured a good point to do that so have 2 data points win 10 and win11
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-18-2021, 12:26 PM
    @Paul Out of curiosity I ran the usb_serial_print_speed sketch. ... ... count=10037586, lines/sec=0 count=10037587, lines/sec=0 count=10037588, lines/sec=0 count=10037589, lines/sec=0 cou <---- Stalls here
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-18-2021, 02:37 AM
    Think the issue actually goes back to the T4 beta testing days. It was first identified in this post: https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=213179&viewfull=1#post213179 and isolated to...
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-17-2021, 12:19 AM
    @defragster If I remember right the issue boils down to the SerMon implementation that is part of the current Arduino IDE 1.8.xxxx. Just as a hunch I downloaded IDE 2.0 just to test the Serial Monitor which is a...
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-16-2021, 03:27 PM
    posted this on the other thread (https://forum.pjrc.com/threads/68199-Teensy-4-1-Lockup?p=288611&viewfull=1#post288611) but may be more appropriate here.
    35 replies | 1120 view(s)
  • mjs513's Avatar
    09-16-2021, 11:45 AM
    As @defragster mentioned that depending on the crash crashreport will give you a means to find where the error is but if you are loosing the Serial Port and the T4.1 doesn't restart then it won't help much. I just...
    60 replies | 1141 view(s)
  • mjs513's Avatar
    09-15-2021, 04:47 PM
    Ditto to what @KurtE just said. Fantastic job especially considering all the moving pieces you had to deal with !!!!! Ran a couple of things and all seem like they are working on a Windows10x64.
    35 replies | 1120 view(s)
  • mjs513's Avatar
    09-15-2021, 12:34 PM
    From my perspective don't think there is anything additional bugs - in other words nothing that hasn't already been identified
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-15-2021, 12:31 PM
    Decided to re-run CoreMark on a locked T4 just to see if there were any differences: Locked T4: 2313.57 Unlocked T4: 2313.57 No change but didn't really expect there to be.
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-15-2021, 11:38 AM
    A question - does the same thing happen if you are only using a single T4 locked. When I tried a T4.1 it reset no issue - tried a Locked T4 it gave me an error saying it can not reset and I had to power cycle the T4 to...
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-15-2021, 11:20 AM
    @defragster - did see this note on the tytools github page Which I think is what you are saying.
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-14-2021, 07:51 PM
    Thanks for the explanantion makes sense now. Still learning :)
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-14-2021, 02:39 PM
    I am assuming you mean by 'has a board online" that a teensy is hooked and powered up. Well, they are grayed out when the locked T4 is online (looked right after I uploaded a sketch. I can open a hex file no problem.
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-14-2021, 02:13 PM
    No particular reason for pin 7. Think that was just where we had hooked up at time. Easy enough to make the change. EDIT: PR issued to update to pin6 for spi examples.
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-14-2021, 01:39 PM
    Open Hex File Button seems to available but if I go to operation "Reboot" and "Program" seem to be grayed out - not sure thats normal (grayed out even if auto is unselected)
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-13-2021, 10:07 PM
    PR issued, https://github.com/PaulStoffregen/LittleFS/pull/27, changing the comment to "usage". But primarily the PR was issued to update keyword.txt to add "LittleFS_SPINAND" and "LittleFS_QPINAND" to the list. ...
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-13-2021, 06:57 PM
    Wouldn't worry too much about LittleFS @KurtE and I have been testing the heck out of it while testing MTP. Think the only thing we haven't tested was QSPI since we have been primarily using the Locked T4. Tested...
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-13-2021, 03:56 PM
    @KurtE Just made the changed and on my locked T4 shows even better: 344 CrashReport: A problem occurred at (system time) 11:53:50 Code was executing from address 0x88 CFSR: 82 (DACCVIOL) Data Access...
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-13-2021, 01:20 PM
    Went back to the Beta1 thread and found @KurtE's initial timing timing test: https://forum.pjrc.com/threads/67989-Teensyduino-1-55-Beta-1?p=288241&viewfull=1#post288241, which shows it was 1011ms. Only thing not 100%...
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-13-2021, 01:03 PM
    Just ran it here on my Win10x64 machine and got very similar results: With USB type of Serial = 412 With USB Type of: MTP Disk (experimental) = 6048 This is on a locked T4 with the latest updates.
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-13-2021, 11:39 AM
    @Paul As @defragster said Last night and this morning I tried to fault the Locked T4 doing successive uploads of Tim's code4code sketch and then hitting the pgm button a couple of times in between to reload the...
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-12-2021, 10:05 PM
    Something different - went to install TD but gave me an error that it could upload to the folder. Checked in Task Manager and had 2 copies of Teensy_reboot.exe still running. Once closed it installed without an issue....
    60 replies | 1548 view(s)
  • mjs513's Avatar
    09-12-2021, 08:46 PM
    Been exercising the locked T4 with LittleFS and SD (non MTP tests) without any issues (didn't expect any) just testing if any upload issues. Had a stalled upload once today, non-double LED, just seemed to sit on upload...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-12-2021, 07:51 PM
    Short answer yep about 1.5mins Memory Usage on Teensy 4.0: FLASH: code:1002292, data:326520, headers:8528 free for files:694276 RAM1: variables:90976, code:39320, padding:26216 free for local...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-12-2021, 10:35 AM
    Ok thanks for the reminder. I did just run it and seemed to take less than 5 seconds or so from when TeensySize was printed. Curious about the slowness as well. Never did a timing comparison from before 1.55 to...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-12-2021, 12:05 AM
    I had thought that the windows pop up was showing the file that was loaded - oh well. As to your question about the 1MB file - not sure which one that was but the ones I used to test with the upload time after teensy...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-11-2021, 10:00 PM
    @Paul - @defragster - @KurtE Just noticed something off (maybe this is intentional) but when using the Locked T4 I noticed that the TL window shows the hex name of the sketch at the bottom of the window but the...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-11-2021, 01:15 PM
    At least for me - no didn't have that patch in the core for beta2. Just added it and re-ran it with MTP.h included. It worked. Seemed to come up faster as well:
    425 replies | 9688 view(s)
  • mjs513's Avatar
    09-11-2021, 12:08 PM
    Just tried running the sketch with all the headers commented out except for MTP.h and using MTP Disk (Experimentatl) and crash report is not printing on a Win10x64 machine.
    425 replies | 9688 view(s)
  • mjs513's Avatar
    09-11-2021, 12:02 AM
    @KurtE - trying to catch up on things and since I have pretty much the same library configs as you do I ran your test sketch. Hit the enter and waited - closed the serial monitor and reopened it and CrashReport: A...
    425 replies | 9688 view(s)
  • mjs513's Avatar
    09-10-2021, 09:16 PM
    @Paul Finally after I don't know how many uploads I finally ran into the issue with the dual LEDs blinking on an upload with the Arduino IDE using the locked T4. As @defragster and @KurtE mentioned after maybe...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-09-2021, 07:47 PM
    As I said I am only using the Arduino IDE for uploads and only Tycommander for capturing serial data or multiple Teensies. Using the IDE I have uploaded sketches (mostly testing MTP and LittleFS and Temp) can't tell...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-09-2021, 07:36 PM
    @Paul Pretty much doing the same type of testing with the locked T4 as @KurtE with 1.55beta2 and not seen any issues with uploads. Tried to duplicate @KurtE's issue with the both LEDs flashing on pressing the PGM...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-09-2021, 11:32 AM
    Some added status on examples in the MTP library: Currently SD, LittleFS, UsbMSC, Cores FS-Integration branches are relatively stable (by relatively I mean we aren't making continuous changes to those libraries), MTP...
    50 replies | 1123 view(s)
  • mjs513's Avatar
    09-07-2021, 08:58 PM
    Out of curiosity wanted to try and compare temps apples to apples:
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-07-2021, 06:10 PM
    @Paul Been uploading one of our MTP test sketches that sets up drives for USB drive, SPI, Program, RAM and a external SD Card in order to work out some bugs. But the point of the post been pretty much abusing the...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-07-2021, 12:34 AM
    Doubt your temps are going to match mine - for one I am testing on a different breakout board that you. I am using the one I originally designed for the T4 during beta testing. As I said Temp isn't a problem even...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-07-2021, 12:29 AM
    @Paul Using the Arduino IDE must have uploaded 30 times or so sketches (maybe 4 different ones with the MTP one multiple times) with out: 1. Failure to load or TL busy messages. 2. RED led staying on 3. No hangs...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-07-2021, 12:13 AM
    Pretty much the same - you have a few extra's in there I think but the loop looks the same. See attached.
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-06-2021, 08:14 PM
    @defragster Re-ran my PrimeNumbers sketch as shown in the other thread and to compare the differences between 2 locked T4s: As shown almost the same results - both boards compared in my breakout board, room temp...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-06-2021, 08:08 PM
    Thanks for the explanation Paul - that clears that up that confusion I had in my head.
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-06-2021, 07:52 PM
    Is that the same for the Teensy Micromod - it has bootloader version 1.06 EDIT: Hope you got enough rest ...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-06-2021, 04:22 PM
    Confirmed on a locked T4 with b2 that program is erased on restart/power cycle when using 1472K and works when using 960k.
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-06-2021, 02:56 PM
    Starting with an unsecured T4 but lockable T4. 1. Verified that a normal sketch without any key.pem file in directory will upload 10:28:51.005 (loader): File...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-06-2021, 01:10 PM
    Updated FS.h, SD.h to include the addition of FS-dates as well as updating SDFat to MAINTAIN_FREE_CLUSTER_COUNT. Ran a test USB_MTP_Datalogger example that Kurt and I was working on to test memory sticks on the...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-06-2021, 12:46 PM
    Downloaded and installed TD1.55b2 into Arduino IDE 1.8.16 with no issues on a Windows 10x64 home edition PC. No bluescreen warnings for TD but did get for Arduino IDE since I install via zip but that was no issue. ...
    74 replies | 2684 view(s)
  • mjs513's Avatar
    09-05-2021, 12:44 AM
    @defragster Made a few corrections to the sketch: /** \brief Clean a D-Cache region \details Cleans D-Cache for the given address and size. \param addr address \param dsize size of memory block...
    68 replies | 1769 view(s)
  • mjs513's Avatar
    09-05-2021, 12:08 AM
    Out of curiosity I rewrote the above sketch to use 4 sets of buffers and 4 sets of pointers so you could do the comparison from the same sketch with out have to recycle power I also added Frank's method in post 30 ...
    68 replies | 1769 view(s)
  • mjs513's Avatar
    09-04-2021, 11:04 PM
    Fair warning going to show something and assumes I did it right. Also found that to test accurately you have to cycle the power otherwise gives you a false sense that it works. For instance if I run Kurt's example...
    68 replies | 1769 view(s)
  • mjs513's Avatar
    09-04-2021, 10:17 PM
    Somethings that caught my eye when looking up DCache functions especially the built in funtions. https://www.keil.com/pack/doc/CMSIS/Core/html/group__Dcache__functions__m7.html#gaf5585be5547cc60585d702a6129f4c17...
    68 replies | 1769 view(s)
  • mjs513's Avatar
    09-03-2021, 11:46 PM
    mjs513 replied to a thread Goodbye in General Discussion
    Frank From a personal perspective I really don't want to see you go. While maybe a lot of stuff goes over my head (mainly because I don't know what I am doing) I always learn stuff from your posts and assistance. ...
    14 replies | 1393 view(s)
  • mjs513's Avatar
    09-03-2021, 10:29 PM
    mjs513 replied to a thread Arduino 1.8.16 in General Discussion
    As Frank said that is good news. Hopefully - Arduino will cooperate and give you some additional time beyond the 6th :)
    7 replies | 595 view(s)
  • mjs513's Avatar
    09-03-2021, 10:03 AM
    mjs513 replied to a thread Arduino 1.8.16 in General Discussion
    Was wondering what happened - kept looking for it yesterday. So guess good news is have a few more days to prep.
    7 replies | 595 view(s)
  • mjs513's Avatar
    09-02-2021, 10:39 AM
    LittleFS RAM persistence is not something that seems particularly useful at least from my perspective. I really don't see a great need for it especially if you have flash available that can do that for you. Prefer to...
    425 replies | 9688 view(s)
  • mjs513's Avatar
    09-02-2021, 07:58 AM
    Not a problem - was watching backyard and front of the house flooding from IDA anyways. Just as a note I started adding the following test to example sketches for T4 and the 960K limit for the locked T4: // see if...
    425 replies | 9688 view(s)
  • mjs513's Avatar
    09-02-2021, 07:51 AM
    @KurtE mentioned that we have been making changes to simplify setting up MTP and adding in things like SD Card Detection as well as file dates and times. I have been testing with a T4.1 since we can then test with...
    425 replies | 9688 view(s)
  • mjs513's Avatar
    09-02-2021, 12:16 AM
    Will do it right now give me a bit while I remember what I did - seems like forever. But I think once we figure out about the 960 block it wasn't an issue but will try again to confirm. Locked T4 with 960blocks of...
    425 replies | 9688 view(s)
  • mjs513's Avatar
    09-01-2021, 11:34 PM
    Unfortunately no. Have all the updated FS files. I am using the fs-integration branch in my fork your repository. Can’t figure out how to push it to you Edit: yep watch Paul said.
    512 replies | 19372 view(s)
  • mjs513's Avatar
    09-01-2021, 10:02 PM
    If you look on the Teensy pinout page: https://www.pjrc.com/teensy/pinout.html, for Teensy 3.6 the card shows which pins are wire, wire1, wire2. In the case of the card Wire is marked as SCL/SDA, Wire1 is SCL1/SDA1 and...
    10 replies | 636 view(s)
  • mjs513's Avatar
    09-01-2021, 09:57 PM
    Just finished testing Date/Time when using LittleFS and MSC drives and it is working as well with any additional changes.
    91 replies | 1891 view(s)
  • mjs513's Avatar
    09-01-2021, 12:15 PM
    @wwatson Hope you are enjoying the begining of your vacation. Just tried running your DiskIOTest sketch with all the new stuff but getting some errors on FatTIme:...
    512 replies | 19372 view(s)
  • mjs513's Avatar
    09-01-2021, 01:30 AM
    :) Had all the changes in except the isOpen so was pretty quick to make the change and update. Just ran a quick mtp-test with USB Stick + QSPI + PRogram: Will test more in the morning.
    91 replies | 1891 view(s)
  • mjs513's Avatar
    09-01-2021, 01:01 AM
    Just made similar changes to mscFS.h that was made to LittleFS with a slight difference so was able to use MTP in conjunction with LittleFS (tested with SPI) and SD (used @KurtE SD-MTP_logger test case we have been...
    91 replies | 1891 view(s)
More Activity
About mjs513

Basic Information

About mjs513
Location:
New York
Interests:
Robotics, Image Processing
Occupation:
Aerospace Eng (Retired)

Statistics


Total Posts
Total Posts
7,439
Posts Per Day
2.81
Last Post
Teensyduino File System Integration, including MTP and MSC Today 04:55 AM
General Information
Last Activity
Today 05:11 AM
Join Date
07-01-2014