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

PSoC™ 4 Forum Discussions

RiCa_296421
Level 1
Level 1
First reply posted First question asked First like given

Hello is there an API call from within PSOC Creator or to include in code to conduct a full-chip erase in a manner analogous to what you may do with an external programmer?  Thank you.

0 Likes
1 Solution
GyanC_36
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hello Rick,

  There is no option (in PSoC Creator)/ Flash API  to 'Erase the Entire Flash'. However, there are APIs to perform the row level operation. Please refer the system reference guide ( Open PSoC Creator -> Help-> System Reference Guide ).

-Gyan

View solution in original post

0 Likes
2 Replies
GyanC_36
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hello Rick,

  There is no option (in PSoC Creator)/ Flash API  to 'Erase the Entire Flash'. However, there are APIs to perform the row level operation. Please refer the system reference guide ( Open PSoC Creator -> Help-> System Reference Guide ).

-Gyan

0 Likes
Anonymous
Not applicable

Using the PSoC Programmer to erase the chip would be more effective, as I believe you can do what you are asking in that software.

(There is no identical operation/button inside the PSoC Creator IDE however as gyan​ stated)

0 Likes