Translation - Japanese: CYBLE-013025-00モジュールへのダウンロード– KBA222505 - Community Translated (JA)
How to program application code to the CYBLE-013025-00 module?
The HCI-UART interface is used to download the application code to our modules in development or for production. To download your application, you need to follow the hardware setup and software procedure shown below. A recovery procedure may be required to download the application successfully, if errors are encountered during programming.
The HCI-UART interface available on the CYBLE-013025-00 does not support hardware flow control, so only the HCI-UART Tx/Rx signals need to be connected to allow for programming of the module. Ensure that the HCI-UART Tx/Rx signal connections are accessible during the programming step (access can be on the host board, or as part of a customer developed manufacturing programmer). The programming steps will differ depending on use-case (evaluation kit versus module only).
I. To program a stand-alone CYBLE-013025-00 module on a host board
Figure 1. Connection between CYBLE-013025-00 and FT232
Tips: The Tx signal on most USB-to-UART bridges is HIGH after power-on. Power cycling (OFF then ON) the USB-to-UART bridge can put the module into HCI mode if the default Tx signal level is HIGH on initial power up.
II. Program the CYBLE-013025-00 module on the CYBLE-013025-EVAL evaluation kit
The CYBLE-013025-EVAL kit includes a USB-to-UART chip integrated on the kit. Customers can connect the evaluation board directly to PC via USB. To enable HCI-UART communication on the evaluation board, follow the steps and configurations below:
Figure 2. Top and Bottom View of CYBLE-013025-EVAL
“Tools\ChipLoad\Win32\ChipLoad.exe -BLUETOOLMODE -PORT COM52 -BAUDRATE 115200 -MINIDRIVER Platforms/BCM920737TAG_Q32/uart_DISABLE_EEPROM_WP_PIN1.hex -BTP Platforms/BCM920737TAG_Q32/20737_SFLASH.btp -CONFIG build/ezserial_013025-CYBLE_013025_EVAL-rom-ram-Wiced-release/ezserial_013025-CYBLE_013025_EVAL-rom-ram-Wiced-release.hex -CHECKCRC -NOVERIFY -DLMINIDRIVERCHUNKSIZE 251”
Notes on the colored items above:
This should be replaced by the name of the target .hex file desired to be programmed to the module, along with its folder name.
This is the COM port number assigned by the PC.
This is the minidriver .hex file. The minidriver is a set of code and data that replaces the download code in the ROM of the CYW20737 chipset used on the CYBLE-013025-00 module.
This is the Serial Flash configuration file for the CYW20737 chipset.
Refer to Figure 3 and Figure 4 for command line implementation used for programming.
Figure 4. Screenshot when Downloading Starts
Figure 5. Screenshot when Programming Completes
3. Performing a Recovery Procedure
In some cases, the firmware download procedure fails even though all connections and switch configurations are correct. This may occur because of SFLASH corruption due to incorrect a1pplication design, attempting to load large firmware image (application size should not exceed ~26 KB), or power loss during a firmware download process. If any of these issues occur, you will need to recover the module using the below steps:
find_me-CYBLE_013025_EVAL recover UART=COM17