- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From your API:
5.3 CyGetSignature
This API retrieves the signature of the device firmware.
Description
This API retrieves the signature of the device firmware.
Parameters
Parameters Description
CY_HANDLE handle Valid device handle
UCHAR * pSignature Signature returned
Question: what value is pSignature? I have hunted through your CPP code and can't find it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The correct answer is 4.
pSignature = uint(4)
anyVarFooFooselfWants = UCHAR * pSignature # array of 4 bytes of type character
After calling:
anyVarFooFooselfWants = "CYUS" # without the quotes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
anything? Take your time, I did a USB to SPI interface with microchip in 3 days, I only have 3 weeks into this chip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This default signature is "CYUS" in firmware.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The correct answer is 4.
pSignature = uint(4)
anyVarFooFooselfWants = UCHAR * pSignature # array of 4 bytes of type character
After calling:
anyVarFooFooselfWants = "CYUS" # without the quotes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the signature string is "CYUS" without quotes and the length is 4.