MickPF
Member
Hello,
I recently took out my Teensy's 4.1, which I haven't used for a long time, reinstalled the ArduinoIDE 1.8.15 with Teensyduino 1.54 on Ubuntu 20.04.
Even with a simple sketch (see attachments), something happens to the Teensy that I don't understand:
Teensy seems to "arrive" somewhere in nirvana as soon as I upload any sketch.
Can someone help me to solve this problem please?
Is it a known bug?
Thansk in advance,
Michael
I recently took out my Teensy's 4.1, which I haven't used for a long time, reinstalled the ArduinoIDE 1.8.15 with Teensyduino 1.54 on Ubuntu 20.04.
Even with a simple sketch (see attachments), something happens to the Teensy that I don't understand:
- I erase the flash by pressing and holding the button until the red LED flashes and lights, wait until the erase process completes.
- Compile the sketch
Code:
Compiling core...
Using precompiled core: /tmp/arduino_cache_814905/core/core_8eb20ee0cba3f63aca4fdf5012983c04.a
Linking everything together...
/opt/arduino-1.8.15/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -O2 -Wl,--gc-sections,--relax -T/opt/arduino-1.8.15/hardware/teensy/avr/cores/teensy4/imxrt1062_t41.ld -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -o /tmp/arduino_build_609337/serial_test.ino.elf /tmp/arduino_build_609337/sketch/serial_test.ino.cpp.o /tmp/arduino_build_609337/../arduino_cache_814905/core/core_8eb20ee0cba3f63aca4fdf5012983c04.a -L/tmp/arduino_build_609337 -larm_cortexM7lfsp_math -lm -lstdc++
/opt/arduino-1.8.15/hardware/teensy/../tools/arm/bin/arm-none-eabi-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino_build_609337/serial_test.ino.elf /tmp/arduino_build_609337/serial_test.ino.eep
/opt/arduino-1.8.15/hardware/teensy/../tools/arm/bin/arm-none-eabi-objcopy -O ihex -R .eeprom /tmp/arduino_build_609337/serial_test.ino.elf /tmp/arduino_build_609337/serial_test.ino.hex
/opt/arduino-1.8.15/hardware/teensy/../tools/stdout_redirect /tmp/arduino_build_609337/serial_test.ino.lst /opt/arduino-1.8.15/hardware/teensy/../tools/arm/bin/arm-none-eabi-objdump -d -S -C /tmp/arduino_build_609337/serial_test.ino.elf
/opt/arduino-1.8.15/hardware/teensy/../tools/stdout_redirect /tmp/arduino_build_609337/serial_test.ino.sym /opt/arduino-1.8.15/hardware/teensy/../tools/arm/bin/arm-none-eabi-objdump -t -C /tmp/arduino_build_609337/serial_test.ino.elf
/opt/arduino-1.8.15/hardware/teensy/../tools/teensy_post_compile -file=serial_test.ino -path=/tmp/arduino_build_609337 -tools=/opt/arduino-1.8.15/hardware/teensy/../tools/ -board=TEENSY41
/opt/arduino-1.8.15/hardware/teensy/../tools/teensy_size /tmp/arduino_build_609337/serial_test.ino.elf
Memory Usage on Teensy 4.1:
FLASH: code:10620, data:1556, headers:8300 free for files:8105988
RAM1: variables:8896, code:8000, padding:24768 free for local variables:482624
RAM2: variables:12384 free for malloc/new:511904
- Upload the sketch
Code:
/opt/arduino-1.8.15/hardware/teensy/../tools/teensy_post_compile -file=serial_test.ino -path=/tmp/arduino_build_609337 -tools=/opt/arduino-1.8.15/hardware/teensy/../tools -board=TEENSY41 -reboot -port=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3 -portlabel=/dev/hidraw4 RawHID -portprotocol=Teensy
Teensy seems to "arrive" somewhere in nirvana as soon as I upload any sketch.
Can someone help me to solve this problem please?
Is it a known bug?
Thansk in advance,
Michael