STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! CRC-16-IBM using HAL APIs

Hi community, I am working on CRC generation with polynomial 0x8005 and initial value 0x0000, so I configured it as belowI am using the data as shown below and the CRC should be 0x43B8 but the value got from the API is different. So I am missing some...

_legacyfs_online_stmicro_images_0693W00000bkgUXQAY.png

Resolved! Are there any working examples using the CRC for MODBUS RTU? I cannot get a reasonable result out if the CRC device on the STM32L443

According to Wikipedia The MODBUS uses the CRC-16-ANSI also known as CRC-16-IBM. ​The normal hexadecimal algebraic polynomial being 8005 and reversed A001Initial value: 65,535.​Example of frame in hexadecimal: 01 04 02 FF FF B8 80(CRC-16-ANSI calcul...

KiptonM by Lead
  • 3660 Views
  • 6 replies
  • 0 kudos

What is the STM32 Programmer CLI CRC calc polynomial?

Hey, I went through the manual of the STM Programmer command line interface and implemented a post build CRC calc with the Safety lib command -sl.C:\PROGRA~1\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe -sl MESOL_CAN_...

AndreM by Associate
  • 678 Views
  • 4 replies
  • 0 kudos

SPI with DMA and CRC : data corrupted by DMA ?

I'm running SPI with DMA and CRC enable between two stm32, slave is stm32f415 MCU.Sometimes it appears that data received is corrupted whereas CRC check gives no error. For instance (polynomial used is 0x1021)Normal behavior:3 words sent: 0xAAA0; 0x0...

JJim.1 by Associate
  • 242 Views
  • 0 replies
  • 0 kudos

STM32WB35 - Can't write or read flash memory (J-Link)

Hello, I'm a bit stuck and I am not sure what to do so I am asking for your help.Here is the problem :I have a custom board with a STM32WB35 that was working fine for a while. But after multiple (incomplete) boot when I was soldering the battery to m...

0693W00000aHWaeQAG.png 0693W00000aHWoMQAW.png 0693W00000aHWf9QAG.png 0693W00000aHWg2QAG.png
EJean.1 by Associate II
  • 1505 Views
  • 5 replies
  • 0 kudos

Using MX to locate IVT in RAM

I am using the STM32F746VET6 which was setup with STM32CubeMX project. In the code it creates I see there's a STM32F746VETX_RAM.ld linker file and a #define VECT_TAB_SRAM to locate the IVT in RAM, but I don't see in MX where I specify that I want the...

RBack.1 by Senior
  • 802 Views
  • 12 replies
  • 0 kudos