STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 6767 Views
  • 7 replies
  • 0 kudos

Hard Fault when reading flash

I am working to generate the CRC for the flash memory, During this I am facing hard fault when the CRC module tries to read from certain flash locations, to debug it I made a small loop which assigns the value of each 4 byte. I found that reading at ...

sivaram by Associate III
  • 2797 Views
  • 23 replies
  • 0 kudos

Resolved! CRC calculation gives 32 bit number instead of 8 bit

Hello. I'm trying to obtain CRC value from CRC peripheral. It's supposed to give me 8 bit number. Instead it gives me 32 bit number. What am I doing wrong? Below is the code and program outputs. /* USER CODE BEGIN Header */ /** ********************...

Adar70 by Associate II
  • 312 Views
  • 1 replies
  • 1 kudos

Resolved! what does the polynomial become when crc8

Greetings. I ran into a problem, I can’t figure out how to become a polynomial if I use not 32 binary mode but in 8 bit mode. MCU STM32F072x8/xBif I use a 32-bit setting, I get the correct data and can process it on a PC, but with 8 bits it doesn’t w...

RSolo.1 by Associate II
  • 685 Views
  • 4 replies
  • 1 kudos