[Openocd-development] [PATCH] Fix Sam3u flash bank 1 issue

2011-08-20 Thread Olivier Schonken
From: olivier Schonken --- src/flash/nor/at91sam3.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c index 40ff3aa..1fe5f62 100644 --- a/src/flash/nor/at91sam3.c +++ b/src/flash/nor/at91sam3.c @@ -1974,6 +1974,7

[Openocd-development] [PATCH] Fix Sam3u flash bank 1 issue

2011-08-20 Thread Olivier Schonken
--- jimtcl |2 +- out.txt |7 +++ src/flash/nor/at91sam3.c |6 +++--- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 out.txt diff --git a/jimtcl b/jimtcl index 645ed6f..411e92f 16 --- a/jimtcl +++ b/jimtcl @@ -1 +1 @@ -

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Olivier Schonken
Hi Xiaofan I also experienced the same build error a while ago. To fix it I manually checked out version 0.63 of JimTCL, and after that, the build went on without any problems. I did a git clone of openocd just-now, and I did a --host="i686-w64-mingw32" build on a Windows 7 installation of cygwi

[Openocd-development] Fwd: ATSAM3 - OpenOCD 0.4.0

2011-03-29 Thread Olivier Schonken
Attached you will find a patch to fix issues with accessing flash on newer version ATSAM3 processors. Essentialy it masks out the version number of the processor when doing a lookup of the CIDR number in the detail table. Regards Olivier Schonken From a0cd952d825586f27f905b3b631a612f88b94c93

[Openocd-development] ATSAM3 - OpenOCD 0.4.0

2011-03-27 Thread Olivier Schonken
I am using openOCD with production version of SAM3, I have found that openocd does not recognize the cidr because of the increase in version number. The easy fix is the following (also shown in the code below)... Do an AND operation on cidr and 0xFFE0 to make comparison succeed when device i