I forgot to said that even if the download to RAM succeed the Launch RAM return me a "response incorrect" message with "Client Control". The firmware is then not execute since no output are print to PUART
How did you compile your own version of Client Control?
The source code is provided as a QtCreator project. You can try follow QtCreator instructions to compile it.
And kindly note that: "protobuf_rpc.h"
is placed here: <wiced_btsdk>/tools/btsdk-host-apps-bt-ble/client_control/source/protobuf_rpc.h. It's provided within the source code.
And I also tried "download to RAM" using ClientControl. I re-downloaded the .hcd file listed in "./build/CYBT-213043-EVAL/Debug/BLE_HelloSensor_download.hcd" and it worked fine.
I'm not sure what the exact procedure you are following. But I think if you use ModusToolBox 2.0, then download the correct wiced_bsdk (provided beside the code examples) and code examples, then build and download, you will find it done.
The third byte of the WRITE_RAM command (and other command) stands for the command payload length. the value don't have to be the same. It only needs to match its payload.
And kindly remind that: Please use the corresponding ClientControl which platform matches the build platform of your .hcd file, to see if it solves your problem (i.e., you should only download the .hcd file built upon Windows using the Windows version of ClientControl, or download the .hcd file built upon Linux using the Linux version of ClientControl).