Stm32f769l can't upload and debug Topic is solved

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
Post Reply
asdasd
Posts: 18
Joined: Wed May 01, 2019 8:54 am
Has thanked: 9 times

Stm32f769l can't upload and debug

Post by asdasd »

Hello ,
I have started to use stm32f769l discovery kit with chibistudio 20 ,but i have some problem in loading the demo application in it.
First of all i have connect to the board and there is no error ,but when i want to debug and run it, shows me sum errors
Error:can't add breakpoint :unknown reason
Error: jtag status contains invalid mode value

The firmware of the st-link is V2.J32.M22
and how can l change debugging to swd :!: :mrgreen:
Asd, thanks
Last edited by asdasd on Sun Oct 20, 2019 7:21 am, edited 1 time in total.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Stm32f769l can't upload and debug

Post by Giovanni »

Hi,

Could you update to version 21?

https://osdn.net/projects/chibios/releases/

I think there was a problem with OpenOCD script for the F7 on version 20.

Giovanni
asdasd
Posts: 18
Joined: Wed May 01, 2019 8:54 am
Has thanked: 9 times

Re: Stm32f769l can't upload and debug

Post by asdasd »

Giovanni wrote:Hi,

Could you update to version 21?

https://osdn.net/projects/chibios/releases/

I think there was a problem with OpenOCD script for the F7 on version 20.

Giovanni


I have updated but the problem still appear . :roll:
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: Stm32f769l can't upload and debug

Post by steved »

I'm using the STM32F767 Nucleo, and have a vague recollection that I had to do something to make it work after a Chibi update. Can't find it here; will have a look at work tomorrow.
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: Stm32f769l can't upload and debug

Post by RoccoMarco »

Hey there, the problem was with OpenOCD. You should manually update OpenOCD:
delete the folder from c:\chibistudio\tools\openocd
unzip the new version in here
https://www.playembedded.org/blog/wp-co ... 19-7-6.zip

Pay attention to preserve the folder hierarchy
RadaR
Posts: 19
Joined: Tue Sep 17, 2019 11:34 pm
Has thanked: 1 time

Re: Stm32f769l can't upload and debug

Post by RadaR »

RoccoMarco wrote:Hey there, the problem was with OpenOCD. You should manually update OpenOCD:
delete the folder from c:\chibistudio\tools\openocd
unzip the new version in here
https://www.playembedded.org/blog/wp-co ... 19-7-6.zip

Pay attention to preserve the folder hierarchy



Thanks. this help me.

I think need to update ChibiStudio. because this problem is mass
Post Reply