- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the OTA example the Bootloader service is disabled by default, and it is necessary to use the SW2 button.
How can I change this service to be always enabled or maybe change the trigger to something else so I do
not have to use any physical buttons to perform the OTA.
Thanks
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should be able to modify either the bootloader or the code in the application to either have the bootloader service always available, or to immediately enable it upon bootup/new image boot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the example, the button triggers the bootloader with an interrupt, change the code to call the code in the interrupt when you want to switch to bootloader mode. (IIRC it is using an ISR to trigger from the button, and changing the ISR to be fired by something else should work).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And if I want that the bootloader service will be Always enable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should be able to modify either the bootloader or the code in the application to either have the bootloader service always available, or to immediately enable it upon bootup/new image boot.