Logo
Explore Help
Sign In
espressif/esp-idf
1
0
Fork 1
You've already forked esp-idf
mirror of https://github.com/espressif/esp-idf.git synced 2025-10-26 12:41:43 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
adc49dfed747b51a715817fa1d749e79f81a513c
esp-idf/tools/test_apps/system/gdb_loadable_elf/gdbinit_esp32

15 lines
307 B
Plaintext
Raw Normal View History

Add JTAG related example tests
2020-04-17 11:51:00 +02:00
set pagination off
Support ELF files loadable with gdb
2019-07-22 16:04:03 +02:00
# Connect to a running instance of OpenOCD
target remote 127.0.0.1:3333
# Reset and halt the target
mon reset halt
# Run to a specific point in ROM code,
# where most of initialization is complete.
tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3 The previous location was the return from the first ets_printf call that prints ROM sign-on message. Since the main function was patched in ECO3, the new address no longer works — there is no instruction at 0x40007901 in ECO3 ROM. This could be solved by setting two breakpoints (one would work for ECO <=2, the other for ECO3), but we would need to remove the unused breakpoint later. Fix this by setting the breakpoint at ets_printf. This means that when debugging a loadable ELF the ROM sign-on message will no longer be shown, but this doesn't seem to be an issue.
2021-05-04 16:22:50 +02:00
thb *0x40007d54
Support ELF files loadable with gdb
2019-07-22 16:04:03 +02:00
c
# Load the application into RAM
load
# Run till app_main
tb app_main
c
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 170ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API