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.

Uploader: Nibei
Date Added: 11 October 2015
File Size: 67.5 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 58147
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

Since this is the only code in the public domain which will allow arduino to use atmel dataflash with full functionality, I have added a splash line at the top of the cpp and dataflash. Retrieved from ” https: By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia articles needing clarification from September All articles with vague dtaaflash ambiguous time Vague or ambiguous time from September You can easily add your own ‘block erase’ etc, just keep clear of the sector protection etc programming codes or you could brick the flash.

I hope you can now find and check out those lines of the relevant loop code which fill the buffer and then read back.