Page 1 of 1
STM32F072
Posted: Thu Sep 10, 2020 7:04 pm
by jgu1
Hi!
I just get one of these board and made a small testprogram. When I want to program the board I get the message "Board is not conneted"
I can see the bord in devicemanager for USB. I have some other STM board, working fine. Is there some special with this board? Please.
https://dk.rs-online.com/web/p/mikrokon ... g/7972104/
Thank´s in advance.
Jorgen
Re: STM32F072
Posted: Fri Sep 11, 2020 9:40 am
by LeighM
Hi Jorgen,
When you plug the board into USB does it appear as a virtual drive?
The programmer is looking for the name "DIS_F", maybe it is something else?
Leigh
Re: STM32F072
Posted: Sat Sep 12, 2020 2:25 pm
by jgu1
Hi Leigh
Yes I see the USB when I plug the USB. And this what I see:
Br Jorgen
Re: STM32F072
Posted: Mon Sep 14, 2020 8:48 am
by LeighM
Hi Jorgen,
I thought there might be a virtual drive, in Windows File Explorer, like F:DIS_F
If not, try changing the attached file in C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM directory
Leigh
Re: STM32F072
Posted: Mon Sep 14, 2020 3:19 pm
by jgu1
Hi Leigh!
Perfect working. Thank´s

Push it in update
Br Jorgen
Re: STM32F072
Posted: Fri Mar 05, 2021 6:00 pm
by szamy
Hi!
I bought an STM32F072RB nucleo board.
Which FC version+chip pack recommend me?
I will use : some type of FC-supported display(s), SPI,Uart,I2C, PWM,Analog input, and maybe LIN&CAN bus.
I have FC 6, but i think, no STM chip pack for this...
br.:Gabor
Re: STM32F072
Posted: Mon Mar 08, 2021 9:18 am
by LeighM
Best to upgrade to V9 and the ARM pack
https://www.flowcode.co.uk/
You can see the contents of component packs here ...
https://www.flowcode.co.uk/buy/process/
And get an upgrade price here ...
https://www.flowcode.co.uk/buy/upgrade/
Re: STM32F072
Posted: Mon Mar 08, 2021 9:28 pm
by szamy
Hi LeighM,
thank you. I purchased an Fc8 +AVR (and some other pack) today, and start to use.
I working with PICs, as "hobbyst", long time ago, but my knowledge are zero related with AVR.
I attached a picture. On my F072 Nucleo board, have a "USER" button, connected to PC13.
I tried to using this port in the FC, but this (and some other) bits not available. its true for some bits on A and B too..
On Port C i can select 0,1,7 only.
What do i wrong?
Re: STM32F072
Posted: Tue Mar 09, 2021 9:12 am
by LeighM
In an attempt to keep things simple,
for the Nucleo "Arduino" format compatible boards we limited the IO pins to those on the "Arduino" headers.
If you click View->Target Device you will see this and the pins available.
If you need more than those pins I will look at creating a device file for the 32F072RB chip
Did you purchase Flowcode V8 or V9?
Also, the STARM devices require the ARM pack, not AVR
Re: STM32F072
Posted: Tue Mar 09, 2021 10:34 am
by szamy
Sorry, yes, i bought ARM pack (and FC8).
For starting, i bought this Nucleo board (F072RB), but i will order an another, more powerful board today. (maybe F446RE).
I dont know, how much time for creating a new devicefile for both...
Thank You very much for help!
Re: STM32F072
Posted: Wed Mar 10, 2021 8:34 am
by szamy
...maybe i have an idea for a simple solution(its work with all Mcu in the future): how can i switching a port/bit in C code?
Re: STM32F072
Posted: Wed Mar 10, 2021 9:34 am
by LeighM
Hi,
You can use a Flowcode
calculation icon
For example to put port C pin 13 high ...
Or this code to read the input state of port C pin 13 into a variable "Button" ...
Re: STM32F072
Posted: Wed Mar 10, 2021 2:56 pm
by szamy
thank You!