Help with memory mode and AT45DB161D
sebastian1989
Posts: 14
Hi, I'm new in GCC and I have one question, is It possible use a AT45DB161D (spi flash memory) to run the code?, maybe in XMMC. If its possible, what should I do?.
Datasheet: http://www.ibr.cs.tu-bs.de/trac/inga/chrome/site/datasheets/Atmel_AT45DB161D.pdf
Sorry for my bad english.
Datasheet: http://www.ibr.cs.tu-bs.de/trac/inga/chrome/site/datasheets/Atmel_AT45DB161D.pdf
Sorry for my bad english.
Comments
Build Status from SimpleIde
All ok, but my code not running but If I put the memory type in COG, works perfectly.
Any suggestions?
What memory do you recommend?
Just make a copy of spi_flash_cache.spin and modify it for the Atmel chip. I'll attach a copy of the current source to this message. Let me know if you have any questions about the code. You'll need to modify erase_4k_block_handler and write_data_handler to match the way the Atmel chip handles writing to the flash.
Thanks for the tip, I didn't know that Atmel no longer makes this chips.
Can I load my code from a SD memory in FAT?