using flash as eeprom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-10-19 6:14 AM
hi.
i found out that it is possiable to use the flash as eeprom but the example i found was very long and complicated is there asimple way to do that? thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-10-19 11:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-10-20 1:40 AM
i even taken the example from here:
http://www.st.com/stonline/products/support/micro/files/an2594.zip changed the option of the project according to http://www.st.com/stonline/products/literature/um/17875.pdf and it does not work it goes to void HardFault_Handler(void). what am i doing wrong?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-10-20 1:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-10-20 1:20 PM
where can i find all the explanation to the FLASH registors?
They would be in the Reference Manual (RM0008)http://www.st.com/stonline/products/literature/rm/13902.pdf
Consider a different tool chain, and programming style. The code posted should be working. Look at the disassembly, and registers, for the code you have now which is faulting. You will get hard faults if you do unaligned 2 or 4 byte accesses, or if you touch memory outside of RAM, ROM, FLASH and Peripherals.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-10-21 12:39 AM
no its not there like where can i find the description of FLASH_CR?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-10-21 3:48 AM
no matter what i do i am still getting full stack after the line:
FLASH->CR|= CR_STRT_Set; why? what can i do? is there away to write asmall program that use the Flash as EEPROM? thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-10-21 9:27 AM
May be the STM32F10xxx Flash programming manual (PM0042) mentioned in PM0008 might be helpful
http://www.icbase.com/hotic/html/docs/13259.pdf
Short of building an entire project for you, I'm not sure why the core functionality demonstrated in the previous example doesn't work in your environment.Up vote any posts that you find helpful, it shows what's working..

- « Previous
-
- 1
- 2
- Next »