Can someone give me a pointer on flashrom programming? I look into sst28sf040.h, there are 3 functions available: probe(), erase(), write(). How the read() from chip is implemented?
Thanks.
* Anton anton.borisov@gmail.com [070320 09:31]:
Can someone give me a pointer on flashrom programming? I look into sst28sf040.h, there are 3 functions available: probe(), erase(), write(). How the read() from chip is implemented?
The area is mmap'ed and then just read as normal memory. If you do -r, it uses memcpy, flash_rom.c:325
Stefan