Question regarding storing data in flash
Hello! I was looking at finding a way to store/read data from flash. I understand it's slow but, for my application, I mainly want to be able to have some data written to part of the flash (in byte form) that I can pull from flash during my application and decode/manipulate at will. This has left me with a few questions:
1) How do I write this data to a desired location in flash? I assume I wouldn't just be editing a hex/elf file and amending it as desired and, instead, there might be a way in the IDE to write the desired bytes or at least to set aside the desired write location?
2) Is there a way to update the project with the desired start location for the program so I don't accidentally write over the stored data in flash?
3) What's the best way to learn to read the data from flash? It looks like there are a number of projects setup to use DMA to read flash to memory and I assume I'd likely want to find some chip that's all setup and do something similar with mine, maybe start with a "DMA_FlashToRAM" project (I assume this is what I'd want to do?).
If you guys could help point me in the right direction, that would be awesome! There might even be answers to this in the forum but I haven't had any luck when searching (maybe I'm searching for the wrong thing?).
Thanks for your help!