T
Reaction score
1

Latest activity Postings About

    • T
      TravisSmith reacted to AndyA's post in the thread Teensy 4.1 "dual boot" capability? with Like Like.
      And one further addition found due to it not working in a different system: If there is data coming in constantly on external interfaces you also need to disable all user space interrupts before rebooting. But not by using __disable_irq(). Post...
    • T
      TravisSmith reacted to AndyA's post in the thread Teensy 4.1 "dual boot" capability? with Like Like.
      One additional detail. Before jumping to the new application include the line SYST_CSR = 0; // turn off system tick For simple applications this isn't needed. But if your application includes ethernet support then it'll crash on startup without...
    • T
      Thank you so much for all the details, this should certainly get me to what I need. Really appreciate it, thanks again!
    • T
      @AndyA Thank you so much, this sounds like the perfect solution! I wonder if it could be further simplified by combining the bootloader app with one of the main images (probably the stripped down one) and just jumping to the other...
    • T
      A lot of work went into Teensy 4 getting programming times as close as possible to the flash chip's speed. ;)
    • T
      For an application as large as yours, I think buffering in PSRAM would be the fastest. I did a test, and the time to read SD and write to PSRAM is 5 seconds (compare to 20 to write to a flash buffer). The reduction of 15 seconds corresponds...
    • T
      Thank you much for the testing/confirmation. My app was 2,177,024 bytes, and I measured 43s for the move and 30 for the erase. We're definitely in the same ballpark. Would be interested to hear if you find a way to move more towards the 13...
    • T
      Hmmm... My implementation is taking about 20 sec to parse/write the hex file from SD (a little over 2MB of code data after parsing), however, the copy/erase portion takes another 73 seconds(!) I've always thought that was a lot, but I'm using...
    • T
      That's basically what I'm currently doing, and have borrowed (with credit given) from this lib extensively for easy flash update capability. :) What I primarily don't like about this method is that it's very slow writing to flash, so the user...
    • T
      Interesting, thank you for the thoughts. That definitely sounds like a potential path, similar to what I meant by a 3rd image to make the decision at boot. It would just choose which image to load, very short. I'm a bit surprised if this hasn't...
    • T
      Hi all- I have a project with two FW options and would prefer to be able to execute either one at startup, probably based on an "EEPROM" (upper flash) byte setting. They will both fit in the flash together, no problem there. In fact, I'm...
    • T
      I was hoping to use the ACR122U NFC Reader Writer. For the short term I'm using a PN532/CH340 combination via USBSerial host, which works OK for low level communications. That might be fine for my app, but it's not available as a nice off-the...
    • T
      Been a while on this thread, but thought I'd give it a shot... I have a similar application where I'd like to host a USB NFC card reader via a Teensy 4.1 host port. Were you able to get this going, and is there any code released? Thank you!
  • Loading…
  • Loading…
Back
Top