Hi,
I get the error below, if I want to start debug. I read in the forum that other people also have had such an error but no solution helps.
I can flash the device and have no problem with TrueStudio or other IDEs with their toolchain.
I use:
Chibi Studio GCC 7.0
OpenOCD:stm327x6g_eval.cfg and also tried:stm32f7discovery.cfg
with the example
C:\ChibiStudio\chibios191\testhal\STM32\STM32F7xx\USB_RAW
----------------------------------------------------------------------------
symbol-file C:\\ChibiStudio\\chibios191\\testhal\\STM32\\STM32F7xx\\USB_RAW\\build\\ch.elf
Reading symbols from C:\ChibiStudio\chibios191\testhal\STM32\STM32F7xx\USB_RAW\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\\testhal\\STM32\\STM32F7xx\\USB_RAW\\build\\ch.elf
You can't do that when your target is `None'
tbreak main
Temporary breakpoint 1 at 0x201ce0: file ../../../../os/hal/ports/STM32/STM32F7xx/hal_lld.c, line 120.
continue
The program is not being run.
kill
The program is not being run.
STM32F746G problem to run Topic is solved
Moderators: RoccoMarco, barthess
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: STM32F746G problem to run
Hi,
I need to test it but cannot do it now, you could try to use an older OpenOCD version, it is possible there is a problem with the latest one.
Giovanni
I need to test it but cannot do it now, you could try to use an older OpenOCD version, it is possible there is a problem with the latest one.
Giovanni
Re: STM32F746G problem to run
I get the following error with ChibiStudio Preview 21 for windows. Do you mean that the OpenOCD can also be the reason here?
Should I install an older version of ChibioStudio or how can this be done to downgrade OpenOCD?
Thanks
Manfred
-----------------------------------------------------
symbol-file C:\\ChibiStudio\\chibios191\\testhal\\STM32\\STM32F7xx\\USB_RAW\\build\\ch.elf
Reading symbols from C:\ChibiStudio\chibios191\testhal\STM32\STM32F7xx\USB_RAW\build\ch.elf...done.
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
Reset_Handler () at ../../../../os/common/startup/ARMCMx/compilers/GCC/vectors.S:259
259 b _crt0_entry
monitor reset init
load C:\\ChibiStudio\\chibios191\\testhal\\STM32\\STM32F7xx\\USB_RAW\\build\\ch.elf
Loading section .vectors, size 0x200 lma 0x8000000
Loading section .text, size 0x2e04 lma 0x8000200
Loading section .rodata, size 0x8d0 lma 0x8003004
Loading section .data, size 0x8 lma 0x80038d4
Start address 0x2002d8, load size 14556
Transfer rate: 18 KB/sec, 3639 bytes/write.
tbreak main
Temporary breakpoint 1 at 0x201ce0: file ../../../../os/hal/ports/STM32/STM32F7xx/hal_lld.c, line 120.
continue
Continuing.
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x201ce0
Command aborted.
kill
Should I install an older version of ChibioStudio or how can this be done to downgrade OpenOCD?
Thanks
Manfred
-----------------------------------------------------
symbol-file C:\\ChibiStudio\\chibios191\\testhal\\STM32\\STM32F7xx\\USB_RAW\\build\\ch.elf
Reading symbols from C:\ChibiStudio\chibios191\testhal\STM32\STM32F7xx\USB_RAW\build\ch.elf...done.
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
Reset_Handler () at ../../../../os/common/startup/ARMCMx/compilers/GCC/vectors.S:259
259 b _crt0_entry
monitor reset init
load C:\\ChibiStudio\\chibios191\\testhal\\STM32\\STM32F7xx\\USB_RAW\\build\\ch.elf
Loading section .vectors, size 0x200 lma 0x8000000
Loading section .text, size 0x2e04 lma 0x8000200
Loading section .rodata, size 0x8d0 lma 0x8003004
Loading section .data, size 0x8 lma 0x80038d4
Start address 0x2002d8, load size 14556
Transfer rate: 18 KB/sec, 3639 bytes/write.
tbreak main
Temporary breakpoint 1 at 0x201ce0: file ../../../../os/hal/ports/STM32/STM32F7xx/hal_lld.c, line 120.
continue
Continuing.
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x201ce0
Command aborted.
kill
Re: STM32F746G problem to run
Hi,
I have now replaced the OpenOCD folder in "tools\openocd" with an older version and it runs now.
The version which runs is:
Open On-Chip Debugger 0.10.0+dev-00226-g1c2e3d41d (2017-12-23-10:15)
Best Regards
Manfred
I have now replaced the OpenOCD folder in "tools\openocd" with an older version and it runs now.
The version which runs is:
Open On-Chip Debugger 0.10.0+dev-00226-g1c2e3d41d (2017-12-23-10:15)
Best Regards
Manfred
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: STM32F746G problem to run
OK thanks, it is an OpenOCD issue then. I will plan for a version 22 as soon as possible.
Giovanni
Giovanni
Re: STM32F746G problem to run
The problem depends also on the hub with which I connect the board. I have two different hubs. Usb 2 and 3. Please take this into account if you fix the problem.
Regards
Manfred
Regards
Manfred
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: STM32F746G problem to run Topic is solved
Hey there,
thanks for posting. We investigated more about this problem and we found out a regression in OpenOCD. I submitted the patch and I will build a new OpenOCD version as soon as the patch would be accepted.
Anyway you can easily fix your OpenOCD by replacing the script
C:\ChibiStudio\tools\openocd\scripts\target\stm32f7x.cfg with the one attached here
thanks for posting. We investigated more about this problem and we found out a regression in OpenOCD. I submitted the patch and I will build a new OpenOCD version as soon as the patch would be accepted.
Anyway you can easily fix your OpenOCD by replacing the script
C:\ChibiStudio\tools\openocd\scripts\target\stm32f7x.cfg with the one attached here
Ciao,
RM
RM
Re: STM32F746G problem to run
Is this the same problem that causes download and debug problems for the stm32f3 cdc demo?
I am using chibistudio 21 and get...
If so, any work on version 22?
-John Scott
P.S. I can download and run the demo with STM32CubeProgrammer
Replacing with openocd-0.10.0-dev-00040-gd52070c did not change anything...
I am using chibistudio 21 and get...
Code: Select all
symbol-file C:\\ChibiStudio\\workspace_user\\Bubba_Drive_V1\\build\\ch.elf
Reading symbols from C:\ChibiStudio\workspace_user\Bubba_Drive_V1\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\\workspace_user\\Bubba_Drive_V1\\build\\ch.elf
You can't do that when your target is `None'
tbreak main
Temporary breakpoint 1 at 0x800ac20: file ../../chibios191/os/hal/ports/STM32/STM32F3xx/hal_lld.c, line 110.
continue
The program is not being run.
kill
The program is not being run.
If so, any work on version 22?
-John Scott
P.S. I can download and run the demo with STM32CubeProgrammer
Replacing with openocd-0.10.0-dev-00040-gd52070c did not change anything...
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: STM32F746G problem to run
Hi,
It will happen after next ChibiOS release. ChibiStudio usually follows.
Giovanni
It will happen after next ChibiOS release. ChibiStudio usually follows.
Giovanni
Who is online
Users browsing this forum: Bing [Bot] and 17 guests