Advertisement
ALTracer

BMF/F411 stuck in dwc2

Jan 20th, 2025
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 4.20 KB | None | 0 0
  1. Attaching to program: /home/mint-user/git/blackmagic-debug/blackmagic/build-f411ce/blackmagic_blackpill_f411ce_firmware.elf, Remote target
  2. 0x08023780 in dwc_ep_write_packet (usbd_dev=0x20003040 <usbd_dev>, addr=1 '\001', buf=0x20002e80 <buffer_in>, len=64)
  3.     at ../deps/libopencm3/lib/usb/usb_dwc_common.c:232
  4. 232             if (REBASE(OTG_DIEPTSIZ(ep)) & OTG_DIEPSIZ0_PKTCNT) {
  5. (gdb) bt full
  6. #0  0x08023780 in dwc_ep_write_packet (usbd_dev=0x20003040 <usbd_dev>, addr=1 '\001', buf=0x20002e80 <buffer_in>, len=64) at ../deps/libopencm3/lib/usb/usb_dwc_common.c:232
  7.         ep = <optimized out>
  8.         buf32 = <optimized out>
  9. #1  0x080213f4 in gdb_if_flush (force=<optimized out>) at ../src/platforms/common/stm32/gdb_if.c:62
  10. No locals.
  11. #2  gdb_if_flush (force=<optimized out>) at ../src/platforms/common/stm32/gdb_if.c:51
  12. No locals.
  13. #3  0x08005e58 in gdb_if_putchar_escaped (value=57 '9') at ../src/gdb_packet.c:314
  14. No locals.
  15. #4  gdb_packet_send (packet=packet@entry=0x20001938 <packet_buffer>) at ../src/gdb_packet.c:330
  16.         i = 126
  17.         attempt = 0
  18.         checksum = <optimized out>
  19.         __func__ = "gdb_packet_send"
  20. #5  0x08005ee4 in gdb_put_packet (preamble=preamble@entry=0x802eb38 "O", preamble_size=<optimized out>, preamble_size@entry=1, data=data@entry=0x20000c38 "\tredirect_stdout -- Redirect semihosting output to aux USB serial\n",
  21.     data_size=<optimized out>, hex_data=hex_data@entry=true) at ../src/gdb_packet.c:395
  22.         packet = 0x20001938 <packet_buffer>
  23. #6  0x08005f7e in gdb_out (str=str@entry=0x20000c38 "\tredirect_stdout -- Redirect semihosting output to aux USB serial\n") at ../src/gdb_packet.c:456
  24. No locals.
  25. #7  0x08005fa2 in gdb_voutf (fmt=<optimized out>, ap=...) at ../src/gdb_packet.c:474
  26.         str_scratch = "\tredirect_stdout -- Redirect semihosting output to aux USB serial\n\000ond vcom: [enable|disable]\n\000MIT\n\000ANNEL_NR ...]]\n\000MAXMS MINMS MAXERR]]\n", '\000' <repeats 19 times>, "\3601\000 \001\000\000\000`u\003\b", '\000' <repeats 16 times>, "\024\016\000 \000\000\000\000\000\000\000\000\002", '\000' <repeats 15 times>...
  27. #8  0x0800ac76 in tc_printf (target=target@entry=0x20003758, fmt=0x802c5ef "\t%s -- %s\n") at ../src/target/target.c:648
  28.         ap = {__ap = 0x20000e50}
  29. #9  0x0800accc in target_command_help (target=target@entry=0x20003758) at ../src/target/target.c:625
  30.         command = 0x8035554 <target_cmd_list+24>
  31.         target_commands = 0x20003858
  32. #10 0x08004602 in cmd_help (target=0x20003758, argc=<optimized out>, argv=<optimized out>) at ../src/command.c:229
  33. No locals.
  34. #11 0x08004b40 in command_process (target=0x20003758, cmd_buffer=cmd_buffer@entry=0x20000eb0 "help") at ../src/command.c:174
  35.         cmd = 0x803463c <cmd_list+12>
  36.         argc = 1
  37.         argv = 0x20000e80
  38.         token_state = 0x0
  39. #12 0x08005176 in exec_q_rcmd (packet=<optimized out>, length=<optimized out>) at ../src/gdb_main.c:424
  40.         datalen = 4
  41.         data = <optimized out>
  42.         result = <optimized out>
  43. #13 0x080051c8 in exec_command (
  44.     packet=packet@entry=0x20001938 <packet_buffer> "O0972656469726563745F7374646F7574202D2D2052656469726563742073656D69686F7374696E67206F757470757420746F20617578205553422073657269616C0A6C657C64697361626C655D0A494D49540A48414E4E454C5F4E52202E2E2E5D5D0A5"..., length=14, exec=exec@entry=0x8034734 <q_commands>) at ../src/gdb_main.c:405
  45.         prefix_length = 6
  46. #14 0x080059da in handle_q_packet (packet=0x20001938 <packet_buffer>) at ../src/gdb_main.c:652
  47. No locals.
  48. #15 gdb_main_loop (tc=tc@entry=0x2000100c <gdb_controller>, packet=0x20001938 <packet_buffer>, in_syscall=in_syscall@entry=false) at ../src/gdb_main.c:379
  49.         single_step = false
  50.         rest = 0x0
  51. #16 0x08005ab2 in gdb_main (packet=<optimized out>) at ../src/gdb_main.c:931
  52. No locals.
  53. #17 0x0800617a in bmp_poll_loop () at ../src/main.c:61
  54.         packet = <optimized out>
  55. #18 main () at ../src/main.c:76
  56.         exception_frame = {type = 0, msg = 0xbfd062db <error: Cannot access memory at address 0xbfd062db>, mask = 4294967295, jmpbuf = {2305870720879565096, 536878464, 0, 0, 576567366813486880, 0, 0, 0, 0, 0, 0, 0, 0,
  57.             2305870153407004672, 576480135490830343, 576492995159791792, 576495799773433960, 0, 576495800310431744, 0}, outer = 0x0}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement