markkimball
Active member
I have a Teensy 4.0 that has started exhibiting an odd boot problem. I've been working on some code to implement two-way serial data transfers between the T4.0 and host computer, which is running Ubuntu 22.04LTS. I have several different versions of Arduino code to explore different approaches. Call them program A and B. When A runs, it runs once. After that one instance, the Teensy will NOT reboot program A. Unplug it, plug it back in -- no boot. But if I upload program B, the Teensy _does_ boot. Then if I go back and reload program A -- it _does_ boot. Until the code in loop() runs. Then it again will fail to boot.
This is an older T4.0 that's been reprogrammed a bunch of times. I'm wondering if the flash memory is starting to go bad, or if there's something else going on.
For a little more background information, I have attached a PJRC 320x240 TFT display to the T4.0 so I can debug code w/o relying on the serial interface. The setup() routine does run some code to print a message -- sort of an "I am here" message -- and no message appears.
This is an older T4.0 that's been reprogrammed a bunch of times. I'm wondering if the flash memory is starting to go bad, or if there's something else going on.
For a little more background information, I have attached a PJRC 320x240 TFT display to the T4.0 so I can debug code w/o relying on the serial interface. The setup() routine does run some code to print a message -- sort of an "I am here" message -- and no message appears.