First I would suggest to make all FLASH Change to protected mode and check again. Usually, it's not possible to erase the FLASH by accident.
Emulated EEPROM is merely value reading/writing of individual bytes using FLASH to store it.
you mean after protecting the flash, em-eeprom gets automatically unprotected by creator/programmer while programming?
The programmer will erase the chip flash when writing a new program; I believe this will include any Em-EEPROM that you have saved on the chip (if you want it to remain across programming, you might want to look into sFlash usage)
The Em-EEPROM itself would unprotect/reprotect the flash space when writing to the Em-EEPROM in code. But it shouldn't be getting changed by spurious/random code unless it is deliberate...
I'm not sure what you mean by "on line the parameters", if you could describe that more clearly?
on line parameters settings means. suppose my instrument is flow controller
and i want to change setpoints,etc. parameters which are kept in em_eeprom.
after protecting flash is it possible to modify.
On Thu, Mar 29, 2018 at 9:13 PM, e.pratt_1639216 <
When you program the unit, it will wipe all of the Flash on the chip. This will include the Em-EEPROM, so the "on line" parameters will get cleared on reprogramming the board.
When the chip is set to protected however, it will only allow flash changes from the program on the chip itself, and no outside programmer can change the flash without erasing the entire chip's program.
You would need to store the "on line" parameters on the SFlash portion to have it survive reprograms, as that portion of the chip is not erased by the programmer iirc.
i am not getting the term SFlash portion.
SFlash is referring to the "supervisory flash", but generally shortenend to sflash. Here is the thread where I went through setting up SFlash reading/writing while I was learning how to use the PSoC 4: Supervisory Flash Write
The links and information in the thread should help you out with getting it all setup
Let me know if you have more questions
where shall i get this project for 4.1 version
C:\Program Files (x86)\Cypress\PSoC Creator\4.0\PSoC Creator\examples\sampleprojects\SFlash_Example
Create a new project in the PSoC creator; Select the PSoC 4 chip you are going to use, select "Example Code" (or example project, I forget), and choose the "SFlash_Example" to build an example project for the SFlash.
there is no "SFlash_Example" project for PSoc 4200 series.
i get confused.
On Wed, Apr 4, 2018 at 8:52 PM, e.pratt_1639216 <
Huh; Weird. I thought there was an sflash example in the creator. No matter
The links below describe what sFlash is and how to use it, with the second link containing an example demonstration from github to use the sFlash:
is there any technical manual for sflash for PSoc4200 series like sflash
row writing timing, minimum no. of bytes can be programmed.
i donot found information in trm or datasheet.
On Thu, Apr 5, 2018 at 8:17 PM, e.pratt_1639216 <