Hi, I have several questions about the boot rom action.
After reset, the device will always fetch the instruction resides in 0x3FFFC0 and then redirect to the InitBoot code. Now I can see the code of InitBoot and it does the following:
;-----------------------------------------------
; _InitBoot
;-----------------------------------------------
;-----------------------------------------------
; This function performs the initial boot routine
; for the boot ROM.
;
; This module performs the following actions:
;
; 1) Initalizes the stack pointer
; 2) Sets the device for C28x operating mode
; 3) Calls the main boot functions
; 4) Calls an exit routine
;-----------------------------------------------
1. So for POR, the Boot ROM Action1,2,3 happens before the device fetch the instruction resides in 0x3FFFC0, right? Action 4 begins with fetching the instruction resides in 0x3FFFC0?
2. What does RAM initialization do?
For example, is it in this step that the space for ".ebss"(global variables) is allocated? If this is the case, after I upgrade the app code on the device and the global variables space(.ebss) increases, how can I allocate larger space for them in RAM without POR, can I do that with a code?