Debugging with Single Core or Multi Cores

Prerequisite:
Use the debug function, make sure the followings are completed:
This section provides steps to debug with single core or multi cores.
  1. Navigate to the Debug Config under Debug ELF with FPGA on the StarFive Baremetal SDK view, and select Single Core or Dual Core.
  2. Launch minicom to show output from FPGA, click Debug and openOCD will launch to connect with the FPGA.
    Note: You will need to open a Debugger Console (Window > Show View > Debugger Console) to send commands on GDB for debugging.
  3. Click DEBUG.
    Result:
    Figure 1. Example Output
    Graphical user interface, text Description automatically generated