资源描述:
《an2606:stm32系统存储器启动模式》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、AN2606ApplicationnoteSTM32™microcontrollersystemmemorybootmodeIntroductionThebootloaderisstoredintheinternalbootROMmemory(systemmemory)ofSTM32devices.ItisprogrammedbySTduringproduction.ItsmaintaskistodownloadtheapplicationprogramtotheinternalFlashmemorythroughoneoftheavailab
2、leserialperipherals(USART,CAN,USB,I2C,SPI,etc.).Acommunicationprotocolisdefinedforeachserialinterface,withacompatiblecommandsetandsequences.ThisdocumentappliestotheproductslistedinTable1.TheyarereferredtoasSTM32throughoutthedocument.Table1.ApplicableproductsTypePartnumberorp
3、roductseriesSTM32F1seriesSTM32F2seriesSTM32F05(Entry-level)products:–STM32F050x4andSTM32F050x6–STM32F051x4,STM32F051x6andSTM32F051x8STM32L1series:–STM32L151xx,STM32L152xxandSTM32L162xxMicrocontrollers–STM32L100ValueLineSTM32F3series:–STM32F302xx,STM32F303xx,STM32F313xx,STM32
4、F372xx,STM32F373xx,STM32F383xxSTM32F4series:–STM32F405xx,STM32F407xx,STM32F415xx,STM32F417xx,STM32F427xx,STM32F437xx,STM32F429xx,STM32F439xxThemainfeaturesofthebootloaderarethefollowing:●Itusesanembeddedserialinterfacetodownloadthecodewithapredefinedcommunicationprotocol●Itt
5、ransfersandupdatestheFlashmemorycode,thedata,andthevectortablesectionsThisapplicationnotepresentsthegeneralconceptofthebootloader.ItdescribesthesupportedperipheralsandhardwarerequirementstobeconsideredwhenusingthebootloaderofSTM32deviceslistedinTable1.Howeverthespecification
6、softhelow-levelcommunicationprotocolforeachsupportedserialperipheralaredocumentedinseparatedocuments.ForspecificationsoftheUSARTprotocolusedinthebootloader,refertoAN3155.ForthespecificationoftheCANprotocolusedinthebootloader,refertoAN3154.ForthespecificationoftheDFU(USBdevic
7、e)protocolusedinthebootloader,refertoAN3156.ForthespecificationoftheI2Cprotocolusedinthebootloader,refertoAN4221.May2013DocID13801Rev171/153www.st.comContentsAN2606Contents1Relateddocuments.........................................102Glossary..................................
8、................103Generalbootloaderdescription............................