I'm using blackfin533, and I would like to write a software for flash memory testing. How would I test the flash memory ? I know how to test an eeprom but how would I test the flash memory of the blackfin533?

  • Test for what? That flash is in there? That it contains expected information? – Anonymous Oct 10 '16 at 13:10
  • that the flash is there, and it contains information. but I don't know how to write it in using C code. how to access it – andre Oct 10 '16 at 13:12
  • The blackfin 533 processor has no internal flash memory, so you must have a board with external flash on it, right? Which board, and what OS are you running? – Bruce Abbott Oct 10 '16 at 16:22
  • yes, I'm using an external flash, correct. I'm using that flash ST M29W800D. Would you direct me on how to verify that the flash is working ? steps to do ? the datasheet is not valuable – andre Oct 10 '16 at 18:14
  • 1
    Possible duplicate of Steps for testing external flash memory – Chris Stratton Oct 11 '16 at 14:41

Normally applications do not test flash memory as normal flash memory has a limited number of guaranteed write cycles.

The normal practice, if data validation is necessary, is to write a set of data followed by a check sum. The specific type of check sum does not matter as long as it satisfies your requirements. They all should be able to tell if a single bit has unexpectedly changed. More complex check sums can also correct for these unexpected changes.

Added later...

I see from the comments the intent is to use an Analog.com's Blackfin processor to access external flash memory. Perhaps this document will help you develop the code to manage this type of memory.

  • how would I access and write the data to the flash eeprom – andre Oct 10 '16 at 14:25
  • This could be a very broad question. Are you sure you want to write to the processor's flash memory? In many applications, the flash memory is used only for program storage. If you are not careful, writing to flash memory may corrupt your program's execution. Of course Analog's BlackFin processor may have reserved some flash for data storage. You would have to dive into the processors specifications to understand what Analog's intentions were. – st2000 Oct 11 '16 at 0:27
  • Oh, I see. You are writing to external flash memory. – st2000 Oct 11 '16 at 0:33

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.