Advertisement
regandgo

my_NOK_gdb_20000KHz.txt

Oct 22nd, 2017
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. bav@BAV60 MINGW32 /d/sdk_e/_soc/esp32/prj/e_monitor
  2. $ xtensa-esp32-elf-gdb -x gdbinit build/e_monitor.elf
  3. GNU gdb (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 7.10
  4. Copyright (C) 2015 Free Software Foundation, Inc.
  5. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  6. This is free software: you are free to change and redistribute it.
  7. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  8. and "show warranty" for details.
  9. This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf".
  10. Type "show configuration" for configuration details.
  11. For bug reporting instructions, please see:
  12. <http://www.gnu.org/software/gdb/bugs/>.
  13. Find the GDB manual and other documentation resources online at:
  14. <http://www.gnu.org/software/gdb/documentation/>.
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word"...
  17. Reading symbols from build/e_monitor.elf...done.
  18. --------------------------------------------------
  19. sasha: ESP32-GDB run script gdbinit() E-MON
  20. --------------------------------------------------
  21. 0x00000000 in ?? ()
  22. JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
  23. JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
  24. esp32: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
  25. esp32: Core was reset (pwrstat=0x5F, after clear 0x0F).
  26. Target halted. PRO_CPU: PC=0x5000004B (active) APP_CPU: PC=0x00000000
  27. esp32: target state: halted
  28. esp32: Core was reset (pwrstat=0x1F, after clear 0x0F).
  29. Target halted. PRO_CPU: PC=0x40000400 (active) APP_CPU: PC=0x40000400
  30. esp32: target state: halted
  31. Hardware assisted breakpoint 1 at 0x400f1ea4: file D:/sdk_e/_soc/esp32/prj/e_monitor/main/main.c, line 337.
  32. 0x0: 0x00000000
  33. Target halted. PRO_CPU: PC=0x400F1EA4 (active) APP_CPU: PC=0xF8001080
  34. [Switching to Thread 1073413356]
  35.  
  36. ### Sasha Note1: CANNOT EXECUTE CODE! ###
  37. (gdb) c
  38. Continuing.
  39. Cannot execute this command without a live selected thread.
  40.  
  41. ### Sasha Note2: BUT CAN READ DATA! ###
  42. (gdb) set print pretty on
  43. (gdb) p dbg_module_tag
  44. $1 = "EMON:"
  45. (gdb) print dev_config
  46. $2 = {
  47. command_bits = 0 '\000',
  48. address_bits = 0 '\000',
  49. dummy_bits = 0 '\000',
  50. mode = 0 '\000',
  51. duty_cycle_pos = 0 '\000',
  52. cs_ena_pretrans = 0 '\000',
  53. cs_ena_posttrans = 0 '\000',
  54. clock_speed_hz = 0,
  55. spics_io_num = 0,
  56. flags = 0,
  57. queue_size = 0,
  58. pre_cb = 0x0,
  59. post_cb = 0x0
  60. }
  61. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement