Hi Guys,
Anyone any idea why this would happen:
Flashing first works:
The serial port is available, the code is built with -DUSB_MIDI16_AUDIO_SERIAL
When I try to flash again I need to press the reset button and it fails:
Then if I try again it works:
The GUI uploader seems to work (most of the time)
Anyone any idea why this would happen:
Flashing first works:
Code:
andrewcapon@admins-iMac tool-teensy % teensy_loader_cli -mmcu=imxrt1062 -w -s -v /Users/andrewcapon/Development/teensy/TeensyTest/.pio/build/teensy41debug/firmware.hex
Teensy Loader, Command Line, Version 2.2
Read "/Users/andrewcapon/Development/teensy/TeensyTest/.pio/build/teensy41debug/firmware.hex": 193536 bytes, 9.5% usage
Found HalfKay Bootloader
Programming..........................................................................................................................................................................................
Booting
The serial port is available, the code is built with -DUSB_MIDI16_AUDIO_SERIAL
When I try to flash again I need to press the reset button and it fails:
Code:
andrewcapon@admins-iMac tool-teensy % teensy_loader_cli -mmcu=imxrt1062 -w -s -v /Users/andrewcapon/Development/teensy/TeensyTest/.pio/build/teensy41debug/firmware.hex
Teensy Loader, Command Line, Version 2.2
Read "/Users/andrewcapon/Development/teensy/TeensyTest/.pio/build/teensy41debug/firmware.hex": 193536 bytes, 9.5% usage
Error opening USB device: Operation timed out
Waiting for Teensy device...
(hint: press the reset button)
Found HalfKay Bootloader
Read "/Users/andrewcapon/Development/teensy/TeensyTest/.pio/build/teensy41debug/firmware.hex": 193536 bytes, 9.5% usage
Programming...error writing to Teensy
Then if I try again it works:
Code:
andrewcapon@admins-iMac tool-teensy % teensy_loader_cli -mmcu=imxrt1062 -w -s -v /Users/andrewcapon/Development/teensy/TeensyTest/.pio/build/teensy41debug/firmware.hex
Teensy Loader, Command Line, Version 2.2
Read "/Users/andrewcapon/Development/teensy/TeensyTest/.pio/build/teensy41debug/firmware.hex": 193536 bytes, 9.5% usage
Found HalfKay Bootloader
Programming..........................................................................................................................................................................................
Booting
The GUI uploader seems to work (most of the time)