Clarifications about boot rom registers #400
Unanswered
fcuzzocrea
asked this question in
Bare metal embedded software
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I see that during initialization routines, the BSP is writing an executable allowing to park an hart in an infinite loop in the boot rom registers.
Looking at the register map, it looks like that the very same code which is being written into those registers by the BSP should be the default value of the register itself (i.e. that code should be already there as default value). What's the meaning (or the value added) of doing that also in the BSP during initalization then?
Also, as a side note, when the machine will jump to address 0x20003120 (boot_addr) and execute that code? In the documentation (the MSS Technical Reference Manual) this part is not mentioned at all.
Beta Was this translation helpful? Give feedback.
All reactions