I am learning my way through smth32f746ng microcontroller, and ran in to few questions regarding flash and writing to flash with OpenOcd.
So opoenOCD writes by default to first bank of flash at adress 0x0. Processor can access flash via ITCM bus or AXIM with adresses of 0x08000000(Itcm) or 0x00200000(Axim). As i assume, when process reads instruction from lets say 0x08000000 via ITCM bus it therefore reads 0x0 flash address.
The question is: When processor boots up, what register controlls the intial way of fetching the first instruction. Will it fetch using ITCM or AXIM bus?
If anyone could point me tot he right place in docs would be awesome.