Download embedded app (.hcd) to RAM through unreliable UART for CYW20706

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

cross mob
LJYe_2922526
Level 5
Level 5
25 likes received 10 likes received 5 likes given

Hi again CYW20706 wizards,

For my project I have to download embedded app (.hcd) to RAM through unreliable UART from the host MCU. Reading through the guide there seems to be two ways to verify the app download is not corrupted: RAM_READ and CRC check HCI commands.

CRC check:

01 CC FC 08 xx xx xx xx yy yy yy yy

READ_RAM:

01 4D FC 05 xx xx xx xx yy

My question is can they be used for any address (RAM region rather than serial flash)? Are there any other ways to check RAM?

Thanks!

1 Reply
LJYe_2922526
Level 5
Level 5
25 likes received 10 likes received 5 likes given

I have tested both commands and I think the answer is CRC check does not work on RAM, but READ_RAM works (as its name suggests, big surprise). Since HCI document suggest READ_RAM works on flash, I guess it would work on any address.