AIROC™ CYW20829 Wi-Fi & Bluetooth® combo chip commands
provision_no_secure
Performs a transition from NORMAL to NORMAL_NO_SECURE lifecycle. CYW20829 devices come from a factory in the NORMAL lifecycle stage. In this stage, the boot code will not launch the programmed application after reset. The lifecycle must be changed to either SECURE or NORMAL_NO_SECURE stage to use the device. Normally, this task is performed using cysecuretools; this command is just a shortcut which simplifies the process. Transition to the SECURE lifecycle is not supported by this command and must be performed using cysecuretools.
Note:
This command must be executed before the init command.
provision_no_secure <service_app> <app_params> [service_app_addr] [params_addr]
Required parameters:
service_app
– File name of the binary service application image, with path
app_params
– File name of the service application's parameters image, with path
Optional parameters:
service_app_addr
– Address in the RAM where the service application will be loaded; 0x20004000 by default.
params_addr
- Address in the RAM where the service application's parameters will be loaded; 0x2000D000 by default.
Example:
The next example connects ModusToolbox™ OpenOCD CLI to the CYW9WCD1EVAL1 board with the CYW4390x MCU target, programs the flash with the
firmware.bin
file, resets the target, and finally shuts down the OpenOCD programmer.
openocd -s ../scripts -f interface/kitprog3.cfg -f target/infineon/cyw20829.cfg -c "provision_no_secure D:/service_app.bin D:/app_params.bin; exit"