- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.