cyw20719 Debugging why it requires a reset to program

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
kmantem
Level 1
Level 1
10 sign-ins 5 questions asked 5 sign-ins

Hi,

We are noticing that sometimes after we push a program via ModusToolbox the board requires a reset operation to program again.    

It does not happen with all code that we deploy, but code that seems to talk to I2C or SPI bus seems to be more frequent than not.

What do we need to look for to determine why the board will not flash to remove the need for a reset operation to occur?

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

You should do a recovery procedure on every download. It is recommended. If you are using a Evaluation kit, you have to do below steps to put the device into recovery mode.

Press and hold Recover button -> Press and Release Reset button -> Release Recover button.

Here the recovery button is connected to UART CTS pin. The device behavior depends on the state of CTS (MCU side RTS) when RST_N (Reset) is de-asserted. If CTS is LOW at this time, the device enters the autobaud state (download mode). 

Please go through https://github.com/Infineon/btsdk-docs/blob/master/docs/BT-SDK/WICED-HCI-Firmware-Download.pdf  (3. Entering Download Mode)

Thanks,

-Dheeraj

View solution in original post

0 Likes
1 Reply
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

You should do a recovery procedure on every download. It is recommended. If you are using a Evaluation kit, you have to do below steps to put the device into recovery mode.

Press and hold Recover button -> Press and Release Reset button -> Release Recover button.

Here the recovery button is connected to UART CTS pin. The device behavior depends on the state of CTS (MCU side RTS) when RST_N (Reset) is de-asserted. If CTS is LOW at this time, the device enters the autobaud state (download mode). 

Please go through https://github.com/Infineon/btsdk-docs/blob/master/docs/BT-SDK/WICED-HCI-Firmware-Download.pdf  (3. Entering Download Mode)

Thanks,

-Dheeraj

0 Likes