- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using WICED-Studio-6.0 on CYW943907AEVAL1F platform.
I can't make both OTA and OTA2 work for CYW43907 now.
Please give your comments and advise to shoot this problems.
For OTA2, I tried the following procedures;
I can't succeed step 6. I couldn't make it
"After download, reboot the target by "update_reboot" to extract the new firmware.
After extract, reboot the target again to start new firmware running. "
For OTA, I tried the following procedures;
When I tried "Perform factory reset on the WICED evaluation board" but I couldn't succeed.
Seems to me, software updated was done but can't make factory reset.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
For ota_fr snip, Kindly include download_apps in your make target.
E.g. snip.ota_fr-CYW943907AEVAL1F download_apps download run
The console should show the FR_APP being downloaded in the device as below:
Downloading FR_APP build/snip.ota_fr-CYW943907AEVAL1F/binary/snip.ota_fr-CYW943907AEVAL1F.stripped.elf at sector 17 address 69632...
If the factort reset part doesn't work, make the following changes in your platform files:
In platforms/CYW943907AEVAL1F/platform.h
Replace
#define PLATFORM_FACTORY_RESET_BUTTON_INDEX ( PLATFORM_BUTTON_1 )
with
#define PLATFORM_FACTORY_RESET_BUTTON_INDEX ( PLATFORM_BUTTON_2 )
In platforms/CYW943907AEVAL1F/platform_config.h
Add the following lines:
#ifndef OTA2_SUPPORT
#define PLATFORM_HAS_OTA
#endif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
For ota_fr snip, Kindly include download_apps in your make target.
E.g. snip.ota_fr-CYW943907AEVAL1F download_apps download run
The console should show the FR_APP being downloaded in the device as below:
Downloading FR_APP build/snip.ota_fr-CYW943907AEVAL1F/binary/snip.ota_fr-CYW943907AEVAL1F.stripped.elf at sector 17 address 69632...
If the factort reset part doesn't work, make the following changes in your platform files:
In platforms/CYW943907AEVAL1F/platform.h
Replace
#define PLATFORM_FACTORY_RESET_BUTTON_INDEX ( PLATFORM_BUTTON_1 )
with
#define PLATFORM_FACTORY_RESET_BUTTON_INDEX ( PLATFORM_BUTTON_2 )
In platforms/CYW943907AEVAL1F/platform_config.h
Add the following lines:
#ifndef OTA2_SUPPORT
#define PLATFORM_HAS_OTA
#endif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the answer.
> The console should show the FR_APP being downloaded in the device as below:
> Downloading FR_APP build/snip.ota_fr-CYW943907AEVAL1F/binary/snip.ota_fr-CYW943907AEVAL1F.stripped.elf at sector 17 address 69632...
I confirmed this message on my console.
> If the factort reset part doesn't work, make the following changes in your platform files:
> In platforms/CYW943907AEVAL1F/platform.h
> Replace
> #define PLATFORM_FACTORY_RESET_BUTTON_INDEX ( PLATFORM_BUTTON_1 )
> with
> #define PLATFORM_FACTORY_RESET_BUTTON_INDEX ( PLATFORM_BUTTON_2 )
I tried but it doesn't fix the problem.
> In platforms/CYW943907AEVAL1F/platform_config.h
> Add the following lines:
> #ifndef OTA2_SUPPORT
> #define PLATFORM_HAS_OTA
> #endif
This setting is already included.
I think I can write a new software by OTA but I can't change back to the original software
by factory reset. I don't see D1 LED flash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May I ask one question just to clarify the procedure?
Hold the SW1(USER_1) button. While you are holding the button, press and release the RESET button momentarily. Keep the SW1/USER_1 button pressed for further 5 seconds.
Have you followed the same steps?
Also kindly try in the recent SDK 6.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I followed the exact same procedure (steps).
I tried SDK 6.1. LED D1 flashes but software doesn't come back to the original one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After momentarily pressing and releasing the reset button, Keep the SW1 pressed unless the LED stopes flashing.
A demo can be seen here: https://youtu.be/m-O9XoDqnwk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank for the video.
I confirmed that I am doing same procedure as you.
In you video, LED D1 and D2 start blinking but my result is only D1 blinking.
My board looks different from yours.
I am using CYW943907AEVAL1F board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
His board is CYW54907 based. This is essentially a CYW43907 with .ac added.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I succeeded to do Factory reset for OTA on SDK6.1.
The position of following code is wrong in platform_config.h;
#ifndef OTA2_SUPPORT
#define PLATFORM_HAS_OTA
#endif
If I put these lines in front of [#include "platform_config_bsp_default.h"] Factory reset worked.
(But still doesn't work on SDK6.0.)
Thank you for your support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. That would be the correct location to be able to reset the device.