STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I have enabled level 1 rop in stm32f030c8, now my code is not working in device and m not able to load fresh code or debuge it using attolics true studio.

here's my code for RDPprotection:void Flash_SetRDPLevel(uint8_t ReadProtectLevel) //level 1 (0xBB){ uint32_t tmp_reg; Unlock(); OB_unlock();  /* Read RDP level bits */  tmp_reg = (FLASH->OBR & (FLASH_OBR_RDPRT1 | FLASH_OBR_RDPRT2));  //if (tmp_re...

shikha by Associate II
  • 406 Views
  • 3 replies
  • 0 kudos

Optimizing X-CUBE-CRYPTOLIB for memory constraint

Hello!I want to use Asymmetric Crypto algorithms like ECC or RSA for my FreeRTOS project running on STM32F051K8. The controller has 64 KB of flash. Since X-CUBE-CRYPTOLIB occupies quite large memory footprint, my FLASH is getting overflowed by the .t...

0690X00000AQxHwQAL.png

CRC16 for STM32F030

I am trying to use the hardware peripheral on the STM32F030 to calculate a 16-bit CRC for a modbus RTU application. But I don't know how to do it.

Yq by Associate
  • 411 Views
  • 3 replies
  • 0 kudos

STM32F0 read out protection problem

Posted on March 30, 2017 at 10:13Hi,I would like to use a software read protection on STM32F0. I've made such a function:PROTECT_STATUS ReadProtectionConfig(uint8_t ProtectionLevel){ uint8_t status = OK; FLASH_OBProgramInitTypeDef OB_Init; HAL_FLASH...