Nucleo-32 boards

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

Nucleo-32 boards

Post by Tabulous »

Hi Giovanni,
have you got the Nucleo32 boards running in Chibistudio and OpenOCD ?

if so what OpenOCD files did you use ? The ST-Link looks like it has two interfaces and thus will need to tell OCD which one to use

I have two F031K6 and F042K6 boards that im trying to get running.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Nucleo-32 boards

Post by Giovanni »

Hi,

The OpenOCD contained in the current ChibiStudio is unable to use those devices (same problem here). I will include a patched one in the next release, I am able to build it myself now.

As soon it is done I will post it here first.

Giovanni
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

Re: Nucleo-32 boards

Post by Tabulous »

can you share the OCD files ?
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Nucleo-32 boards

Post by Giovanni »

Rocco Marco just sent this to me, I will not be able to test it until weekend.

openocd.7z
(1020.26 KiB) Downloaded 252 times

Giovanni
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Nucleo-32 boards

Post by Giovanni »

Tested, it works.

Giovanni
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

Re: Nucleo-32 boards

Post by Tabulous »

Giovanni wrote:Tested, it works.

Giovanni


what target files did you select ?
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Nucleo-32 boards

Post by Giovanni »

stm32f0_stlink for both, under targets.

Giovanni
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

Re: Nucleo-32 boards

Post by Tabulous »

Giovanni wrote:stm32f0_stlink for both, under targets.

Giovanni


so no interface script ? i.e normally the it is setup like this

-c "telnet_port 4444" -f "interface/stlink-v2-1.cfg" -f "${file_prompt}"
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Nucleo-32 boards

Post by Giovanni »

It would just give a warning but work anyway.

Giovanni
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

Re: Nucleo-32 boards

Post by Tabulous »

Giovanni wrote:It would just give a warning but work anyway.

Giovanni


stm32f0_stlink is depredicated and says should not be used ???

can you copy and past your Arguments from the tool launch
Post Reply