I am doing a simple flash erase write read operation on the CY8CPROTO-062S3-4343W PSOC6 kit.
I am following the exact code snippet shown in the below link.
I can read the flash info via the cyhal_flash_get_info function. But erase and write operations are not happening.
I tried both blocking and nonblocking erase and write. Both weren't successful.
0x4020900 - This is the error code is returned from the cyhal_flash_start_write and cyhal_flash_start_erase finctions.
Could you help me to resolve this problem?
PSoC 6 MCU
Hello @VMN_127 ,
Sorry for the delay in response. Once the cyhal_flash_get_info is called, can you please let me know the values of the cyhal_flash_info_t structure? Please print out all the values like block_count, start_address, size, sector_size etc.