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

Thread: Seemingly bricked Teensy-LC with Rust

  1. #1

    Seemingly bricked Teensy-LC with Rust

    It seems that I've somehow managed to kill two Teensy-LC's using bad firmware (which I believed was impossible).

    The code in question is in the following projects:

    https://gitlab.com/jrobsonchase/blink
    https://gitlab.com/jrobsonchase/teensy-lc (develop branch)
    https://gitlab.com/jrobsonchase/mkl26z4 (develop branch)

    Everything can be built by cloning all three into the same directory, checking out the proper branches, and then running "make" in the blink project. You'll need the rust toolchain installed along with its thumbv6-none-eabi target.

    From what I can tell, I messed up the linker script by ignoring the flashconfig section, and whatever garbage got put there messed *something* up. Everything seemed to work before the addition of the

    Code:
    #[exception] fn DefaultHandler ...
    at the end of blink/src/main.rs.

    Now, I can't seem to get my board to go into bootloader mode. Nothing shows up in dmesg when I plug it in, press the button, or hold the button, plug it in, release the button.

    At first, I thought that maybe I killed the board in some other manner, such as by shorting something I shouldn't have, so naturally, I tried flashing my second teensy-lc just to see what would happen. I now have two dead teensys :P

    Edit:

    I just came across this thread: https://forum.pjrc.com/threads/52404...-Configuration
    Is it possible that I've managed to brick my board in the manner described?
    Last edited by jrobsonchase; 10-10-2018 at 09:48 PM.

  2. #2
    I should also note that I've also got a teensy 3.2 that I haven't started attempting to write custom firmware for that works just fine with the same USB cable, so I think that can be ruled out.

    Any recovery ideas or am I just out two boards?

Posting Permissions

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