Hi Stefan, thanks for the quick response!

Do you know what does this "core" of flashrom include in terms of dediprog API 
for more specific operations (sector erase, read\write byte\word)?
Would it be reasonably possible for me (using the source code of flashrom) to 
add what I need, even if it's specific to dediprog or to some specific flash 
type?

Chanan.

-----Original Message-----
From: Stefan Tauner [mailto:stefan.tau...@alumni.tuwien.ac.at] 
Sent: Sunday, November 09, 2014 11:48
To: Peri, Chanan
Cc: flashrom@flashrom.org
Subject: Re: [flashrom] flashrom support for read\write word\byte actions

On Sun, 9 Nov 2014 08:29:21 +0000
"Peri, Chanan" <chanan.p...@intel.com> wrote:

> Hi,
> From what I see, flashrom only support full erase\read\write actions for the 
> entire flash chip.
> Is there any support for more specific actions - like erase sector? 
> Read\write word\byte?
> If not, is there any plan to support such a thing.
> 
> I'm asking specifically about the DediProg programmer, but I'll be interested 
> to know if this can be done with other programmers.

Hello,

currently there exist already some patches that allow to read and write single 
sectors with some preparation and the user interface is probably not what you 
want (I am talking about layout files that allow to define and operate on 
regions of flash space). 

The midterm plan is to make the core of flashrom more library-like, which would 
ease the creation of a special purpose tool like the one you probably require. 
Note that midterm in flashrom terms can mean some years since developer time 
has been rather scarce lately...

All of that is pretty much programmer-agnostic because most of the time we 
specify exactly what is sent to the SPI (or other) bus.

--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
flashrom mailing list
flashrom@flashrom.org
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to