My question: what's stored in OTP (with ECC) should be block like with custom bootloader?
Yes, the entire block from vector table to the signature block would live in OTP. The bootrom code copies all of what's inside (OTPBOOT_SRC, OTPBOOT_LEN) to OTPBOOT_DST0/1 and then treats it like any other RAM-only image.Is the meta block also copied in RAM, or just stays there only in OTP?
Also having checked the datasheet again:
So images indeed need to start with a vector table if there's no VECTOR_TABLE metadata block. The vector table at the start of the image being the actual thing and not the metadata block AFAIK, that part is confusingly written referring to both as VECTOR_TABLE.Note if there is no ENTRY_POINT or VECTOR_TABLE, Item,
then a VECTOR_TABLE at the start of the image is assumed.
This also answers the question from earlier, (on ARM) there's no default entry point because you always need to specify one.
Statistics: Posted by Tharre — Tue Jul 08, 2025 11:30 am