Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: How to store raw wav file to Teensy 3.2+propshield

  1. #1
    Junior Member
    Join Date
    Dec 2019
    Posts
    3

    How to store raw wav file to Teensy 3.2+propshield

    Hi,

    Could anyone please advice? I know there is this site that teach how the steps https://github.com/FrankBoesing/TeensyTransfer .

    I already upload the teensy transfer tool to my teensy. But whats next? As in, do I have to open the command line to perform the read write (-w) ? But how do I open the command line and link it with my teensy?

    I'm a newbie to this and has very minor knowledge about coding. Hope there is someone could guide me step by step.

  2. #2
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,680
    You need to download the TeensyTransfer to the Teensy using RawHID as the connection type.

    Then you need to close your Arduino IDE, but keep the Teensy plugged in.

    You then do whatever incantation to get to a command line on your system, and execute the appropriate Teensy Transfer for your system. The Teensy Transfer program will then look up USB devices connected to the system, and pick the Teensy running Teensy Transfer.

    Do whatever you need to do. I typically do a 'teensytransfer -i' to make sure it is connected and 'teensytransfer -l' to see what is already there.

    If I need to erase the chip, I use 'teensytransfer -e'. Note this step will take some time. If it comes back immediately, it is likely the flash memory is not connected.

    As a precaution, after downloading the files (with -w), I go into another directory and upload the files (with -r), and compare the files read with the original.

    Filenames need to be 8+3.

    Then after that you fire up the Arduino IDE once again, and download whatever sketch you want to the Teensy (you probably need to change the connection type from RawHID to Serial).

  3. #3
    Junior Member
    Join Date
    Dec 2019
    Posts
    3
    Hi there, thanks I geddit now. So when i open the windows command prompt and prompt it to the transfer file, it will eventually detect my teensy connected to usb. I was able to do -i .
    But when i tried to execute -w, i got the message below:
    C:\Users\Choi\Desktop\TeensyTransfer-master\TeensyTransfer-master\extras\teensytransfer>teensytransfer -w eeprom saberon.wav
    Unable to read saberon.wav

    Do you have any idea what this might be?

  4. #4
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,680
    Quote Originally Posted by choimunken View Post
    Hi there, thanks I geddit now. So when i open the windows command prompt and prompt it to the transfer file, it will eventually detect my teensy connected to usb. I was able to do -i .
    But when i tried to execute -w, i got the message below:
    C:\Users\Choi\Desktop\TeensyTransfer-master\TeensyTransfer-master\extras\teensytransfer>teensytransfer -w eeprom saberon.wav
    Unable to read saberon.wav

    Do you have any idea what this might be?
    I would imagine saberon.wav is not in the directory your command line tool is running from. You may need to use SABERON.WAV instead of saberon.wav.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •