Does hcd file have different type?

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

cross mob
LeonH
Level 4
Level 4
Distributor - Arrow(GC)
100 sign-ins First solution authored 50 sign-ins

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
Moderator
First comment on KBA 750 replies posted 500 likes received

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