- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In order to start the bootloader, can it be done with a software reset? Or do I need a hardware reset?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
(1) To start bootloader from bootloadable via fimware, user needs to schedule bootloader in metadata and software reset the device. Bootloadable component supports Bootloadable_Load() API for this.
void Bootloadable_Load(void)
{
/* Schedule Bootloader to start after reset */
Bootloadable_SET_RUN_TYPE(Bootloadable_SCHEDULE_BTLDR);
CySoftwareReset();
}
(2) Upon power on reset, the bootloader will wait for new image for 'Wait for command time' specified in configuration window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
(1) To start bootloader from bootloadable via fimware, user needs to schedule bootloader in metadata and software reset the device. Bootloadable component supports Bootloadable_Load() API for this.
void Bootloadable_Load(void)
{
/* Schedule Bootloader to start after reset */
Bootloadable_SET_RUN_TYPE(Bootloadable_SCHEDULE_BTLDR);
CySoftwareReset();
}
(2) Upon power on reset, the bootloader will wait for new image for 'Wait for command time' specified in configuration window.