Raspberry Pi RP2040 Getting Started page 25

Table of Contents

Advertisement

Getting started with Raspberry Pi Pico
IMPORTANT
If you see errors similar to
attempting to load the binary onto the Raspberry Pi Pico via OpenOCD then there is likely poor signal integrity
between the Raspberry Pi and the Raspberry Pi Pico. If you are not directly connecting the SWD connection between
the two boards, see
the
raspberrypi-swd.cfg
As we're bitbanging between the boards timing is marginal, so poor signal integrity may cause errors.
Or if you want to set a breakpoint at
(gdb) monitor reset init
(gdb) b main
(gdb) continue
Thread 1 hit Breakpoint 1, main () at /home/pi/pico/pico-
examples/hello_world/serial/hello_serial.c:11
11
before continuing after you have hit the breakpoint,
(gdb) continue
To quit from
(gdb) quit
More information about how to use
6.3. Use GDB and OpenOCD to debug Hello World
Error finishing flash operation
Figure
7, you should try to do that. Alternatively you can try reducing the value of
configuration file, trying halving it until you see a successful connection between the boards.
main()
stdio_init_all();
type,
gdb
can be found at https://www.gnu.org/software/gdb/documentation/.
gdb
or
Error erasing flash with vFlashErase packet
before running the executable,
in GDB when
in
adapter_khz
24

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RP2040 and is the answer not in the manual?

This manual is also suitable for:

Pico

Table of Contents

Save PDF