- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are using PSoC 5LP. In our workspace, there is one bootloader project and one bootloadable project, and they are link together.
We use this tool to do PSoC FW update:
Before doing PSoC FW update, we need to call Bootloadable_Load() from bootloadable project to put PSoC in bootloader mode.
We found that, after setting PSoC to bootloader mode (calling Bootloadable_Load()), PSoC stays in bootloader mode only for a couple seconds, then it goes out of bootloader mode. So if our script is quick enough, FW download to PSoC succeeds; otherwise it fails and I can tell the PSoC returns to normal application mode.
My questions are: Why bootloader mode does not stay for longer, and how to make it in bootloader state longer?
Best regards,
Winston
Solved! Go to Solution.
- Labels:
-
PSOC5 LP MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @yaga_3967241 ,
Generally if we call Bootloadable_Load() it should wait in bootloader forever.
You can see from the below flowchart that it will wait forever in the bootloader once Bootloadable_Load() is called.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @yaga_3967241 ,
Generally if we call Bootloadable_Load() it should wait in bootloader forever.
You can see from the below flowchart that it will wait forever in the bootloader once Bootloadable_Load() is called.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Change the default setting in the bootloader project. Change bootloader component from 2 seconds to whatever timeout you need. Right-click on bootloader component, select config... and change the Wait for command time (ms). Make sure there is a check-mark in the box for "Wait for command".
Then build, download, the bootloader. Also re-build bootloadable project and download it. Then test the new bootloader timeout.
Good luck with your project.