Writing to Flash PSoC4

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

cross mob
Anonymous
Not applicable

Hi All

   

I am extremely new to Cypress and using the CY8CKIT-042-BLE PSoC 4/PRoC Pioneer Kit. I am looking to store some data to the onboard Flash on the PSoC 4 and then access it. The version I have has 128K of Flash. I did look around for some specific tutorials or even some sample code, but could not find anything.

   

I also came across somewhere which says to use the Emulated EEPROM component to write to Flash. I don't know if that is the correct way to do it or not, but I do not see the Emulated EEPROM Component Under the 'System' in the PSoC Creator 3.3 !!

   

Any help will be much appreciated. Thanks a lot in advance.

   

Aviraj

0 Likes
5 Replies
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is a program that will write to the flash on the Ble board.

0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is a SD card memory interface program.  2 gb max SD card size.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There is some "Supervisory Flash" you may use to store data in on the BLE. See example project.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Hi Bob, I tried running the example project on writing to SFlash but for some reason the program goes into an infinite loop. In debug mode, the program stops here:  CY_ISR(IntDefaultHandler). Is there a reason for this ? I did not change the code.  
 

0 Likes
Anonymous
Not applicable

Hi, did you get this resolved? i'm having exactly the same problem

   

regards,

   

Damian

0 Likes