This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

R AND D

HELLO I USE STM32F100RB

I WANT write and read from flash mem : /********************FLASH MEMORY******************************/ //WRITE DATA TO FLASH MEMORY
/* Unlock the Flash to enable the flash control register access *************/ HAL_FLASH_Unlock(); /* Unlock the Options Bytes *************************************************/ HAL_FLASH_OB_Unlock();

FLASH_PageErase(0);//uint32_t PageAddress HAL_FLASHEx_OBErase(); test3=FLASH_OB_ProgramData(0x080000FFU,0x12);

//HAL_FLASH_OB_Launch();//reserts the system

HAL_FLASH_OB_Lock(); HAL_FLASH_Lock(); //READ THE DATA FROM FLASH MEMORY flash_data=HAL_FLASHEx_OBGetUserData(0x080000FFU);

/********************FLASH MEMORY******************************/

but the software doesnt compile

SDT_LCD_KEYPAD\SDT_LCD_KEYPAD.axf: Error: L6218E: Undefined symbol FLASH_OB_ProgramData (referred from main.o). ?????

is there someone leaved this situation can u help me find solution pl zdid i forget something