Hi there - I am trying to check that my understanding of the openOCD
'architecture' is correct.
I want to program, via openOCD, some SPI flash connected to a Synopsys
ARC Eval board.
The SPI flash is connected to the ARC CPU via a Synopsys SPI peripheral.
If I understand correctly, in order to do this I would have to write a
'flash driver' which runs on the ARC
CPU and interfaces to the SPI peripheral (although openOCD has ARC CPU
support there is no support
for SPI Flash according to the ARC Readme)
In past lives I have used a 'Software Agent' which sits on a CPU and
acts as a sort of proxy; this was using
Coldfire and an Macraigor-style 'wiggler'. It seems that the Flash
loader is the openOCD equivalent of this -
am I correct here please?
I am not very clear about how the small 'loader' code fits into this
scheme; can anyone explain that or point me
towards a document which gives an overview of the various parts of this?
If I do end up developing such a flash driver then I will be happy to
donate it to the openOCD project.
Thanks for any enlightenment
J^n