Dec 06, 2017
02:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 06, 2017
02:29 PM
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
Dec 18, 2017
09:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 18, 2017
09:12 PM
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.