Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

Leon_hsiao
New Contributor

Hi Sir,

When I use "demo.hello_sensor-CYW920706WCDEVAL DIRECT_LOAD=1 build" to generate hello_sensor-CYW920706WCDEVAL-rom-ram-Wiced-release.hcd

then use client control to download hcd to ram, hello_sensor can work and I can see the log from uart.

When I use another  make :"demo.hello_sensor-CYW920706WCDEVAL download", besides hex file, I also can get "hello_sensor-CYW920706WCDEVAL-rom-ram-Wiced-release.hcd",

then I also use client control to download this hcd to ram, but hello_sensor can not work and I can't see any log from uart.

What is the hcd different between "DIRECT_LOAD=1" and "download"?

Can we use the hcd generated from "download" to download it to RAM?

0 Likes
1 Solution
SheetalJ
Moderator
Moderator

If you build using DIRECT_LOAD=1, only a hcd file will be generated which will have addresses compatible to RAM (used for RAM download).

During normal download process, hcd file will have flash addresses which cannot be used for RAM download. Also, for flash download .hex file is used, not .hcd.

View solution in original post

3 Replies
SheetalJ
Moderator
Moderator

Hi LeHs_2283161​,

There are two ways to download the program: RAM download and Flash download

Direct_load is for RAM download. Using Direct_load=1, program is built and received in RAM. It will generate the .hcd file which you will have to download using ClientControl.

In normal download mode, program is built and is available in flash. Therefore, after using "demo.hello_sensor-CYW920706WCDEVAL download", you don't need to download the hcd file again using ClientControl.

0 Likes
Leon_hsiao
New Contributor

Hi SheetalJ_96

I am just curious why the hcd built from "demo.hello_sensor-CYW920706WCDEVAL download" can't be used for RAM download.

Because my customer send me a hcd file, but I can't find any BT power output after RAM download by client control.

0 Likes
SheetalJ
Moderator
Moderator

If you build using DIRECT_LOAD=1, only a hcd file will be generated which will have addresses compatible to RAM (used for RAM download).

During normal download process, hcd file will have flash addresses which cannot be used for RAM download. Also, for flash download .hex file is used, not .hcd.

View solution in original post