[Openocd-development] Announcing the RedBee EconoTAG

2010-03-10 Thread Mariano Alvira
Hello, I am pleased to announce the RedBee EconoTAG: http://redwirellc.com/store/index.php?route=product/product&product_id=56 This is a ideal development board for getting started with the Freescale MC13224v ARM7 and 802.15.4 radio. It is also great for wiring into your prototypes. Access to

Re: [Openocd-development] New JTAG driver for Versaloon

2010-03-10 Thread simon qian
Can anybody commit this patch so I can prepare next one? 2010/3/9 simon qian > Hi, > This patch greatly simplify the Versaloon driver, which reduce the code > size from more than 50K to less than 28K. > And this patch also add support to IR/DR scan with unlimited size. > Meanwhile I remove the t

Re: [Openocd-development] [PATCH] CFI CORE: bug-fix protect single sector

2010-03-10 Thread David Brownell
On Tuesday 09 March 2010, David Brownell wrote: And tl clarify a bit: > On Monday 08 March 2010, Antonio Borneo wrote: > > Cannot protect or unprotect single sector in cfi flash. > > When first==last the procedure fails. > > > > Signed-off-by: Antonio Borneo > > --- > > src/flash/nor/core.c |

Re: [Openocd-development] [patch/rfc] split "interface" commands from "jtag" ones

2010-03-10 Thread David Brownell
On Wednesday 10 March 2010, David Brownell wrote: > Start decoupling the two concepts ("debug adapter driver", "jtag") > by having two command groups, which initialize separately. > > This will help us support OpenOCD sessions using only non-JTAG > transports, in which JTAG commands should not be

[Openocd-development] Fwd: usbfs not more supported by ubuntu -- W/A

2010-03-10 Thread fpaolo63
Solution! 8-) FTD2xx is based on libusb.0.1.x (http://www.libusb.org/). By default the lib is looking for usbfs (deprecated) on /proc/bus/usb. looking the code I found the solution: we can override the search path! On same shell you run openocd, set the env var "export USB_DEVFS_PATH=/dev/bus/

Re: [Openocd-development] imx31.cpu: ran after reset and before halt ...

2010-03-10 Thread Alberto Panizzo
Thanks David, On mar, 2010-03-09 at 09:17 -0800, David Brownell wrote: > On Tuesday 09 March 2010, Alberto Panizzo wrote: > > The first problem I am facing is the Warning: "ran after reset an before > > halt" > > > > What can I do to halt the CPU early? > > ISTR reports about imx31 hardware prob

Re: [Openocd-development] [PATCH] CFI CORE: bug-fix protect single sector

2010-03-10 Thread Antonio Borneo
On Wed, Mar 10, 2010 at 8:16 AM, David Brownell wrote: >> @@ -108,7 +108,7 @@ scan: >> } >> >> /* Single sector, already protected? Nothing to do! */ >> - if (first == last) >> + if (first > last) > > ... not. the loop previously maintained the "first <= last" invariant, > an

Re: [Openocd-development] Amontec JtagKey2 ??

2010-03-10 Thread Øyvind Harboe
On Wed, Mar 10, 2010 at 10:11 AM, Flemming Futtrup wrote: > Custom LPC2468 HW with SST 39VF6401B flash. That's a CFI flash, right? -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flas

Re: [Openocd-development] [SWD] STM32Primer2 JTAG/SWD + RLink pinout

2010-03-10 Thread Xiaofan Chen
On Mon, Mar 8, 2010 at 6:51 PM, wrote: >> If anyone is interested to work on the SWJ/RLink with STM32Primer2, >> here goes the pinouts: >> http://www.tomek.cedro.info/content/view/236/1/lang,en/ > BTW, the link you gave is broken. > Hmm, the link is okay from here (Firefox, XP SP2, Singapore).

Re: [Openocd-development] [PATCH] CFI CORE: bug-fix protect single sector

2010-03-10 Thread David Brownell
On Wednesday 10 March 2010, Antonio Borneo wrote: > On Wed, Mar 10, 2010 at 5:26 PM, David Brownell wrote: > > Could you reduce the gratuitous changes which just hide > > the content of your patch? Like shuffling comments, Such > > things just make patches hard to review. > Of course, in attach

Re: [Openocd-development] Amontec JtagKey2 ??

2010-03-10 Thread Alberto Panizzo
On mer, 2010-03-10 at 08:56 +0100, Flemming Futtrup wrote: > Hi Alain > > I am no expert so other people may achieve better results. > > But... > > JtagKey2 is running nicely with OpenOCD at least for flashloding > purposes. I have not tried debugging. > > JtagKey2 consist of not much other tha

[Openocd-development] [patch/rfc] split "interface" commands from "jtag" ones

2010-03-10 Thread David Brownell
We'll need to be able to work with debug adapter interfaces (drivers) even when they're not used for JTAG ... for example, while there are multi-transport debug adapters which support JTAG *and* several other transports (or just one more, like SWD) there are also adapters with more limited goals (a

Re: [Openocd-development] [Fwd: [patch/rfc] NOR: invalidate cached state on target resume]

2010-03-10 Thread Antonio Borneo
Hi Dave, your patch below (commit 5fdf9535cef7e43f6e99081b6d1f6bd682184803) breaks the command "flash erase_check ..." Such command executes on the target a tiny helper-code on each flash sector. At each execution the erase status already computed on previous sectors are deleted by your patch. Si

[Openocd-development] Problems with Altera USB-Blaster

2010-03-10 Thread Stefan van Lier
Hello, i just tried to get the Altera USB-Blaster running... but everytime I get the same errors, when i am trying to run the application. I tried it with the latest ftd2xx drivers and openocd 0.4.0 (using later versions makes no difference, i get the same errors) using TAP declarations in

Re: [Openocd-development] Amontec JtagKey2 ??

2010-03-10 Thread Flemming Futtrup
Custom LPC2468 HW with SST 39VF6401B flash. -Original Message- From: Øyvind Harboe [mailto:oyvind.har...@zylin.com] Sent: 10. marts 2010 09:41 To: Flemming Futtrup Cc: Alain Mouette; openocd-development@lists.berlios.de Subject: Re: [Openocd-development] Amontec JtagKey2 ?? > I our compa

Re: [Openocd-development] [PATCH] CFI CORE: bug-fix protect single sector

2010-03-10 Thread David Brownell
On Tuesday 09 March 2010, Antonio Borneo wrote: > I'm not sure I fully catch your points. > Anyway, I agree that code got even more confused and that comments are > not consistent with code anymore. > > Why not changing the whole procedure in a cleaner way? > I've put in attachment my proposal Co

Re: [Openocd-development] Amontec JtagKey2 ??

2010-03-10 Thread Flemming Futtrup
Hi Alain I am no expert so other people may achieve better results. But... JtagKey2 is running nicely with OpenOCD at least for flashloding purposes. I have not tried debugging. JtagKey2 consist of not much other than a FTDI FT2232H chip and some analog components (maybe some buffers and someth

Re: [Openocd-development] imx31.cpu: ran after reset and before halt ...

2010-03-10 Thread David Brownell
On Tuesday 09 March 2010, Alberto Panizzo wrote: > The first problem I am facing is the Warning: "ran after reset an before halt" > > What can I do to halt the CPU early? ISTR reports about imx31 hardware problems in that area ... basially, the "vector catch" mechanism is supposed to solve that