2024-12-31 03:11 AM - last edited on 2024-12-31 03:55 AM by Peter BENSCH
Hello
I'm starting development on the STM32MP257xEV1 (I already have an experience with the STM32CubeIDE with lots of MCUs)
I followed the installation instructions, IDE 1.17 => and the MP2 package + patch => Python packages
I'm running on windows 10 x64, have the python 3.10 and checked that those libraries are installed (i.e. pip list and jupyter-lab example python code)
The board OpenSTLinux is booted correctly from the SDCARD, and I see the terminal and have a live Linux console
Basically I wanted to start with an example on the M33, and started with the following link: Modify, rebuild and reload the firmware - stm32mpu
the project : OpenAMP_TTY_echo is loaded correctly, and the build of _ns is completed OK
When I choose (with the hammer) the _ns_sign
I get this error :
Th trackback shows: ImportError: cannot import name 'utils' from 'cryptography.hazmat.primitives.ciphers.aead' (C:\Python\Python310\lib\site-packages\cryptography\hazmat\primitives\ciphers\aead.py)
It looks like a python path issues of the STM32CubeIDE,
How should I sol
Solved! Go to Solution.
2024-12-31 04:23 AM
Hi
Updating that the issue was solved by
uninstalling Cryptography => pip uninstall Cryptography
re installing Cryptography version 3.1.1 => pip install Cryptography==3.1.1
checked this externally in command prompt running: python sign_rproc_fw.py from the directory of installation (
2024-12-31 04:23 AM
Hi
Updating that the issue was solved by
uninstalling Cryptography => pip uninstall Cryptography
re installing Cryptography version 3.1.1 => pip install Cryptography==3.1.1
checked this externally in command prompt running: python sign_rproc_fw.py from the directory of installation (