- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As per KBA89285 I found these register address 0xE507 to 0xE50C holds unique id but I am getting same id for each Cypress FX2LP controller . I have used following methods to declare in header file and these variable are used in main file used directly
// Unique ID
EXTERN xdata volatile BYTE UNIQUEID1 _AT_ 0xE507; // UID1
EXTERN xdata volatile BYTE UNIQUEID2 _AT_ 0xE508; // UID2
EXTERN xdata volatile BYTE UNIQUEID3 _AT_ 0xE509; // UID3
EXTERN xdata volatile BYTE UNIQUEID4 _AT_ 0xE50A; // UID4
EXTERN xdata volatile BYTE UNIQUEID5 _AT_ 0xE50B; // UID5
EXTERN xdata volatile BYTE UNIQUEID6 _AT_ 0xE50C; // UID6
is it right method?
- or Any other methods are available for reading unique id in fx2 ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Each FX2LP has a unique ID stored in the registers as mentioned in the KBA article.
I have attached an example project which updates its serial number with the unique ID of the device. Please refer to the InsertSerialNumber() in the firmware for implementation.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Each FX2LP has a unique ID stored in the registers as mentioned in the KBA article.
I have attached an example project which updates its serial number with the unique ID of the device. Please refer to the InsertSerialNumber() in the firmware for implementation.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for your response . I am getting different Unique Id for each FX2 controller if REVID is 1 but if REVID is 4 I am getting 0 as unique id for each FX2 controller, which is not unique. Why Unique ID is NOT unique for REVID:4 FX2 controller?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for your response . Now I am able to read unique id in cypress FX2 controller.
I observed one thing when my REVID register value is 0004 than my unique id registers values are zero and when my REVID register value is 0001 than I get different unique id register values in different controller. Any solution for this problem .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content