Flashstorage made for Duo
Tue Jan 10, 2017 3:04 am
Tue Jan 10, 2017 1:21 pm
Tue Jan 10, 2017 3:38 pm
Tue Jan 10, 2017 4:23 pm
Tue Jan 10, 2017 8:58 pm
Fri Jan 13, 2017 10:28 pm
We already have a library for such, and I think there is some older thread commenting on it.
Also there is an example of using it:
Arduino_STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog /STM32F1STM32F1Microcontrollers and processors…w I am not able to compile. Error message: “C:\arduino-1.6.12\hardware\Arduino_STM32\ STM32F1 \cores\maple/boards.h:39:25: fatal error: board/board.h: No such file or directory” I…View in hardware catalog /libraries/EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog /examples/EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog _example/EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog _example.ino
Word of caution, an EEPROMEEPROMGeneric components and modules without part numbers…ly bought one of these: … fbb0123c5e It’s really small (50x40mm) but includes an i2c eeprom , and sdcard slot, and all MCU pins broken out. I have still not used it, but plan to u…View in hardware catalog can be written to many hundreds of thousands of times, while flash can be written to only a few thousand times.
Also to write a byte in flash you normally need to erase and rewrite the block. So a write to any byte in the block counts as a write to every byte of the block. If you plan on writing a value once a week and read it many times, you are probably ok, but if you plan on writing often, you may wear out the block of flash.
Fri Jan 13, 2017 10:58 pm
The answer to those two questions will let us know what type of flash or eerom is best suited to your task.
Sat Jan 14, 2017 3:54 am
In reality there is only Flash on most MCUs
Sat Jan 14, 2017 8:35 am
Thanks for the clarification
Tue Jan 24, 2017 9:16 pm
Im aware of the rewrite cycles.
For this project its only a few integers I new to write 1-3 times a week. So I think the flash should be okay to use.