NUCLEO-H743ZI ChibiOS Studio and debug Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
sdelisle
Posts: 3
Joined: Tue May 07, 2019 9:59 pm

NUCLEO-H743ZI ChibiOS Studio and debug  Topic is solved

Postby sdelisle » Tue May 07, 2019 10:11 pm

Dear,

I am using NUCLEO-H743ZI and ChibiOS Studio for testing purpose, i follow the tutorial https://www.playembedded.org/blog/devel ... ibistudio/ for compiling, starting OpenOCD and debugging:

OpenOCD is started properly with the followin message:

"Open On-Chip Debugger 0.10.0+dev-00746-g8f518d359 (2019-03-14-17:18)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1800 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1800 kHz
Info : STLINK V2J29M18 (API v2) VID:PID 0483:374B
Info : Target voltage: 3.255900
Info : stm32h7x.cpu: hardware has 8 breakpoints, 4 watchpoints
Info : Listening on port 3333 for gdb connections
"
But when launching debug i have got the following error:

"
symbol-file C:\\ChibiStudio\\chibios191\\demos\\STM32\\RT-STM32H743I-NUCLEO144\\build\\ch.elf
Reading symbols from C:\ChibiStudio\chibios191\demos\STM32\RT-STM32H743I-NUCLEO144\build\ch.elf...done.
set remotetimeout 20
monitor reset init
"monitor" command not supported by this target.
monitor sleep 50
"monitor" command not supported by this target.
load C:\\ChibiStudio\\chibios191\\demos\\STM32\\RT-STM32H743I-NUCLEO144\\build\\ch.elf
You can't do that when your target is `None'
tbreak main
Cannot access memory at address 0x8001154
continue
The program is not being run.
"
Any idea how to solve this default ?

Best regards

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: NUCLEO-H743ZI ChibiOS Studio and debug

Postby Giovanni » Wed May 08, 2019 7:40 am

What config file are you passing to OpenOCD?

Giovanni

sdelisle
Posts: 3
Joined: Tue May 07, 2019 9:59 pm

Re: NUCLEO-H743ZI ChibiOS Studio and debug

Postby sdelisle » Wed May 08, 2019 7:55 am

Dear,

When launching Open OCD on STLink i select "stm32h7x.cfg" configuration file

Regards
Sylvain Delisle

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: NUCLEO-H743ZI ChibiOS Studio and debug

Postby Giovanni » Wed May 08, 2019 8:02 am

Hi,

Try selecting a script under the /boards directory instead, the one for nucleo H7.

Giovanni

sdelisle
Posts: 3
Joined: Tue May 07, 2019 9:59 pm

Re: NUCLEO-H743ZI ChibiOS Studio and debug

Postby sdelisle » Wed May 08, 2019 5:14 pm

Giovanni,

Sorry for this stupid issue, I found the root cause of the issue, the debug port was not properly configured to be able to communicate with OpenOCD.

Best regards
Sylvain Delisle


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 12 guests