blob: 8a9f2588c368460dc1128d9212931765a4aa8a38 [file] [log] [blame]
Éú³É°üº¬bootloaderºÍapplicationµÄºÏ²¢.hex,²»ÐèÒª¼ÓÃÜ
1£¬ÔÚapplicationĿ¼Ï±àдmerge.iniÎļþ
2£¬ÔÚhexĿ¼Ï·ÅbootloaderµÄ.hexÎļþ£¬ÕâÀïÊÇSTM32IAPCombine.hex
3£¬keil optionsÀïµÄdebugÀïÃæÑ¡Ôñuse simulator£¬°´ctrl+F5ÔÚhexĿ¼ÏÂÉú³ÉºÏ²¢.hex,ÕâÀïÊÇwaterctrl_combine.hex
4£¬´ò¿ªseggerÏÂJ-Flash
1) File ->open data file (Ñ¡ÔñÉú³ÉµÄwaterctrl_combine.hex)
2) Option->
project settings --Target InterfaceÑ¡ÔñSWD
project settings --CPUÑ¡ÔñDevice,ST STM32F101RB,¹´Ñ¡Check core ID
3)target --connect,Á¬½Ó³É¹¦ºó°´F7ÏÂÔØ£¬F9ÔËÐÐ
##STM32IAPCombine51.hex G401302µÄbootloader
##STM32IAPCombine50.hex G401300µÄbootloader