Author Topic: STM32F4xx and core coupled memory: comments?  (Read 2458 times)

0 Members and 1 Guest are viewing this topic.

Offline peter-h

  • Super Contributor
  • ***
  • Posts: 1143
  • Country: gb
  • Doing electronics since the 1960s...
Re: STM32F4xx and core coupled memory: comments?
« Reply #25 on: October 26, 2021, 07:16:41 pm »
"A related issue is that you shouldn't put the main stack in CCM either.  The core will fail to correctly save exception state to a stack in CCM"

I have not found that. I was developing with the main stack at the top of the CCM and everything ran fine. Ethernet, USB, comms, all under interrupts. 32F417.

"NVIC can't fetch vectors from CCM, so if you set up a vector table there (via the NVIC VTOR register) it won't work "

Thanks for that; noted and documented in my project. I am not going to test it though :) I guess it isn't totally surprising.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 90S1200 32F417

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo