Emmanuel Blot

Results 175 comments of Emmanuel Blot

Wow, python2.6 version, quite old :-) The issue with reducing timeout is that is tends to overload the CPU. Which timeout value did you use for the serial port itself?...

It seems this flash is somewhat compliant with SPI NOR data flash (*25* protocol). You need to check how this flash compares to existing flash implementations, and create a new...

As explained in PyFtdi ticket, it should be quite easy to add support for this type of flash device, as there is nothing NAND specific to support this device, only...

You really need to use markdown syntax, it is quite unreadable as plain text. Moreover, please copy/paste text as text, not as static images. The PN25Q datasheet is a pure...

I would write something like: CMD_GET_FEATURES = 0x0F CMD_SET_FEATURES = 0x1F CMD_PAGE_READ_ADDRESS = 0x13 CMD_RESET = 0xFF CMD_READ_FROM_CACHE = 0x0B CMD_READ_NEXT_PAGE = 0x31 CMD_READ_LAST_PAGE = 0x3F FEATURE_LOCK = 0xA0 FEATURE_FEATURE...

`_check_ecc()` is correct, but the test is not, it should be read as if not _check_ecc(): raise IOError(...)

> why is that len(buf) condition check with FLASH_SIZE-2*PAGE_SIZE `_read_last_page()` should be only called once, for the last PAGE_SIZE read chunk. However, as we test of the length of the...

About ECC: are you sure your flash is programmed? At this point, you need to use a logical analyser or an oscilloscope to trace whatever is exchange with the flash.

I'm not sure how ECC should be interpreted with a blank flash, is it documented?