How to download program into the module CYBT-343026-01 in WICED 6.2

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

cross mob
XiaoPing_Yang
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hi Sir ,

     How to download program into the module CYBT-343026-01 in WINCED 6.2?

     Thanks.

0 Likes
1 Solution
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

Hi Xiaoping,

Have a look at this How to programm a CYBT-343026-01 module and design part files

Post your questions here if any.

Roy Liu

View solution in original post

0 Likes
11 Replies
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

Hi Xiaoping,

Have a look at this How to programm a CYBT-343026-01 module and design part files

Post your questions here if any.

Roy Liu
0 Likes

Hi  yliu,

    I have tried ,but  it does not work.

    I want to know where and how to set com Baud rate  ?

   Thanks.

0 Likes
WinstonF_61
Moderator
Moderator
Moderator
100 likes received 100 sign-ins 50 solutions authored

Hi,

You need to use the HCI UART Pins to download the code. Pins 16,17,18,20 on the Module are the HCI UART Pins.

Any USB to UART or TTL level Serial connection can be used from the PC Running WICED. For more details refer to the CYBT-343026-EVAL board schematics. http://www.cypress.com/documentation/development-kitsboards/cybt-343026-eval-ez-bt-module-arduino-ev...

Include these platform files to the WICED Platform folder. Platform Files for CYBT-343026-EVAL – KBA221025

You may also define the COM port no to the Build statement by adding UART=COM#

Regards
Winston
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Hi Xiaoping,

Do you want to program the ez-serial firmware or your own application in the SDK?

First you need to download and add the platform files to your WICED SDK. Refer to the following KBA:

Platform Files for CYBT-343026-EVAL – KBA221025

If you want to download your own application, just change the make file as the KBA and then compile and download it using a USB-UART tool.

If you want to download a .hex file, you need to

(1) Create a new folder in the C:\Users\xxxx\Documents\WICED-Studio-6.2\20706-A2_Bluetooth\build folder, such as "ezserial_343026-CYBT_343026_EVAL-rom-ram-Wiced-release" and then put your own .hex file (for example "ezserial_343026-CYBT_343026_EVAL-rom-ram-Wiced-release.hex") into it

(2) Open the command window, locate to the file "C:\Users\xxxx\Documents\WICED-Studio-6.2\20706-A2_Bluetooth".

(3) Use the following command to download the .hex file to your moudle (change the "-PORT COM12" to your HCI UART PORT, change the .hex file "ezserial_343026-CYBT_343026_EVAL-rom-ram-Wiced-release/ezserial_343026-CYBT_343026_EVAL-rom-ram-Wiced-release.hex" to your own .hex file location):

"..\wiced_tools\ChipLoad\Win32\ChipLoad.exe -BLUETOOLMODE -REBAUDRATE 1000000 -LAUNCHADDRESS 0x00000000 -PORT COM12 -BAUDRATE AUTO -MINIDRIVER Platforms/CYBT_343026_EVAL/uart.hex -BTP platforms/CYBT_343026_EVAL/20706_SFLASH.btp  -CONFIG build/ezserial_343026-CYBT_343026_EVAL-rom-ram-Wiced-release/ezserial_343026-CYBT_343026_EVAL-rom-ram-Wiced-release.hex"

You can refer to the following KBA for details: Programming an EZ-BT WICED Module – KBA223428

If you still can't download to the module, please try to recover the device refering to the above KBA.

Hi  sir ,

     I have found a new problem as follows:

    C:\Users\yang\Documents\WICED-Studio-6.2\20706-A2_Bluetooth>..\wiced_tools\ChipL

   oad\Win32\ChipLoad.exe -BLUETOOLMODE -REBAUDRATE 1000000 -LAUNCHADDRESS 0x000000

   00 -PORT COM3 -BAUDRATE AUTO -MINIDRIVER Platforms/CYBT_343026_EVAL/uart.hex -BT

   P platforms/CYBT_343026_EVAL/20706_SFLASH.btp  -CONFIG build/hello_sensor-CYW920

   706WCDEVAL-rom-ram-Wiced-release/hello_sensor-CYW920706WCDEVAL-rom-ram-Wiced-rel

   ease.hex

ERROR! Failed to open file platforms/CYBT_343026_EVAL/20706_SFLASH.btp

0 Likes

Have you downloaded the platform files? Can you find the file in the folder?

0 Likes

Hi sir,

     I have change the  name of   20706_SFLASH.btp to CYBT_343026_EVAL_SFLASH.btp , the problem have been resolved.

     Thanks.

0 Likes
XiaoPing_Yang
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hi Sir ,

    I have reinstalled Winced, but not have new errs:

  

C:\Users\yang\Documents\WICED-Studio-6.2\20706-A2_Bluetooth>..\wiced_tools\ChipL

oad\Win32\ChipLoad.exe -BLUETOOLMODE -REBAUDRATE 1000000 -LAUNCHADDRESS 0x000000

00 -PORT COM3 -BAUDRATE AUTO -MINIDRIVER Platforms/CYBT_343026_EVAL/uart.hex -BT

P platforms/CYBT_343026_EVAL/CYBT_343026_EVAL_SFLASH.btp -CONFIG build/hello_sen

sor-CYW920706WCDEVAL-rom-ram-Wiced-release/hello_sensor-CYW920706WCDEVAL-rom-ram

-Wiced-release.hex

Trying baudrate 115200   Conn: PORT=COM3    BAUDRATE=115200

Trying baudrate 3000000   Conn: PORT=COM3    BAUDRATE=3000000

Downloaded 0 code bytes ( 0.0%) and 0 data bytes ( 0.0%). Verified 0 code bytes

( 0.0%) and 0 data bytes ( 0.0%).   Current state: Terminated with error

Failed to determine baud rate

0 Likes

Please try to recover the module before you program it.

refer to the 3rd part of this KBA: Programming an EZ-BT WICED Module – KBA223428

Hi sir,

     I  recovery the module as follows:

     1.  SPI2_MOSI  to GND;

     2.   RESET to GND  1 second;

     3.  release RESET;

     4 . release SPI2_MOSI .

  Then reprogram .

  Thanks.

0 Likes