qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] [M25P80] Make sure not to overrun the internal


From: Jean-Christophe DUBOIS
Subject: Re: [Qemu-devel] [PATCH] [M25P80] Make sure not to overrun the internal data buffer.
Date: Mon, 2 Jan 2017 22:24:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Le 30/12/2016 à 19:09, mar.krzeminski a écrit :
Can you check spi controller model code?

I'll double check.

But why is the SPI memory/device even responding if CS is not set ?
Looking at ssi code it should not.
Flash (so the m25p80) is responding when CS line is low and it seem that this is default.

So I fixed the CS handling in the i.MX SPI device emulator and I don't experience crashes anymore. Thanks for your help.

You may still want to harden the m25p80 code to make sure it doesn't overrun its internal buffer.


Thanks,
Marcin



Thanks,
Marcin










reply via email to

[Prev in Thread] Current Thread [Next in Thread]