- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to download the firmware to the board throught hci uart and read the flash, are there any related demo code or documents, thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The HCI UART is configured in the parameter const wiced_transport_cfg_t transport_cfg. You can find it in the hello_sensor demo.
Please find the OTA demo below: GitHub - cypresssemiconductorco/Code-Examples-BT-SDK-for-ModusToolbox: These examples demonstrate th... . Located in Code-Examples-BT-SDK-for-ModusToolbox-master\CYW920819EVB-02\apps\snip\ota_firmware_upgrade.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please refer to the document WICED-HCI-Control-Protocol.pdf in ModusToolbox_1.1\libraries\bt_20819A1-1.0\docs\BT-SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Uart of my device is connected to the CYW920819evb's HCI Uart, and I want to communicate with hci uart. If my device wants to send the fireware to the CYW board, how can i confige the hci uart?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The default baudrate is 115200 and you can speed up it by sending vendor-specific UPDATE_BAUDRATE command. Please refer to the doc I mentioned before in chapter 2.6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, the document you referred is helpful. I know the hci commands needed to upate firmware and as well as the format.
However, i still have same questions
1. After my board connected to CYW92018evb by hci uart, what functions should I call to config the hci uart in order to communicate with my device? As far as I know, in order to use PUART, wiced_hal_puart_init is called to init the uart, wiced_hal_puart_read and wiced_hal_puart_print are used for reading and writing(refer to the pic below). Are there functions like those for hci uart to write and read. Any demo code from github?
2.Is there any demo code about OTA_upgrade_firmware(refer below)
3. Where can I get the clientcontrol.exe installation package?
4. I have got the img file(.hex), can I use clientcontrol.exe to download to the board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The HCI UART is configured in the parameter const wiced_transport_cfg_t transport_cfg. You can find it in the hello_sensor demo.
Please find the OTA demo below: GitHub - cypresssemiconductorco/Code-Examples-BT-SDK-for-ModusToolbox: These examples demonstrate th... . Located in Code-Examples-BT-SDK-for-ModusToolbox-master\CYW920819EVB-02\apps\snip\ota_firmware_upgrade.