|
|||||||||||
| 技術(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ù) |
問: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 |
|
|
| 免費注冊為維庫電子開發(fā)網(wǎng)會員,參與電子工程師社區(qū)討論,點此進入 |
Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號 |