Re: [OpenOCD-devel] sudo openocd Was: iMX53 support

2012-02-06 Thread John
On Tue, Feb 07, 2012 at 12:24:08PM +0800, Antonio Borneo wrote: > On Tue, Feb 7, 2012 at 9:54 AM, Fabio Estevam wrote: > > ... > > sudo openocd > > There is no need to run OpenOCD as "root" on Linux. > Moreover, for security reason, it's also a bad idea to use root > account when not strictly nee

[OpenOCD-devel] sudo openocd Was: iMX53 support

2012-02-06 Thread Antonio Borneo
On Tue, Feb 7, 2012 at 9:54 AM, Fabio Estevam wrote: > ... > sudo openocd I just realized that OpenOCD documentation does not fully cover this topic. There is no need to run OpenOCD as "root" on Linux. Moreover, for security reason, it's also a bad idea to use root account when not strictly need

Re: [OpenOCD-devel] EJTAG 2.0 specification

2012-02-06 Thread Michel Catudal
Le 2012-02-06 13:17, [email protected] a écrit : > Hi >> I think he is referring to ejtag rather than the jtag - ejtag is a >> mips extension to the jtag std. > Exactly. My CPU ( I need to use JTAG with) is of EJTAG 2.0 spec. > And I read there is a Memory Protection bit that must be cleared b

Re: [OpenOCD-devel] iMX53 support.

2012-02-06 Thread jim norris
The imx35.cfg is being used in the configuration script for the IMX35PDK. That development board has an iMX35 which has an ARM-1136. The board you are using, the IMX53QSB, has a ARM Cortex-A8. Cheers, Jim -- Keep Your

Re: [OpenOCD-devel] iMX53 support.

2012-02-06 Thread Marek Vasut
> Hi James, > > On Mon, Feb 6, 2012 at 11:43 PM, James Robinson wrote: > > Hello, > > I see that there is an imx53.cfg in the target directory. Is anyone > > using this with a board configuration? I am trying to connect to an > > iMX53qsb and I am getting the following errors > > Thanks, > >

Re: [OpenOCD-devel] iMX53 support.

2012-02-06 Thread Fabio Estevam
Hi James, On Mon, Feb 6, 2012 at 11:43 PM, James Robinson wrote: > Hello, > I see that there is an imx53.cfg in the target directory. Is anyone > using this with a board configuration?  I am trying to connect to an > iMX53qsb and I am getting the following errors > Thanks, > James > > robinso

[OpenOCD-devel] iMX53 support.

2012-02-06 Thread James Robinson
Hello, I see that there is an imx53.cfg in the target directory. Is anyone using this with a board configuration? I am trying to connect to an iMX53qsb and I am getting the following errors Thanks, James robinsoj@ideacentre01:~$ openocd Open On-Chip Debugger 0.6.0-dev-00382-gde81260 (2012-02-

[OpenOCD-devel] STM32F4xx OpenOCD + GDB + Eclipse debugging issue

2012-02-06 Thread Meier Lorenz
Hi, I'm currently trying to set up an Eclipse-based toolchain for the STM32F4 with OpenOCD and GDB. I have tested several compatible JTAG probes and I'm running this toolchain (tested on Linux and MacOS): https://github.com/MikeSmith/summon-arm-toolchain I can easily flash and debug my target

[OpenOCD-devel] [PATCH] mx31pdk: Add "halt" command in board script

2012-02-06 Thread Fabio Estevam
Add "halt" command in board script. Signed-off-by: Fabio Estevam --- tcl/board/imx31pdk.cfg |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tcl/board/imx31pdk.cfg b/tcl/board/imx31pdk.cfg index 502d407..3e46758 100644 --- a/tcl/board/imx31pdk.cfg +++ b/tcl/board/imx31pd

Re: [OpenOCD-devel] EJTAG 2.0 specification

2012-02-06 Thread jana1972
Hi > > > > I think he is referring to ejtag rather than the jtag - ejtag is a > mips extension to the jtag std. Exactly. My CPU ( I need to use JTAG with) is of EJTAG 2.0 spec. And I read there is a Memory Protection bit that must be cleared before I can write any data to memory via JTAG. Is

Re: [OpenOCD-devel] Problem using stlinkv2 with the new change for armv6 instruction

2012-02-06 Thread Jonathan Dumaresq
Hi Matias, Mathias K. wrote: > Hello, > > you should re-check your real device ram size (0x2000???) and the > work area size (0x4000) in your configuration. > You are right I set it on my main cfg file but I forget to check in the lower level of the cfg file. I thing the lower config file

Re: [OpenOCD-devel] Problem using stlinkv2 with the new change for armv6 instruction

2012-02-06 Thread Mathias K.
Hello, you should re-check your real device ram size (0x2000???) and the work area size (0x4000) in your configuration. I think the device hard fault's after he try to write to 0x20002000. Regards, Mathias -- Try bef

[OpenOCD-devel] Problem using stlinkv2 with the new change for armv6 instruction

2012-02-06 Thread Jonathan Dumaresq
Hi, I just try the latest oponocd git and I could not use the stlinkv2 with the new algo. It's always looping at a specific address. I try it with an cortex-m3 and a cortex-m0 with the same resault. Any idea ? Could someone else confirm this ? Jonathan openocd.log Description: Binary data --

Re: [OpenOCD-devel] Resetting the adapter

2012-02-06 Thread Spencer Oliver
On 5 February 2012 14:38, Flemming Frandsen wrote: > Hi, I have a problem with my olimex-arm-usb-tiny-h adapter, for some > reason I can't program the flash except the first time I try after > plugging in the adapter, the second and subsequent times I try data > will come back from flash as all 1'

[OpenOCD-devel] [PATCH]: c0cd0c5 remove checkpatch warnings

2012-02-06 Thread gerrit
This is an automated email from Gerrit. Jonathan Dumaresq ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/436 -- gerrit commit c0cd0c50c71aedb11ac4f0c418932ce6a845e5fa Author: Jonathan Dumaresq Date: Mon Feb 6 11:02:38 2012 -050

[OpenOCD-devel] [PATCH]: 4ef1c6a Add the stm32f0x device in the flash info command

2012-02-06 Thread gerrit
This is an automated email from Gerrit. Jonathan Dumaresq ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/435 -- gerrit commit 4ef1c6a383207700e306a91f81a2a1c6a479661d Author: Jonathan Dumaresq Date: Mon Feb 6 10:53:20 2012 -050

[OpenOCD-devel] [PATCH]: 2807570 Add stm32f0x flash driver discovered by the stm32f1x driver flash probe now works

2012-02-06 Thread gerrit
This is an automated email from Gerrit. Jonathan Dumaresq ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/434 -- gerrit commit 2807570855835af60b0da250b5a4405d039fbaeb Author: Jonathan Dumaresq Date: Mon Feb 6 10:48:13 2012 -050

Re: [OpenOCD-devel] EJTAG 2.0 specification

2012-02-06 Thread Spencer Oliver
On 5 February 2012 00:30, John wrote: > On Sat, Feb 04, 2012 at 09:34:09PM +0100, [email protected] wrote: >> Is there   EJTAG 2.0 ( or lower) version  specification available anywhere? > > I think google is the way to find out more but IIRC it's available from > IEEE and you have to pay for it.

[OpenOCD-devel] [PATCH]: 694a44e docs: add original stlink (STLINK-V1) usage note

2012-02-06 Thread gerrit
This is an automated email from Gerrit. Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/433 -- gerrit commit 694a44e87b618d0db87ebc19b047bf0f1eb4db5d Author: Spencer Oliver Date: Mon Feb 6 14:54:00 2012 +

Re: [OpenOCD-devel] JTAG and CPU halted

2012-02-06 Thread John
On Mon, Feb 06, 2012 at 12:34:46PM +0100, [email protected] wrote: > When I want to write to flash/RAM, via JTAG, must be the CPU halted first? I expect so but you didn't give any details of board, target, interface etc. Many require a small helper function to be copied into the RAM and run, an

[OpenOCD-devel] [PATCH]: 926f955 cfg: add stm32vldiscovery board config

2012-02-06 Thread gerrit
This is an automated email from Gerrit. Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/432 -- gerrit commit 926f955ec5927fda3f0d5f206eb821743a9181da Author: Spencer Oliver Date: Mon Feb 6 13:13:08 2012 +

[OpenOCD-devel] JTAG and CPU halted

2012-02-06 Thread jana1972
When I want to write to flash/RAM, via JTAG, must be the CPU halted first? Thanks -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99!

[OpenOCD-devel] [PATCH]: fcc16f4 doxygen: use correct comment syntax

2012-02-06 Thread gerrit
This is an automated email from Gerrit. Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/431 -- gerrit commit fcc16f4da1d833efa40869f2e5e732153221922c Author: Spencer Oliver Date: Mon Feb 6 11:27:04 2012 +

[OpenOCD-devel] Memory protection bit and JTAG

2012-02-06 Thread jana1972
I try to write some data to a system using JTAG but without any success. I can read the data, but the data is not written to a given address. The CPU uses JTAG 2.0 Must I clear memory protection bit first? Thanks P.S. Is there JTAG 2.0 specification available? I found out 2.6 and higher only