setarcos / ch341prog

A simple SPI/IIC programer based on ch341a.
GNU General Public License v3.0
379 stars 99 forks source link

Wrong offset when reading over SPI #26

Open FelisLynx opened 4 years ago

FelisLynx commented 4 years ago

Hi I'm working with MX25L25735FMI FLASH chip, trying to read it's content over SPI. And I noticed that offset command works in some weird way way: --offset 1 will give offset of 0h100 bytes instead of 1 byte --offset 2 will give offset of 0h200 bytes instead of 2 bytes and so on. Is there any way to set offset for reading in bytes instead of hex hundreds of bytes? Thanks.