Re: [OpenOCD-devel] Trouble halting AT91SAM7X256-EK

2012-02-11 Thread Ken Smith
On Sat, Feb 11, 2012 at 2:11 PM, Ken Smith wrote: [clip] > Flashing and debugging with the same > firmware worked earlier today and mysteriously stopped working. [clip] Here's an update. I guess soft_reset_halt doesn't reset the device properly enough to enable debugging. Also, I added polling. T

[OpenOCD-devel] Trouble halting AT91SAM7X256-EK

2012-02-11 Thread Ken Smith
Hi all, I'm having trouble with basic operation with AT91SAM7X256-EK. I am using openocd with ARM-USB-OCD. I also have a Segger J-Link that yields similar results. I can write a program to internal flash at 0x10 but the when I resume, I can't halt. Here are some configuration files. openocd.c

Re: [OpenOCD-devel] Is there any tutorial

2012-02-11 Thread Spencer Oliver
On Feb 11, 2012 4:05 PM, "Drasko DRASKOVIC" wrote: > > What would be the best format : tex, doxygen or ascii doc ? I am kind > of opting for ascii doc, but there is already some doxy format > documentation from Zachary Welch... > I would say use doxygen as it would then belong to the dev guide ra

Re: [OpenOCD-devel] Is there any tutorial

2012-02-11 Thread Peter Stuge
Drasko DRASKOVIC wrote: > > I guess this should go into openocd.texi? Could you push a patch to > > Gerrit? > > This is what I promised a long time ago ;)... I'll have to put it in > order first. > > What would be the best format : tex, doxygen or ascii doc ? I am > kind of opting for ascii doc,

Re: [OpenOCD-devel] Is there any tutorial

2012-02-11 Thread Drasko DRASKOVIC
On Sat, Feb 11, 2012 at 3:10 PM, Peter Stuge wrote: > Drasko DRASKOVIC wrote: >> There is one I wrote (still not ended in the official tree) : > > I guess this should go into openocd.texi? Could you push a patch to > Gerrit? This is what I promised a long time ago ;)... I'll have to put it in ord

Re: [OpenOCD-devel] Is there any tutorial

2012-02-11 Thread Peter Stuge
Drasko DRASKOVIC wrote: > There is one I wrote (still not ended in the official tree) : I guess this should go into openocd.texi? Could you push a patch to Gerrit? //Peter -- Virtualization & Cloud Management Using Capa

Re: [OpenOCD-devel] Resetting the adapter

2012-02-11 Thread Flemming Frandsen
On Tue, Feb 7, 2012 at 11:11 AM, Flemming Frandsen wrote: > This sounds promising, I'll look into it, thank you. > > Right, I've looked at the documentation and when I get back to my > board, I'll try adding this to my config: > adapter_nsrst_assert_width 10 > adapter_nsrst_delay 2 > reset_config

Re: [OpenOCD-devel] Is there any tutorial

2012-02-11 Thread Drasko DRASKOVIC
On Sat, Feb 11, 2012 at 10:03 AM, wrote: > Is there any tutorial how to use OpenOCD with MIPS? > I would like to use OpenOCD with a MIPS CPU that has > EJTAG Implementation flags: R4k MIPS16 MIPS32 There is one I wrote (still not ended in the official tree) : http://www.mail-archive.com/openocd-

Re: [OpenOCD-devel] OpenOCD and HairyDairyMaid's wrt54g_debrick

2012-02-11 Thread John
On Sat, Feb 11, 2012 at 11:50:05AM +0100, jana1...@centrum.cz wrote: > > > says: > > > The following logic shamelessly cloned from HairyDairyMaid's > > > wrt54g_debrick > > > * to support the Broadcom BCM5352 SoC in the Linksys WRT54GL wireless > > > router > > > * (and any others that support

Re: [OpenOCD-devel] OpenOCD and HairyDairyMaid's wrt54g_debrick

2012-02-11 Thread jana1972
> > says: > > The following logic shamelessly cloned from HairyDairyMaid's wrt54g_debrick > > * to support the Broadcom BCM5352 SoC in the Linksys WRT54GL wireless > > router > > * (and any others that support EJTAG DMA transfers). > [snip] > > How was found out (it is nescessary) to use that bi

Re: [OpenOCD-devel] OpenOCD and HairyDairyMaid's wrt54g_debrick

2012-02-11 Thread John
On Sat, Feb 11, 2012 at 10:46:46AM +0100, jana1...@centrum.cz wrote: > > says: > The following logic shamelessly cloned from HairyDairyMaid's wrt54g_debrick > * to support the Broadcom BCM5352 SoC in the Linksys WRT54GL wireless router > * (and any others that support EJTAG DMA transfers). [snip

[OpenOCD-devel] OpenOCD and HairyDairyMaid's wrt54g_debrick

2012-02-11 Thread jana1972
I browsed a source codes of OpenOCD and would like to ask any experts A file mips32_dmaacc.c says: The following logic shamelessly cloned from HairyDairyMaid's wrt54g_debrick * to support the Broadcom BCM5352 SoC in the Linksys WRT54GL wireless router * (and any others that support EJTAG DMA

[OpenOCD-devel] Is there any tutorial

2012-02-11 Thread jana1972
Is there any tutorial how to use OpenOCD with MIPS? I would like to use OpenOCD with a MIPS CPU that has EJTAG Implementation flags: R4k MIPS16 MIPS32 Thanks -- Virtualization & Cloud Management Using Capacity Planning