embedded-creations
Well-known member
I'm running an Arduino sketch that uses an SD card for storage, but didn't like having to remove the card and connect it to my computer every time I wanted to update files. The uTasker project has code that can share the SD card over USB-MSD so the Teensy 3.1 looks like a memory stick, but I didn't want to have to reprogram the Teensy twice each time I want to update the SD card and go back to the sketch, or port my Arduino sketches over to uTasker.
I had the idea of creating a small uTasker project (<32kB) that shares the SD card like a memory stick, and putting that program at the end of flash, leaving 224kB left for my Arduino sketch. The work I did already on jumping from one Arduino sketch to another lets me jump from the Arduino sketch to the uTasker project, and go back to the Arduino sketch after a reset.
I released an example Arduino sketch that shows how to jump to the uTasker project, and binaries for two uTasker projects - one with SPI pinouts for the SmartMatrix Shield, and another for the Teensy Audio Adapter Board.
JumpToUsbMsdAppWithOffset - Github
Please note that the uTasker project is licensed software, and in keeping with the terms of their license, the binaries are for non-commercial use. I do plan to open source my changes to the stock uTasker project so you can purchase a license (or get a free non-commercial license) and compile the software yourself. Please post here if you are interested so I can prioritize sharing the changes.
I had the idea of creating a small uTasker project (<32kB) that shares the SD card like a memory stick, and putting that program at the end of flash, leaving 224kB left for my Arduino sketch. The work I did already on jumping from one Arduino sketch to another lets me jump from the Arduino sketch to the uTasker project, and go back to the Arduino sketch after a reset.
I released an example Arduino sketch that shows how to jump to the uTasker project, and binaries for two uTasker projects - one with SPI pinouts for the SmartMatrix Shield, and another for the Teensy Audio Adapter Board.
JumpToUsbMsdAppWithOffset - Github
Please note that the uTasker project is licensed software, and in keeping with the terms of their license, the binaries are for non-commercial use. I do plan to open source my changes to the stock uTasker project so you can purchase a license (or get a free non-commercial license) and compile the software yourself. Please post here if you are interested so I can prioritize sharing the changes.
Last edited: