CY7C65211 - How to configure user's settings on Linux?

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

cross mob
NaMo_1534561
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 100 sign-ins 50 replies posted

Hi,

Description:
CY7C65211/CY7C65211A has a User flash area.The total space available is 512 bytes.
The flash area address offset is from 0x0000 to 0x00200.

However, the configuration data written from the windows utility can not read from Linux.
All the data by reading CyReadUserFlash API is always zero.


Question:
Does the Windows configuration utility store the configuration data to another address?
How to configure user's settings on Linux?

Best Regards,

Naoai Morimoto

 

0 Likes
1 Solution
Meghavi
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 10 likes received

Hi Naoai-san,

If the API returned zeros which means that the API returned successfully. According to you, the API is returning zero, so it should not print "Failed to read user flash".

Please ensure that for reading and writing into the user flash (512KB), the CyReadUserFlash and CyProgUserFlash APIs are used and it has nothing to do with the configuration file i.e. you can store any information in user flash area and read it. 

Also, It is not possible to read the configuration of the USB-Serial without using the configuration utility.

Regards,

Meghavi

View solution in original post

0 Likes
1 Reply
Meghavi
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 10 likes received

Hi Naoai-san,

If the API returned zeros which means that the API returned successfully. According to you, the API is returning zero, so it should not print "Failed to read user flash".

Please ensure that for reading and writing into the user flash (512KB), the CyReadUserFlash and CyProgUserFlash APIs are used and it has nothing to do with the configuration file i.e. you can store any information in user flash area and read it. 

Also, It is not possible to read the configuration of the USB-Serial without using the configuration utility.

Regards,

Meghavi

0 Likes