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

PSoC™ 4 Forum Discussions

Devon
Level 1
First solution authored First reply posted First question asked
Level 1

Hi,

    I have two projects(Bootloader&Bootloadable)

    In the Bootloadable project, I choose the bootloader hex and elf file).

    Next I use the I2C bootload Host to update the board, it shows I update success.

    If I add "Bootloadable_Load()" in the bootloadable project, I found follows:

        1. I Can bootload the board many times, this is correct

        2. While I test the process, I found the board always in the process of bootloader project

    If I do not add "Bootloadable_Load()" in the bootloadable project , I found follows:

       1. I can bootload the board only one time, this is not correct

        2. While I test the process, the process change to bootloadable project. This is what I want.

 

    So, above two projects are not 100% correct. Do you have any suggestion in the bootloadable project?

0 Likes
1 Solution
Devon
Level 1
First solution authored First reply posted First question asked
Level 1

Hi Alakananda,

    I know why! Because I use bootloadable_Load() in main loop. 

 

View solution in original post

0 Likes
3 Replies
Alakananda_BG
Moderator
Moderator 250 sign-ins 250 replies posted 100 solutions authored
Moderator

Hi @Devon ,

Can you refer to the below code example and let us know if that helps.

https://www.infineon.com/dgdl/Infineon-CE221653_PSoC_4_Bootloader_and_Bootloadable-Code%20Example-v0...

Regards,

Alakananda
0 Likes
Devon
Level 1
First solution authored First reply posted First question asked
Level 1

Hi Alakananda,

       I follow the example to build two projects as attachment. 

       I fount :

         1. bootloader project can't flash the led

          2.  When I bootlaod the board, after 7s the board will change to bootloader project.

IMG_4352 is the vedio for the step I do.

 

0 Likes
Devon
Level 1
First solution authored First reply posted First question asked
Level 1

Hi Alakananda,

    I know why! Because I use bootloadable_Load() in main loop. 

 

0 Likes