fullid.blogg.se

Black Serial On 9X Wiki
Black Serial On 9X Wiki






To connect to the LPC based board via OLIMEX ARM-USB-OCD dongle run the command: openocd -f interface/olimex-arm-usb-ocd.cfg -f target/lpc2148.cfg To connect to the LPC based board via OLIMEX ARM-USB-OCD-H dongle run the command: openocd -f interface/olimex-arm-usb-ocd-h.cfg -f target/lpc2148.cfg To connect to the Lisa/L board run the command openocd -f interface/lisa-l.cfg -f board/lisa-l.cfg To connect to the Lisa/M board via FLOSS-JTAG run the command: openocd -f interface/flossjtag.cfg -f board/lisa-l.cfg

  • Start openocd in a new shell since this process needs to remain running.
  • If no number, all deleted.Ĭonnecting OpenOCD to a Floss JTAG (Lisa/L in this case) an GDB to OpenOCD. (gdb) delete – Removes breakpoint by number (see example following). Useful if your program crashes in a library function use up to get to the last function call in your program (gdb) up – Move to the function that called the present function. (gdb) where – obtain a backtrace showing all function calls before the current statement Subsequent, consecutive entry of list will list the next 10 lines. (gdb) list – List 10 lines of the program being debugged. (gdb) print expression - Show value of a variable or expression

    Black Serial On 9X Wiki

    (gdb) finish - Step out of the present function (gdb) next - Next program line (step over function calls) (gdb) cont - continue running, after a break (gdb) run - start running the program if there are command-line arguments, put them after the run invocation (gdb) break line-number/function name - Set a break-point on a line/at start of function Here are some commonly used commands many of them can be invoked using only the first letter: gdbinit for BMP and gdb-regviewĬommands can often be issued without typing the entire command.








    Black Serial On 9X Wiki