- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good Morning Everybody,
I'd like to store a random number in flash and later retrieve that number from flash after a reset. We're planning on later implementing this with an app as a form of security. I know how random number generation works but, am sketchy on the details of writing to and reading from flash without using UART. I'm using PSOC4 BLE and PROC BLE.
Device A should receive a notification via Bluetooh from Device B; Device B generates a random number and both store the number in flash to be read at a later time to do a comparison.
We can't use whitelisting because, the BLE address of a cellphone changes so often.
Thanks,
Michael
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are multiple examples for writing to flash, sflash, and emulating eeprom using the flash.
Here's a post that contains several examples: http://www.cypress.com/forum/psoc-4-architecture/writing-flash-psoc4
Here's one for sflash: http://www.cypress.com/blog/100-projects-100-days/project-029-supervisory-flash-psoc-4-ble
Here's another for sflash: http://www.cypress.com/forum/proc-ble/supervisory-flash-write
Here's one for a "global" flash function: http://www.cypress.com/forum/psoc-4-ble/how-store-byte-array-flash-memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are multiple examples for writing to flash, sflash, and emulating eeprom using the flash.
Here's a post that contains several examples: http://www.cypress.com/forum/psoc-4-architecture/writing-flash-psoc4
Here's one for sflash: http://www.cypress.com/blog/100-projects-100-days/project-029-supervisory-flash-psoc-4-ble
Here's another for sflash: http://www.cypress.com/forum/proc-ble/supervisory-flash-write
Here's one for a "global" flash function: http://www.cypress.com/forum/psoc-4-ble/how-store-byte-array-flash-memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!! Pratt I'll have a look at those projects.