STM32F0 BOOT
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-03-14 8:09 AM
Posted on March 14, 2013 at 16:09
Hi,
I got the a problem regarding the BOOT process, I don't know how to move the nBOOT1 pin. I have tried via software with the FLASH functions but with no good result. Also I am working with the J-link no with the ST-Link. The code I have used is taken from the AN 3310 and ported for the F0 micro: FLASH_Unlock(); FLASH_OB_Unlock(); FLASH_ClearFlag(FLASH_FLAG_EOP|FLASH_FLAG_WRPERR |FLASH_FLAG_PGERR |FLASH_FLAG_WRPERR | FLASH_FLAG_BSY ); FLASH_OB_UserConfig(OB_IWDG_SW, OB_STOP_NoRST, OB_STDBY_NoRST); if (FLASH_OB_BOOTConfig(OB_BOOT1_RESET) == FLASH_COMPLETE) { /* generate System Reset to load the new option byte values */ FLASH_OB_Launch(); } The function BOOTConfig returns FLASH Erorr, got form the previous operation. Thanks
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
