Hi all, Here my first patches to be able to use the CFI driver on cortex M3 with the helper code on target. This is probably not the better way of doing it, but at least it's work. This have been tested on real hardware. The default cfg that enable the fsmc can be used. Right now only the 16 bit interface has been tested. I can add the 8 and 32 bit if the patch is correct.
>From my testing, I got 17KB/sec I'll apreciate a feedback for thoses patches. Since this is nearly my first git pacthes... Regards Jonathan Dumaresq openocd-development-boun...@lists.berlios.de wrote: > Hi Spen, > > I'm happy that i'm not the only one !!! > > Is it possible to send or put somewhere a windows version that works > ? I have never compiled openocd so, if you can provide the binary > file i'll be happy. If not I can try to compiled it too. > > Regards > > Jonathan > Spencer Oliver wrote: >> On 06/12/2010 14:42, Jonathan dumaresq wrote: >>> >>> Have you fond some time to test this ? >>> >> >> I have run a quick test and it fails for me also. >> As a quick test i commented out block writes (cfi_write_words) and it >> works as expected - albeit even slower. >> >> Also found this patch where they have disabled buffer writes for the >> M29W128. >> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif > f;h=504a3e72208fc6a65924426ff5693982590bccdc >> >> Investigating there seems to be stack corruption within openocd when >> using block writes - the timeout param of >> cfi_spansion_wait_status_busy gets clobbered somewhere. >> >> Cheers >> Spen > > > _______________________________________________ > Openocd-development mailing list > Openocd-development@lists.berlios.de > https://lists.berlios.de/mailman/listinfo/openocd-development
0001-Add-new-loader-for-cortex-m3-16bit-spansion-interface.patch
Description: Binary data
0002-Add-the-cortex-m3-target-as-possible-target.patch
Description: Binary data
0003-Add-break-point-befor-going-in-target_resume.patch
Description: Binary data
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development