Skip to content

Running from RAM, build/zephyr/zephyr.bin missing reset vector #69630

Answered by DerekSnell
asteriskSF asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @asteriskSF ,
The vector table does not need to be at 0x0, although you could place it there. It will also work at 0x2000.

When the ROM bootloader boots the app, like booting from flash, the boot ROM needs to be told where the vector table is. But since you are loading to RAM, you will be booting the app manually using the bootloader tools. Like using the blhost execute command that you found at this post.

The vector table location is also configured in the ARM core's VTOR register, which does have an alignment requirement. I don't recall what alignment is required for the M7 core (you can review the VTOR documentation to confirm), but I know the offset of 0x2000 works, as would 0x0.

T…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@asteriskSF
Comment options

@DerekSnell
Comment options

@asteriskSF
Comment options

Answer selected by asteriskSF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants