Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-08 Thread Dirk Behme
Hi, short status update: I took the great scripts from Strontium and updated them slightly with the recent knowledge from Magnus: * Due to issues with recent OpenOCD head, we use an older OpenOCD revision at the moment (Mangus: r1606, me: r1602) * Put openocd_beagle_flyswatter.cfg and omap3

Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-05 Thread Dirk Behme
Magnus Lundin wrote: > Good observations, > > - The error reporting and handling for memory read/write errors is > incomplete, this ia general problem, well know but it only occurs when > things are broken anyway. > > - The cortex-a 8 code is incomplete, we know that, you have found the > "

Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-05 Thread Dirk Behme
Hi Strontium, Strontium wrote: > Ok, > > I am trying to make the files described below. And have gotten along > fine, but have found the following problem. > > The first time my script executes after a reset of the beagle: > > dap apsel 1 > > openocd halts with an error, thus: (at -d 3) >

Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-05 Thread Magnus Lundin
Good observations, - The error reporting and handling for memory read/write errors is incomplete, this ia general problem, well know but it only occurs when things are broken anyway. - The cortex-a 8 code is incomplete, we know that, you have found the "missing target_examine" function wher

Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-05 Thread Strontium
Ok, I am trying to make the files described below. And have gotten along fine, but have found the following problem. The first time my script executes after a reset of the beagle: dap apsel 1 openocd halts with an error, thus: (at -d 3) Fails: Debug: 166 1139 arm_adi_v5.c:242 swjdp_trans

Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-04 Thread Magnus Lundin
Dirk Behme wrote: > > Btw.: Is there an option or a possibility to run a script when I > connect e.g. by telnet? > > I'm a little tired to always type the commands > > jtag tapenable omap3.cpu > target create omap3.cpu cortex_a8 -endian little -chain-position > omap3.cpu > dap apsel 1 > omap3.cpu

Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-04 Thread Dirk Behme
Hi Magnus, Magnus Lundin wrote: > Hi Dirk > > Very good, I think we can commit this immediatleay as a place to collect > the info about A8. Wow, that was fast :) > I now have a BeagleBoard :), Great! > so testing can be made more efficient, > JTAG solution will be working at the end of t

Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-04 Thread Øyvind Harboe
I've got a beagleboard too. Looking forward to testing your upcoming board/beagleboard.cfg script ;-) -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com ___ Openocd-development mailing list Openocd-developm

Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-04 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-developmen

Re: [Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-04 Thread Magnus Lundin
Hi Dirk Very good, I think we can commit this immediatleay as a place to collect the info about A8. I now have a BeagleBoard :), so testing can be made more efficient, JTAG solution will be working at the end of the week, strange pinout and low voltage. The magic sequence for unlocking debug

[Openocd-development] [PATCH] Add minimalist Cortex A8 file

2009-05-04 Thread Dirk Behme
Patch in attachment is a minimalist copy of Cortex M3 code to be able to create a Cortex A8 target and use it for our OMAP3 investigation (*). Idea is to extend this step by step with increasing knowledge. Many thanks to Magnus for all the help with OMAP3! Best regards Dirk (*) Commands th