Erase flash on PSoC6

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

cross mob
YongseokJeon
Level 4
Level 4
Distributor
50 replies posted 50 questions asked 25 replies posted

Dears,
I'm using CY8CKIT-062-WIFI-BT.

If I erase the flash with Cypress Programmer and read it, I can see that the hex file is filled with 0x00.
Generally, I know that flash becomes 0xFF after erase, but PSoC6 becomes 0x00?
I wonder what (0x00 or 0xFF) to fill in the space between the booloader and the application when using the hex2bin utility.

Best Regards,
YS

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @YongseokJeon 

In the case of PSoC 6, the Flash erase operation causes the flash content to change to 0x00

You can use Cy_Flash_EraseRow function to erase any particular row in PSoC 6 flash

Best Regards
Ekta

View solution in original post

0 Likes
2 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @YongseokJeon 

In the case of PSoC 6, the Flash erase operation causes the flash content to change to 0x00

You can use Cy_Flash_EraseRow function to erase any particular row in PSoC 6 flash

Best Regards
Ekta

0 Likes
YongseokJeon
Level 4
Level 4
Distributor
50 replies posted 50 questions asked 25 replies posted

Hi Ekta,

Thanks for your reply.

Best Regards,
YS

0 Likes