Ploblem of Bootloadable Program

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

cross mob
Anonymous
Not applicable
        Hello, I am trying to do PSoC5LP bootable program work with Pioneer Kit.   
I can build a project and write into P5LP,   
According to Pioneer Kit User guide -   
6.3.1 Building a Bootloadable project for the PSoC 5LP   
   
After writting a program, P5LP is working as expected.   
But, when everytime resetting this, P5LP enter to boot-loading mode.   
I can't enter to working mode, never again.   
Does anyone knows around this, please let me know.   
0 Likes
2 Replies
Anonymous
Not applicable

If possible (with PsoC4 is it so I think also with PSoC5), program the PSoC with the bootloader+application combined hex file and than debug the bootloader one with the PSoC Creator "debug without programming". Do this to leave the flash with also the application part. The bootloader generated code stays in bootloader mode if the application part of flash isn't as aspected to it, for example with a checksum that doesn't match with one into metadata part of flash (half of last flash row). Tracing bootloader after a reset catch the reason for application start's missing.

   

 

   

Fabio

0 Likes
Anonymous
Not applicable
        Hi ftoffolon-san "Konnitiwa"   
Thank you so much for your answer.   
Finally, I find a way to activate own program on P5LP.   
Need to activate PSoC4 chip, when wnat to enter P5LP working-mode (not boot-loading mode)   
To set J13(ON) that is OK   
   
So far, I find a interesting article of Bootloader   
[ http://www.element14.com/community/thread/27067?tstart=0 ]   
This is Bootloader it self.   
   
Thank you again.   
0 Likes