ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Building some custom code to FC V2 - Bricked

    Flight Core
    1
    2
    288
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tyorb
      last edited by

      Hello,

      I've been successfully building and deploying binaries to the FC V2 over STM32CubeProgrammer for a few weeks now. On my most recent experiment I seem to have bricked the board, now my STLINK V2 will not connect to the board and I get DEV_CONNECT_ERR. I've tried hardware reset with the reset pin plugged into my link, in under reset and hot plug mode but no joy.

      I was very careful not to reconfigure PA13/14 for SWDIO and SWCLK. I'm in a bit of a scrambled mess now. If anyone has experience unbricking the FC v2 please let me know!

      Thanks!

      1 Reply Last reply Reply Quote 0
      • T
        tyorb
        last edited by

        Unbricked! Here's some context/advice for anyone trying to do the same. If you purchased a cheapo STLINK V2 from Amazon as I did. Picture below...

        alt text

        $0 Fix:
        What may very well happen to ya, is the RESET pin doesn't work. In this case you will need a friend. With said friend, you must dilligently connect to the board using Under Reset Mode and Hardware Reset. The second your homie clicks the connect button, you, the bricker of the board must move your jumper cable from the RESET pin which is 3.3V to an open Ground, leave it for exactly 1 second, then move it back to RESET. This should work like a charm, but may require one or two tries to get the right timing. See instructions below.

        alt text

        $10 Fix:
        Program a Pico/Arduino to do your 1 second ground for you.

        $78 Fix:
        Buy the real STLINK V2.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors