Open eyuan-creare opened 10 hours ago
Did this event happen using the questionable unit? Or your statement "new Tympan" makes it sounds like it really is a fresh-from-box Tympan?
Were you compiling with MTP enabled (Tools->USB Type->"Serial w MTP (experimental)")? Or, were you compiling using the basic plain-vanilla USB Serial (Tools->USB Type->"Serial")?
Separate issue.... the sketchy Tympan TYM-F003, is now working.
When first plugged in today, no USB ports showed up on the Tympan . After compiling Basic Gain, it failed to upload. Then I pressed the program button and it uploaded successfully. After that, I compiled Basic Gain w/App and it uploaded fine.
We just talked by phone. You'll keep an eye on them as you work with them over today and Monday. I'll be in on Monday/Tuesday to update their BLE firmware and we can also explore this programming issue.
@biomurph If you get the chance, could you try compiling and uploading the example Gain w/App onto a few fresh Tympans?
As I was able to eventually program them (by working thru the Teensy Loader directly) I don't think this is critical. But good to keep an eye on and also to archive in case users hit this problem.
Something to try if the Tympan does not show up in the Arduino IDE with a serial port. Taken from Teensy website. Run the serial driver installer.
On Windows, even if the [serial driver installer](https://www.pjrc.com/teensy/serial_install.exe) has run correctly, sometimes Windows will retain old information in its registry and fail to load the driver. The Device Manager will show "USB Serial" with an error, instead of "USB Serial (Communication Class, Abstract Control Model)" with a COM port number assigned.
These actions usually can cause Windows to re-detect the device and begin using the correct driver.
- Run the serial installer program again, or run the Teensyduino installer and use the update driver option on the first step.
- Click that "Update Driver" button in the device manager. If the driver installer has run, Windows should be able to find the driver.
- Plug the cable into a different USB port. The Windows Registry handles each physical port with separate registry entries.
- Do and/all of the above with or without the device connected. Sometimes Windows will do things differently if the device is present or absent.
- ```
@eyuan-creare When I am preparing and testing Tympans I use Teensy Loader to flash precompiled HEX of BasicGain.ino After the Loader is done, I see the Tympan appear on the serial port, and I also verify both mics with headphones.
I have found that Teensy units can sometimes require having the program button pressed or occasionally require power down/up.
Also, I am on a Mac.
The first time programming 4 fresh units took several cycles of powering on/off, pressing program button. Perhaps try compiling a sketch and program one unit in the typical fashion, then press the program button. That sequence did not work on several units.
Loading Basic Gain w/App on new Tympan (that @biomurph previously loaded with Basic Gain)
Stalls at 2%; No blinking light. Not responding to serial. No audio output.
When I press the Auto button, Teensy Loader downloads firmware successfully. I verified basic gain is working with app control.