Bootloader Metadata

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

cross mob
alal_4838031
Level 1
Level 1
10 sign-ins 5 sign-ins First reply posted

I have a bootloader where I set the bootloader version parameter to 0xabcd. I enter the bootloader using the bootloader command and then I check the meta data using the get metadata command, I get the right bootloader version 0xabcd. I then flash the chip with a new bootloadable using the bootloader and I reset the chip. After the chip resets, it enter the bootloader and doesn't exit until I send it a command. However when I send it enter bootloader using the bootloader command and then I check the meta data using the get metadata command, I get the wrong bootloader version. Is this expected behavior or am I missing something?

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi,

What I am asking is, is this expected behavior? Or am I missing something? 

>>Yes this is the expected behaviour.

Regards

 

Alakananda

View solution in original post

0 Likes
3 Replies
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi,

Can you please refer the below attached thread and let us know if that helps you.

https://community.cypress.com/t5/PSoC-5-3-1-MCU/How-to-get-Bootloadable-Application-Version-Info/td-...

Regards

Alakananda

Alakananda
0 Likes

 

Hello,

I've already looked at Bootloader_GetMetadata and tracked down the address of the bootloader version, however I read it before I flash the chip with a bootloadable and then after I flash the chip and the value in that address changes. What I am asking is, is this expected behavior? Or am I missing something? 

0 Likes
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi,

What I am asking is, is this expected behavior? Or am I missing something? 

>>Yes this is the expected behaviour.

Regards

 

Alakananda
0 Likes