Anonymous
Not applicable
Jul 15, 2009
03:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 15, 2009
03:29 PM
I want to be able to store a couple words to the non-volatile memory so when the power source is removed the data is retained and can be retrieved after power up.
Can this be done without extra memory?
Nathan
Can this be done without extra memory?
Nathan
Labels
- Labels:
-
PSoC 1
6 Replies
Jul 15, 2009
10:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 15, 2009
10:56 PM
Hi Nathan,
You can store parameters to the internal Flash using the EEPROM user module. I am attaching an example project that shows how to use an EEPROM. This project is made with PSD4.x. So, when you open this with the latest PSoC Designer version 5.0, it will prompt for changing the project structure. Select OK for the restructuring.
You can store parameters to the internal Flash using the EEPROM user module. I am attaching an example project that shows how to use an EEPROM. This project is made with PSD4.x. So, when you open this with the latest PSoC Designer version 5.0, it will prompt for changing the project structure. Select OK for the restructuring.
Anonymous
Not applicable
Jul 16, 2009
06:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 16, 2009
06:24 PM
great, thanks!
Anonymous
Not applicable
Jul 16, 2009
10:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 16, 2009
10:06 PM
I can't get the EEPROM write to succeed. First I was getting STACK Overflow (-2). Then I changed it to write 64 bytes. Now I keep getting FAILURE (-1) - even if I look through and attempt 100 tries. The temperature is set correctly - why isn't this working ?
Jul 16, 2009
10:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 16, 2009
10:36 PM
Check if you have changed the security level of the corresponding Flash block in the flashsecurity.txt file to Unprotected. For example, if you are using 29466 and the flash block is 511, then you should change the security level of the last block from "W" to "U" in the flashsecurity.txt file. You can open this file from the project explorer in PSD5.0
Anonymous
Not applicable
Jul 20, 2009
08:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 20, 2009
08:31 AM
Yes, that was it, thanks. I guess I should read the datasheet first I ended up running out of RAM so I had to do a lot of restructuring to get this to work, but it is working now.
Anonymous
Not applicable
May 01, 2010
07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 01, 2010
07:27 AM
Hello sir,
I am Hardik. can u have that example copy?