音影先锋亚洲天堂网|电影世界尽头的爱完整版播放|国产 熟女 91|高清无码免费观看欧美日韩|韩国一区二区三区黄色录像|美女亚洲加勒比在线|亚洲综合网 开心五月|7x成人在线入口|成人网站免费日韩毛片区|国产黄片?一级?二级?三级

登錄 免費注冊 首頁 | 行業(yè)黑名單 | 幫助
維庫電子市場網(wǎng)
技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng)
驅(qū)動編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機 | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計 | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe

STR91x CPU是從雙Flash存儲器中的哪一個Flash啟動(自舉)的?

作者:starm 欄目:MCU技術(shù)
STR91x CPU是從雙FLASH存儲器中的哪一個FLASH啟動(自舉)的?
問:CPU是從雙FLASH存儲器中的哪一個FLASH啟動(自舉)的?
答:CPU可以從任一個FLASH存儲器啟動。CPU默認是從較大的FLASH啟動,但這可以用ST的CAPS工具軟件或第三方工具商的IDE改變。指定從哪個FLASH啟動是通過JTAG編程實現(xiàn),這一設(shè)置不會因掉電而改變,除非芯片被擦除。


如果改變默認配置, 而從較小的FLASH啟動. 這里理解為從FLASH B1 啟動.

1.9 FMI register DESCRIPTION
The FMI Registers configure the size and base address of the Bank 0 and Bank 1. The address
ranges of Bank 0 and Bank 1 must not overlap each other.
The microcontroller boots from Bank 0 by default:
In the default configuration:
● Bank 0 is the Boot Bank, after reset the application program has to write the size and base
address of Bank 0 in the FMI_BBSR and FMI_BBADR registers
● Bank 1 is the Non-Boot Bank, after reset the application program has to write the size and
base address of Bank 1 in the FMI_NBBSR and FMI_NBBADR registers
Booting from Bank 1
The microcontroller can also boot from Bank 1. The selection of the Boot Bank can be MODIFIED
using the "CAP" SOFTWARE Tool.
If Bank 1 is the Boot bank, after reset, the application program has to write the size and start
address of Bank 1 in the FMI_BBSR and FMI_BBADR registers and the size and start address
of Bank 0 in the FMI_NBBSR and FMI_NBBADR registers.


1.9.5 FMI CONTROL register (FMI_CR)
Address Offset: 18h
Reset VALUE: 0000 0008h
15 14 13 12 11 10 9          8   7     6 5 4 3 2 1 0
Reserved WWS OMIE BEIE Res. B1EN B0EN  Reserved


從這里可以看出默認只有b0是允許的(B0EN=1, B1EN=0), 那么通過CAPS修改默認啟動自FLASH B1,然而上電時FLASH B1還不可見. 難道他是自動允許的?





* - 本貼最后修改時間:2007-1-15 14:49:29 修改者:starm

參與討論
昵稱:
討論內(nèi)容:
 
 
相關(guān)帖子
STR715復位時,/STDBY是什么電平?
一執(zhí)行到CAN 程序就復位?
ST哪一款CPU有LIN總線的呢?請問
哪里可以下載到STR91x的IAP代碼例子?
關(guān)于str71外擴sram的選型
免費注冊為維庫電子開發(fā)網(wǎng)會員,參與電子工程師社區(qū)討論,點此進入


Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號