On Thursday, 9 April 2015 at 00:37:32 UTC, Jens Bauer wrote:
On Wednesday, 8 April 2015 at 23:23:53 UTC, Mike wrote:
I actually added that out of necessity, not optimization. Id
I use the STM32, and reset the MCU, the CCRAM is disabled by
default. Since my stack is in CCRAM, I need to first enable
it before any functions can be called.
According to ST-Microelectronics, CCMRAM is enabled by default
(by hardware).
I am using CCMRAM without enabling it, so it must be correct
what their User's Manual states.
Indeed, that's true. This problem I'm referring to only occurs
when when resetting from the system boot loader. Since I want my
stack to work under both conditions, I need to add that code.
See the discussion here for more information:
https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https%3a%2f%2fmy.st.com%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fLeave%20DFU%20while%20boot0%20is%20high%20%28STM32F4%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=1158
Mike