Other Parts Discussed in Thread: UNIFLASH
Hi,
I'm exploring some examples in the mcu+sdk about the bootloader. I noticed that the first stage uart bootloader (which is sent by UART and will download other stages and eventually Linux using UART), is linked to run from HSM memory. Why is this the case ? from the TRM, it appears that R5 runs at boot time but HSM is the memory for the M4 processor, so why do we run from HSM memory? I would appreciate it if you explain a bit and clarify.
this is the linker I'm talking about :
mcu_plus_sdk_am62x_08_04_00_16/examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage1/am62x-sk/r5fss0-0_nortos/ti-arm-clang/linker.cmd