On Wed, Aug 12, 2015, at 03:41 PM, Paul Fertser wrote:
> Hello,
>
> On Wed, Aug 12, 2015 at 10:15:25AM -0400, Christopher Harvey wrote:
> > The board has a flash chip with part
> > number W25Q80BL connected directly to the cc3200's "boot" SPI pins.
> ...
> > I feel like the cfi flash driver should be able to handle this case
> > out of the box.
>
> The CFI driver can work only with CFI-compliant (and some partially
> compliant) devices. SPI NOR flash memory can't be CFI-compliant
> because it doesn't have a parallel interface that's attached directly
> to the memory bus.
>
> OpenOCD has some support for SPI memory but it requires
> target-specific driver. If you can find some docs and implement that
> for cc3200, that would be great. I seem to remember cc3200 is also
> using some undocumented "flash file system" and that's another
> complication, you have to prepare an image in suitable format before
> flashing.
>
What about using the 'load_image' command and pointing it at 0x44020000?
Is that something that could work? Examples for other devices would be
appreciated if they exist.
|