On Friday 22 May 2009, Nicolas Pitre wrote:
> On Fri, 22 May 2009, David Brownell wrote:
> 
> > On Friday 22 May 2009, Sergey Lapin wrote:
> > > How hard it is po port that to at91sam9260? 
> > 
> > Shouldn't be hard to get basic soft-ecc working.
> > Sort of like Orion ... I think the fast-download
> > code there should be pulled out and made available
> > for all ARMs with a DCC.
> 
> Note that the actual fast download code is not in the orion NAND driver.  
> It is already provided by the target support code.  What you see in the 
> orion driver is some code to transfer a page of data from the target's 
> memory to the NAND controller.

Right.  I'd call the new reusable bit something like a
FIFO write routine ... it's a bit of a hack to transfer
to SRAM, then to the FIFO/Controller, since it *could*
just as easily have tweaked DCC code to write directly
to the FIFO not to SRAM.  But it was probably easier to
figure it out this way, first time around.

N'est-ce pas?  :)


... and doing this bulk I/O makes me want to see
some fast "upload" code too.  Later, maybe!

- dave

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to