F/W Mass download method for CYW20719

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

cross mob
SeunghanLim
Level 5
Level 5
Distributor - Changnam INT
250 sign-ins 50 replies posted 50 questions asked

Hi~

Our customer has to download Mass F/W download for each chips.

But, they are struggling with download speed consumption.

Their current download method is like as below

 Method :

                    1. Using 'cgs.exe' to combilne f/w and own BD Address. and then, make hex file.

                    2. After that, download firmware with chiploader.

                     3. Download in same time with CYW20719 as maximum count 15

They have to find a more efficient way.

Please let me know the proper way to solve that issue above.

Thanks alot

BRs

 

 

 

Daniel Lim
0 Likes
1 Solution

Customer can use the module programmer and configure the bd_addr in the tool.

The hci command to write bd_addr is for CYW20706 and not for CYW20719 because it needs to write bd_addr to all FF at first.

View solution in original post

0 Likes
9 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Could you try to program the board with the module programmer which can set the bd address. Please choose a CYW20719 based module such as CYBT-413055 and select the UART adpater board.

https://community.infineon.com/t5/Knowledge-Base-Articles/WICED-Module-Programmer-User-Guide-KBA2250...

0 Likes
SeunghanLim
Level 5
Level 5
Distributor - Changnam INT
250 sign-ins 50 replies posted 50 questions asked

Thank you for your prompt reply.

But they already known the link which you shared.

They are using the cgs.exe to make hex file for 15 devices at a time. It took 30sec for each time.

During that procedure, it took 6~7Sec for firmware download by using chiploader.

The link file which you shared is not specified program and cannot be customized.

So, they cannot introduce it to end-customer. Because they have some difficulties to handle it.

And eight devices can be downloaded for each time. It is not helpful to reduce download time compared with current system which they used to.

So, I want to know two things for solving that issue at that moment.

First, can you give source code to build firmware download file to customize ?

Second,  Is there any other method to reduce time?

Daniel Lim
0 Likes

The bdaddr is stored in the ss section of the flash. You can find it in the hex file as follows. Customer may try to change it. It may be faster than the cgs.exe.  Please make sure the check sum is also changed in your file.

Owen_Zhang123_0-1663578386225.png

 

0 Likes
SeunghanLim
Level 5
Level 5
Distributor - Changnam INT
250 sign-ins 50 replies posted 50 questions asked

Hi Owen

I actually didn't understand fully what you mean.

Can I change  bdaddr by using hci command  like as below link or another tool? 

Solved: 20719-B2 Firmware download via external HCI-UART C... - Infineon Developer Community

 

BRs

 

Daniel Lim
0 Likes

Hi Daniel,

The module programmer tool has the function to configure the BD ADDR during the programming. It reads the data from the .hex file and change the BD_ADDR part. Then program it to the device. Customer may set the BD_ADDR this way.

Best Regards,

Owen

SeunghanLim
Level 5
Level 5
Distributor - Changnam INT
250 sign-ins 50 replies posted 50 questions asked

Okay I understood nearly now.

First, I cannot find CYW20719 in WICED Module Programmer which you shared.

Second, Can I extend number of Devices as 8 to 15?

Many thanks

 

BRs

Daniel Lim
0 Likes

You can select a CYW20719 based module for the download. The programmer can't extend device number.

I would suggest the customer to change the BD_ADDR in a similar way. They can still program their device as before.

0 Likes
SeunghanLim
Level 5
Level 5
Distributor - Changnam INT
250 sign-ins 50 replies posted 50 questions asked

Hi~ Owen

 

Can I know the details for your description above or sample code?

And Furthermore, They(Our customer) found through community site, it is described that the CYW20719 cannot permanently write the Bluetooth address with the Write_BD_ADDR command.

Solved: Unable to use Factory Commit BD ADDR command using... - Infineon Developer Community

Please confirm the above two requests.


BRs

 

Daniel Lim
0 Likes

Customer can use the module programmer and configure the bd_addr in the tool.

The hci command to write bd_addr is for CYW20706 and not for CYW20719 because it needs to write bd_addr to all FF at first.

0 Likes