Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTT: CTRL-C triggers "Error during board uninit" #1750

Open
Rodrigodd opened this issue Dec 19, 2024 · 0 comments
Open

RTT: CTRL-C triggers "Error during board uninit" #1750

Rodrigodd opened this issue Dec 19, 2024 · 0 comments

Comments

@Rodrigodd
Copy link

When exiting pyocd rtt with CTRL-C, it sometimes trigger an error. Annoyingly it prevents STM32_Programmer_CLI from connecting to the board right after, but it works again if I connect pyocd rtt and got CTRL-C to exit cleanly.

> pyocd rtt --target stm32c011f4px
0001233 I Target type is stm32c011f4px [board]
0001335 I DP IDR = 0x0bc11477 (v1 MINDP rev0) [dap]
0001335 I debugvar 'DbgMCU_APB_Fz1' = 0x0 (0) [pack_target]
0001335 I debugvar 'DbgMCU_APB_Fz2' = 0x0 (0) [pack_target]
0001335 I debugvar 'DbgMCU_CR' = 0x6 (6) [pack_target]
0001352 I AHB-AP#0 IDR = 0x04770031 (AHB-AP var3 rev0) [discovery]
0001355 I AHB-AP#0 Class 0x1 ROM table #0 @ 0xf0000000 (designer=020:ST part=466) [rom_table]
0001356 I [0]<e00ff000:ROM class=1 designer=43b:Arm part=4c0> [rom_table]
0001356 I   AHB-AP#0 Class 0x1 ROM table #1 @ 0xe00ff000 (designer=43b:Arm part=4c0) [rom_table]
0001356 I   [0]<e000e000:SCS v6-M class=14 designer=43b:Arm part=008> [rom_table]
0001356 I   [1]<e0001000:DWT v6-M class=14 designer=43b:Arm part=00a> [rom_table]
0001356 I   [2]<e0002000:BPU v6-M class=14 designer=43b:Arm part=00b> [rom_table]
0001356 I CPU core #0: Cortex-M0+ r0p1, v6.0-M architecture [cortex_m]
0001356 I   Extensions: [MPU] [cortex_m]
0001356 I Setting core #0 (Cortex-M0+) default reset sequence to ResetSystem [pack_target]
0001356 I 2 hardware watchpoints [dwt]
0001356 I 4 hardware breakpoints, 0 literal comparators [fpb]
0001404 I 3 up channels and 3 down channels found [rtt_cmd]
0001404 I Reading from up channel 0 ("Terminal") [rtt_cmd]
0001404 I Writing to down channel 0 ("Terminal") [rtt_cmd]
My micro output, which 3 lines every 1 second
and then I press ctrl-c:
0008106 E Error during board uninit: [session]
0009122 E Probe error during disconnect: [session]
0010128 E Probe error during close: [session]

Version Info

> pyocd --version
0.36.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant