



Yes we may flash our firmware to PineCone via a Serial USB connection to PineCone’s UART Port. 1.1 OpenOCD vs UART Flashingĭoesn’t PineCone support UART flashing? Why use OpenOCD and JTAG? We’ll learn about JTAG in the next section. This is similar to the SWD Port that’s found in PineTime, STM32 Blue Pill and other Arm microcontrollers. PineCone exposes a JTAG Port that works with OpenOCD for loading and debugging firmware. ( Rust for PineCone also uses OpenOCD for loading and debugging) Thus it’s important to get PineCone talking to OpenOCD, so that our development tools will work with PineCone. Most development tools (like VSCode) work with OpenOCD for loading and debugging firmware. Load our firmware to the microcontroller’s RAMĭebug our firmware: Set breakpoints, step through code, examine the variables OpenOCD is the open source software that runs on our computer and connects to microcontrollers (like PineCone) to… (UPDATE: There’s a new doc on BL602, OpenOCD and GDB. (JTAG and OpenOCD won’t work for flashing BL602) Today we’ll learn to connect the PineCone BL602 RISC-V Evaluation Board to OpenOCD for loading and debugging PineCone firmware. PineCone BL602 RISC-V Evaluation Board connected to Sipeed JTAG Debugger 10.3 Integrate JTAG Debugger with PineCone.
