Skip to main content
ayarema
Associate II
August 9, 2016
Question

X-Cube-Crypto Library CubeMX Help

  • August 9, 2016
  • 7 replies
  • 5164 views
Posted on August 09, 2016 at 23:33

I downloadedX-Cube-Crypto Library from the email and i have the zip. Issue is that i cant seem to find anything that would install it into the CubeMX software. I can browse the zip and see the files and examples included but when i try to install new libraries on CubeMX from local it says ''This Package version is not managed on this version of STM32CubeMX''.

My version is 4.0 for CubeMX.

Is there a way to install this lib so that CubeMX is able to create the necessary C source files when project is generated?

Question 2 is about the fact that System Workbench is missing from the examples, and support for the F7 series. Is there a plan to add that anytime soon?

Thanks

Andriy

#!stm32-!cubemx-!stm32-stm32f7

Note: this post was migrated and contained many threaded conversations, some content may be missing.
This topic has been closed for replies.

7 replies

Amel NASRI
Technical Moderator
August 11, 2016
Posted on August 11, 2016 at 11:01

Hi yarema.andriy,

1- The X-Cube-CryptoLib isn't supported in CubeMX now. Your request is shared internally for farther investigation and feasibility analysis.

2- SW4STM32 isn't supported only in the examples available under STM32CubeExpansion_Crypto_V3.1.0\Fw_Crypto. However examples under STM32CubeExpansion_Crypto_V3.1.0\AccHw_Crypto support it even for STM32F7.

3- What do you mean by ''support for the F7 series'' in your question. What is missing for F7?

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Gid Rid
Associate III
August 11, 2017
Posted on August 11, 2017 at 17:24

I tried the libraries in the examples 

under STM32CubeExpansion_Crypto_V3.1.0\AccHw_Crypto but I get an error:

c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.12.0.201611241417/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: error: myproj.elf uses VFP register arguments, C:\myproj\Middlewares\ST\STM32_Cryptographic\Lib/libSTM32CryptographicV3.0.0_CM7_GCC_ot_FPU.a(crypto.o) does not

How do I resolve this?

Tesla DeLorean
Guru
August 11, 2017
Posted on August 11, 2017 at 17:49

>>

How do I resolve this?

It suggests a mismatch between the cpu/fpu options between those used to compile the project and those used to compile the library.

I would look at the float ABI, hard vs soft, etc.

-mcpu=cortex-m7  -mfloat-abi=hard  -mfpu=fpv4-sp-d16

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ayarema
ayaremaAuthor
Associate II
August 11, 2016
Posted on August 11, 2016 at 19:25

The release notes for the HW acceleration specifically only mention support for ''

STM32F756G/STM32F746G 

device 

and STM327x6G-EVAL revA''

The release notes for the Firmware library specifically only mention support for ''

STM32756G-EVAL/ 

STM32746G-EVAL 

boards RevB''

I guess i was looking for a master list of all of the supported boards as well as chips since its good to be sure the crypto library 

doesn't

 have some hidden limitation for the chip we use.

Amel NASRI
Technical Moderator
August 17, 2016
Posted on August 17, 2016 at 13:10

Hi yarema.andriy,

Any STM32F7 device is supported by the library.

The boards in the release notes are the ones used in the examples, no limitation on supported devices for the .lib.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Elkin Granados
Associate II
August 11, 2017
Posted on August 11, 2017 at 21:30

Hi to everyone,

I'm not sure but maybe this could help to you:

https://community.st.com/0D50X00009nNBvtSAG

 

The example was made with software acceleration but it's almost the same for hardware...

A guy
Associate
July 12, 2018
Posted on July 12, 2018 at 14:23

I had the same problem with TrueStudio (also based on Eclipse). To work around that I opened an example project for TrueStudio and I then looked at the Properties. I found out that if you want to use the software version of the library you need to set in C/C++ Build - Settings :

- Floating point '' Hardware implementation '' in Assembler

- Floating point '' Software implementation '' in C Compiler - Target and C Linker - Target.

And for the FPU settings I used '' FPv5-SP-D16 ''.

Here is a screen of the windows where you need to go to find those settings. I hope this will help other people.

0690X0000060M9HQAU.png
Peeters.Bram
Associate III
November 26, 2018

Hi, the https://community.st.com/docs/DOC-1557-one-way-to-use-the-x-cube-cryptolib-with-cubemx-and-system-workbench link seems to not work anymore. Is there another way to get this document ?

Tesla DeLorean
Guru
November 26, 2018

This is @Elkin Granados​ document as it appears on the new iteration of the forum

https://community.st.com/s/feed/0D50X00009nNBvtSAG

@brk​ lot of dead links and broken content still. Search here is also entirely worthless, "one way to use" brought up ZERO, fished my way to this link via Google, but it also had a lot of dead/broken stuff there, and site does a poor job turning those requests into search or cross references to old content archive.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Brian Kling
Senior
November 27, 2018

@Community member​ the document is here: https://community.st.com/s/feed/0D50X00009nNBvtSAG which I found using the search bar. @Community member​ there were many results for this query: https://community.st.com/s/global-search/%22one%20way%20to%20use%22

Tesla DeLorean
Guru
November 27, 2018

Perhaps it is related to your scripting and "internet connection" issue, because the first thing I was seeing yesterday is the blue bar saying "I've got nothing.." or "Not finding desired results" or whatever it says, and then no delayed content appears. The site was fragile yesterday, not getting errors currently.

The cookie issue is still impacting Android/Chrome, is there some cross-site scripting (involvement of third party sites) here that current browsers are nixing?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..