Tool/software: Linux
Dear Forum,
I am trying to retrieve data from the 2000evm's flash storage to my raspberry Pi, I have used the following sequence:
i2c.write([0x36, 0x79, 0x00, 0x00, 0x00, 0x00]) # set read adr.
i2c.write([0x36, 0x74, 0x00, 0x00, 0x00, 0x03]) # set adr. size.
i2c.write([0x36, 0x78, 0x00, 0x00, 0x00, 0x0B]) # set flash op. code.
i2c.write([0x36, 0x75, 0x00, 0x00, 0x00, 0x01]) # set number of dummy bytes.
i2c.write([0x36, 0x77, 0x00, 0x00, 0x00, 0x08]) # set read byte count.
i2c.write([0x36, 0x08, 0x00, 0x00, 0x00, 0x03]) # set flash controller to read mode
i2c.write([0x36, 0x15, 0x07]) # set read op
first = i2c.read(4)
print('first:', first)
i2c.write([0x36, 0x15, 0x07]) # set read op
second = i2c.read(4)
print('second:', second)
i2c.write([0x36, 0x08, 0x00, 0x00, 0x00, 0x00]) # reset flash controller from read mode
I only get 00 00 00 00
I was expecting the start address of the init batch as well as the size of the batch code, 00 contains the init jump address to the splash display code.
Thanks for your assistance.
Samir