flashlib request

Technical questions regarding the XTC tools and programming with XMOS.
Redeye
XCore Addict
Posts: 131
Joined: Wed Aug 03, 2011 9:13 am

flashlib request

Post by Redeye »

I'm not sure where feature requests are supposed to go, so I'll put it here and hopefully someone can help me point it in the right direction.

The flashlib library is generally great, but it has one small and very limiting omission. I'm using the XC-2 demo board with an Atmel AT25DF041A on it. The only erase function in flashlib is the sector erase which is a bit inflexible and makes it really difficult to use the data section. The irony of this is that according to the spec config structure it's actually using the 4kB block erase to achieve the sector erase.

So, my request is, please could we have a function to do a sub-sector/block erase as specified in the config structure?


User avatar
Ross
XCore Expert
Posts: 967
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Please report feature requests on the official xmos website (www.xmos.com/support)

Thanks! :)
User avatar
davelacey
Experienced Member
Posts: 104
Joined: Fri Dec 11, 2009 8:29 pm

Post by davelacey »

FYI. If you don't want to wait and want to modify the library yourself the source is on github:

https://github.com/xcore/sc_flash