• Hello From Descent

    The publication date for issue 289 is the 10th of December, meaning subscribers should receive their copies during the week leading up to that date. It is also available from caving suppliers such as Inglesport and Starless River, or from our new website

    New Descent board here:

Distox2: Initial flash of firmware to STM

underground

Member
Can anyone describe the process of getting the firmware onto a freshly built board? Beat directed me to the readme, but it merely mentions using a discovery board to the debug pins... they aren't marked and I don't know if USB connects to them or not. Wondering of I need to temporarily add a header to some of the holes on the board edge for jumper wires...
 

underground

Member
Got this worked out with some help from Oliver. For reference you need: all pins connected from SWD on STLink to the right ones on the X2 board, battery connected, 5V usb connector plugged in and the On/Dist button pressed in for the entire operation.
This can be achieved without assembling the unit by shorting a pad underneath the board to ground.
I soldered header wires to the pads for the usb header and the other pad for convenience and temporarily placed header pins on the SWD connector, plus a wire for ground so I could faff and not leave the board ‘switched on’ until I needed the pad shorting to ground…
 
  • Like
Reactions: Rob
Top