8K alignment in vector table

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DSRnathan
Level 3
Level 3
50 sign-ins 25 replies posted 25 sign-ins
Hello developers,
What is meant by 8K alighment in settiing the address of the vector table.
3810.attach

Kindly help me in this regard.

Thank you all for your support.
0 Likes
3 Replies
cwunder
Employee
Employee
5 likes given 50 likes received 50 solutions authored
The BIV should be double word aligned. The 8K is a space reservation if you assume 32 bytes per entry and 256 entries (8192). You can also set the VSS=1 such that the full vector table space would only consume 2k.
0 Likes
DSRnathan
Level 3
Level 3
50 sign-ins 25 replies posted 25 sign-ins
hi cwunder,
Thank you very much for the resonse , can you please provide me an example, ow does the address will look if i am setting it the starting of the vector table.?
Kindly shed some light.
Many thanks in advance.
0 Likes
cwunder
Employee
Employee
5 likes given 50 likes received 50 solutions authored
Usually you define the BIV value and space in the lsl file and then take the linker symbol for this and use it in your startup code. Look at the base project in Bifaces and see the file ifx_Ssw_Tc0.c for an example.
0 Likes