ARM STM32 Update

An area to discuss ARM specific problems and examples

Moderator: Benj

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

ARM STM32 Update

Post by Alan_37 »

Hi
First of all I would like say a big WELL DONE ! to all Matrix Team for the new ARM update and the very nice list of new and powerful Supported devices.

Here are some questions about it .

1. Since the arm update is work in progress for supporting all flowcode peripherals
how do we get updated about the progress , is there a list of working
or Not working peripherals where we can check ?

2. When it will be available for the public ?
3. Is there a trial ( evaluation copy ) ?

4. Are you planning to support more STM32 devices in the future ?

Thanks, and keep up the good work .

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ARM STM32 Update

Post by Benj »

Hello Alan,

Many thanks for the support :D

1. Current working peripherals include: UART, SPI, I2C (sw mode), PWM, DAC, ADC. We are investigating USB, USBOTG and Ethernet but these are not currently in. Three of the STM32 discovery boards with large displays and capacitive touch are supported via components which hook into the underlying ST HAL code and simulate. Also note the Flowcode graphical LCD library can now handle circles and ellipses.

2. Release date is set for the 7th of March.

3. Yes we will be offering the standard 30-day trial. If you've already used your 30-day trial then you can contact us to look at resetting your account on a case by case basis.

4. Yes we will be expanding the STM32 support, it's just a case of creating the definition file for the chip and testing it actually works. If you have a preference then let us know and we can add it to the list. Its not a particularly hard job but it is quite long and tedious to get right and so the chips we have supported so far have been based on STM boards you can purchase at low cost, e.g. the Nucleo and Discovery ranges.

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: ARM STM32 Update

Post by Alan_37 »

Hi Ben

Thanks for your reply

So I got the Standard licence for the STM32 update I just have to get the ARM Chip Pack is that right ?

Regarding my preference for new Devices i would have a couple a very fast & easy add would be the STM32F407ZG which is exactly like the 407ZE ( already supported ) but with
1M of Flash , but more interesting than that is the 407VG & 407IG both 1M flash and ebay has some relay cheap Dev-boards for these devices .

Thanks
Attachments
STM.png
(49.77 KiB) Downloaded 15393 times
Last edited by Alan_37 on Fri Mar 10, 2017 4:51 pm, edited 1 time in total.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: ARM STM32 Update

Post by saschech@gmx.de »

Hello

Is ther a new Release date?

Regards wolfgang

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: ARM STM32 Update

Post by Alan_37 »

Hi Ben

Thanks for supporting all my Requested Devices and more :)

I have sent you a PM about the Arm chip Pack

Thanks again

Regards Alan

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ARM STM32 Update

Post by Benj »

Thanks Alan,

I've replied to your PM. Hopefully should work ok for you now.

User avatar
celebriums
Posts: 125
Joined: Sun Sep 25, 2016 3:50 pm
Has thanked: 71 times
Been thanked: 33 times
Contact:

Re: ARM STM32 Update

Post by celebriums »

Dear Benj

Thank you for ARM STM32 update. I'm very happy to ARM STM32 update.
I congratulate you. I wish you continued success.

Let me ask you questions.

Are we going to pay for the ARM STM32 update?
Sincerely Regards
Sadık SUME

www.kaandesign.com.tr

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ARM STM32 Update

Post by Benj »

Hello,

The ST ARM update is a free upgrade of the Flowcode v7 ARM chip pack. Any existing ARM chip pack owners will be able to compile to the new devices. To add the functionality to your installation simply purchase the ARM chip pack and add it to your Matrix account. Remember to re-activate Flowcode afterwards to allow your new license to be loaded.

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: ARM STM32 Update

Post by Alan_37 »

Hi Ben

Yes it worked :)

Thanks

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: ARM STM32 Update

Post by volodymyr0604 »

Will ARM Cortex ™ -M3 be added to STM32F103xx.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ARM STM32 Update

Post by Benj »

Hello,
Will ARM Cortex ™ -M3 be added to STM32F103xx.
Not sure what you mean by this, please can you provide more detail?

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: ARM STM32 Update

Post by volodymyr0604 »

Hi Benj.
I asked about the whole line STM32F103xx (pin LQFP100,64,48).
Thank you.

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: ARM STM32 Update

Post by volodymyr0604 »

Hi Benj.
I have one more question on XMEGA128a4
I purchased a payment card for the sample Matthairtech - MT-DB-X4 with XMEGA128a4.
How can I use Flowcode 7.2.
Thank you.
Volodymyr.

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: ARM STM32 Update

Post by LeighM »

Hi,
Thanks for noting your interest in the F103.
We currently do not have any plans to support the F1 family as it is very different to the other STM32 families.
But we will monitor interest.
Thanks.
Leigh

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: ARM STM32 Update

Post by Alan_37 »

Hi

My STM32 Dev Boards are finally here :)
Image 1.png
(1.04 MiB) Downloaded 13981 times
And I now can start experimenting with the
intent of porting my project from Arduino to the STM32F407ZG

I know that the STM32 is still work in progress , and that I have already asked this question before but
before starting I would really like to know what is supported till now , is it possible to make a
Post and list all the peripherals that work or should work for the STM32 ,
this will hopefully save us some hard time.


Thanks in Advance & Happy Easter .


Alan

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: ARM STM32 SPI

Post by volodymyr0604 »

Hello, Benj.
I'm testing STM32F051c8, the SPI gives errors when compiling.

C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat "Test_STM32F051C8" "F:\#$RED-~1\STM32F0\" "32F051x8" "F0" "stm32f.ld" "8000000" "64K" "8K"

Project Test_STM32F051C8
Device STM32F051x8


F:\#$RED-~1\STM32F0>arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -D__SOFTFP__ -Os -DSTM32 -DSTM32F0 -DSTM32F051x8 -DUSE_HAL_DRIVER -DHSE_VALUE=8000000 -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\CMSIS\Include -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\CMSIS\Device\ST\STM32F0xx\Include -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\STM32F0xx_HAL_Driver\Inc -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\STM32F0xx_HAL_Driver\Inc\Legacy -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\inc -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "Test_STM32F051C8.c" -o "Test_STM32F051C8_STM32F051x8_8000000\Test_STM32F051C8.o"
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:780:0,
from Test_STM32F051C8.c:1043:
C:\Program Files (x86)\Flowcode 7\CAL\STARM\STARM_CAL_SPI.c:72:10: error: redefinition of 'MX_PRESCALE_VAR_X'
MX_UINT8 MX_PRESCALE_VAR_X = (MX_SPI_PR_SCALE_X / 2) - 1;
^
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:759:0,
from Test_STM32F051C8.c:1043:
C:\Program Files (x86)\Flowcode 7\CAL\STARM\STARM_CAL_SPI.c:72:10: note: previous definition of 'MX_PRESCALE_VAR_X' was here
MX_UINT8 MX_PRESCALE_VAR_X = (MX_SPI_PR_SCALE_X / 2) - 1;
^
Error(s) in build

C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error 1

Tell me what the problem is
Volodymyr

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ARM STM32 Update

Post by Benj »

Hello Volodymyr,

Thanks for letting us know of the problem.

Please can you attach a simple program that demonstrates the compilation error and we will investigate.

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: ARM STM32 Update

Post by LeighM »

Hi
Could you try the attached?
Place this in your Flowcode CAL/STARM directory
Attachments
STARM_CAL_SPI.c
(12.07 KiB) Downloaded 280 times

Thomas Thor
Posts: 7
Joined: Tue Mar 11, 2014 9:45 pm
Been thanked: 1 time
Contact:

Re: ARM STM32 Update

Post by Thomas Thor »

Hi

I guess ST microcontrollers programming with Flowcode is a huge step for everyone who interested with. So, thank you.

Btw, I want a small wishes from forum admins, Could you please collect the all information/shares about ST or Pic32 etc. in one folder ?

Thanks in Advance

thomas

Farren
Posts: 2
Joined: Tue Apr 18, 2017 12:14 am
Been thanked: 1 time
Contact:

Re: ARM STM32 Update

Post by Farren »

I Just bought Flowcode 7 professional with ARM support. I have been waiting for years for STM32 to be included as I do not use PIC or any of the other of the supported MCU's I only use STM32.
I am a hard core C and Assembler programmer but am excited to see what can be done with Flowcode.
I just wish that STM32F1xx and STM32L1xx series could be supported as well. Hopefully in the future..........

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time
Contact:

Re: ARM STM32 SPI

Post by volodymyr0604 »

Hello, Benj.
Test a simple output via port code from 1 to 255, see the port speed.
Similar problem with PIC 32, compilation error.
I want to study 32 bit microprocessors.
Volodymyr

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: ARM STM32 Update

Post by QMESAR »

volodymyr0604 wrote:Test a simple output via port code from 1 to 255, see the port speed.
Similar problem with PIC 32, compilation error.
It would help a great deal if you can post your flowchart which gives compilation Error on PIC32 ,I am very interested to tack problems in PIC32 and FC7. :D

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: ARM STM32 Update

Post by QMESAR »

Thomas Thor wrote: I want a small wishes from forum admins, Could you please collect the all information/shares about ST or Pic32 etc. in one folder ?
Hello Team,
I would also support such a request as keeping the 32bit issues appart from the main strain reports wold help a lot to localize the same issue's and problems across the 32 bit Platforms .
I like this suggestion a lot . :D

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ARM STM32 Update

Post by Benj »

Right I've created the forum topics and started moving threads. Hopefully should make things a bit easier to find and sort through.

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: ARM STM32 Update

Post by QMESAR »

Ben.

Thank you very much, I saw and I like it very much,it would be very helpful to see when a person has a problem if some one else had the same issue and what was the cure
Thank you very much :D

Post Reply