Search results

  1. TravisSmith

    Limit to FLASHMEM usage?

    Updated TD to 1.60b4, issue remains...
  2. TravisSmith

    Limit to FLASHMEM usage?

    I'm using 1.59 and the "Faster" optimization setting. Perhaps I should try the beta...
  3. TravisSmith

    Limit to FLASHMEM usage?

    I have a large project (Link) which uses FLASHMEM quite a lot to limit RAM usage. All has been fine with it previously, but it seems like I've crossed some limit/threshold in its usage.... With the last function I added (below), it doesn't give me any compile errors and memory (RAM1, 2, and...
  4. TravisSmith

    USBHost Bluetooth pairing with Mobile device

    No worries, just wanted to check, thank you!
  5. TravisSmith

    USBHost Bluetooth pairing with Mobile device

    Hi all- I have a project that would benefit from being able to send/receive serial data over a Teensy USB Hosted BT dongle, but looks like this is the closest anyone has come to doing that. Just wanted to express my interest and see if anyone has this type of setup communicating...
  6. TravisSmith

    Teensy 4.1 "dual boot" capability?

    Thank you so much for all the details, this should certainly get me to what I need. Really appreciate it, thanks again!
  7. TravisSmith

    Teensy 4.1 "dual boot" capability?

    @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 immediately after start if needed? I'm not sure if any of...
  8. TravisSmith

    Teensy 4.1 "dual boot" capability?

    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 second number! :) So, you can see why I started this...
  9. TravisSmith

    Teensy 4.1 "dual boot" capability?

    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 flash_move() exactly as it was written. Any...
  10. TravisSmith

    Teensy 4.1 "dual boot" capability?

    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 has to wait longer to switch. Also concerned about...
  11. TravisSmith

    Teensy 4.1 "dual boot" capability?

    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 been needed before by others? Seems like it could...
  12. TravisSmith

    Teensy 4.1 "dual boot" capability?

    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 doing that now and have code to copy the alt flash...
  13. TravisSmith

    Teensy 3.6/4.1 USB Support for CCID USB Card Readers

    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 shelf solution w/ enclosure.
  14. TravisSmith

    Teensy 3.6/4.1 USB Support for CCID USB Card Readers

    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!
  15. TravisSmith

    [queued] TeensyROM cartridge for Commodore64/128

    Keeping retro computers connected to the modern world thanks to the Teensy 4.1! TeensyROM is a ROM emulator, super fast loader, MIDI Host/Device and Internet interface cartridge for the Commodore 64 & 128 See design details, documentation, and more pics here...
  16. TravisSmith

    Faster way to read a single byte from Flash (or ext PSRAM)?

    Tried to edit the message, but not sure if it worked...
  17. TravisSmith

    Faster way to read a single byte from Flash (or ext PSRAM)?

    Had to try one more thing, toggling the trigger signal between setup/readback commands: digitalWriteFast(TriggerPin, HIGH); FLEXSPI2_IPCR0 = 0; //address in flash digitalWriteFast(TriggerPin, LOW); FLEXSPI2_IPCR1 = FLEXSPI_IPCR1_ISEQID(5); digitalWriteFast(TriggerPin, HIGH)...
  18. TravisSmith

    Faster way to read a single byte from Flash (or ext PSRAM)?

    Thanks for the ideas, and the location in the datasheet! :) Unfortunately it didn't help with my issue, but there were some interesting results... All testing was done with 132MHz SCLK and CPU speed of 816MHz. (code pasted below) My initial shots didn't include CS, so I added it to these...
  19. TravisSmith

    Faster way to read a single byte from Flash (or ext PSRAM)?

    You got it, somehow I missed that in my searching. Thanks! Unfortunately, yes, I have a similar application and am coming to the same conclusion. :( Even using the FlexSPI registers direct and clocking at 132MHz, I get this: I count 16 PSRAM clocks, which is close to my assumption of 14 for...
  20. TravisSmith

    Faster way to read a single byte from Flash (or ext PSRAM)?

    Hello all- I have a Teensy 4.1 project that would greatly benefit by being able to read a single byte of a >1MB array in the order of 200nS. Unfortunately, I can't squeeze enough space out of RAM, so I'm looking to read directly from the on-board flash (preferred since there's plenty) or...
  21. TravisSmith

    code to restart SD card if lost mechanical contact temporarily?

    I had a similar problem in that I wanted to be able to remove an SD card, edit some files, and place it back in to read without doing a reset. I did some searching and found that a root.close(); is needed in the lib to achieve this. It can be added to the begin() function as shown here, or as...
  22. TravisSmith

    Limits of delay effect in audio library

    Wanted to let folks know that I was able to successfully get 6ea CY15B104Qs on Franks memory board and can now delay/loop >35 seconds of audio! :) There were hurdles: * To solder the (wide) chips to the board I bent the leads under and soldered carefully. A scary proposition with these...
  23. TravisSmith

    Teensyduino 1.41 Beta #3

    Thanks Paul, that works. Didn't realize that pitch had its own handler... Thanks again!
  24. TravisSmith

    Teensyduino 1.41 Beta #3

    Hi Paul- I have a little USB MIDI keyboard I'm using for a project. It has decoders, pads, keys, and mod/pitch sliders. Everything works great except for the Pitch slider (the modulation one works fine). I've attached the debug log, hoping this is an easy fix. This isn't a new bug, but...
  25. TravisSmith

    Teensy 3.6 USB MIDI host development status

    Wow, thanks for the quick response and sorry for my slow one. Confirmed, this fixes the issue. Thanks Paul!
  26. TravisSmith

    Teensy 3.6 USB MIDI host development status

    Yes, this is the one!
  27. TravisSmith

    Teensy 3.6 USB MIDI host development status

    Hi Paul! I've been putting together an audio project and have incorporated your USB MIDI host, it's working (nearly) perfectly! :) I bought a Pyle PMIDIKPD50 which has keys, pads, and encoders. I'm using a "stacked" (4+4=7) hub and am able to receive messages without problem. I did see one...
Back
Top