These devices are now almost vintage, you may have better luck on trying for help on one of the AVR forum. Retrieved from ” https: Firstly I must register my interest in Dataflash – I work for Adesto, the company that has taken over from Atmel and is manufacturing the Dataflash parts now. I wouldn’t expect this library to work with it. Hello guys, I hope this thread is still alive so I will try to ask my question. Views Read Edit View history.
|Date Added:||11 October 2015|
|File Size:||67.5 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
They use a simpler dataflawh set, supported by other vendors of serial flash but omitting SRAM buffers and other features that make AT45 chips simpler to support. Someone has written a library for the Winbond flash you have here: Just a reminder if you choose to do that.
Dataflash is a specific type of flash that was made to work with Atmel chips. However, like many other things in that originally Atmel library, it is flakey. I am not an expert. Should this library work with this chip?
‘How to use Atmel Dataflash New Library That Works!’
In the example sketch I changed the page size to and removed the buffer 2 sections. This page was last edited on 25 Julyat I find Keywords are very useful, because spelling mistakes get spotted by their ‘plain’ text colour. FYI I checked the Opcodes for: DataFlash dataflawh a low pin-count serial interface for flash memory.
Well, I mean I probably would. I wouldn’t expect this library to work with it.
To moderator – the current dataflash library in the arduino playground does not work properly. I have re-written the playground dataflash library so it works.
All it would now need is a reference to this updated version. Do you know what I should change to make it work? I was interrupted by an official at the frontdoor halfway through last posting and forget to tidy up the example. Also the same change needed when reading back those test values.
ASF Source Code Documentation
The change to byte pages from default bytes atmep ‘once-only’. Retrieved September 27, Hello guys, I hope this thread is still alive so I will try to ask my question. I suggest you copy the ccp source block of code for a similar function to your new one.
The old version needs replacing with this one, then problems with dataflash can be directed to it and avoid the frustration I felt when assuming if it was on the playground and described, it must be correct code.
I have done nothing more than go through the files line by line checking what the actual code does. All these cards can be used in SPI mode. afmel
Thank you for your time and effort. I have fixed those parts and now it does.
Any microcontroller can use this chip to store data. The protocol interfaces are very similar; in both cases, bytes are written or read, via SPI, one or more bytes at a time.
Microchip® Advanced Software Framework
I hope you can now find and check out those lines of the relevant loop code which fill the buffer and then read back.