Re: [OpenOCD-devel] Memory address range and JTAG

2012-02-01 Thread Vaclav Peroutka
Then use dmesg or cat /var/log/messages. Vaclav -- Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím mou stručnost. Uwe Bonnes napsal(a): > "CeDeROM" == CeDeROM writes: CeDeROM> On Wed, Feb 1, 2012 at 9:45 AM, wrote: >> I have a Linux embeded device that consi

Re: [OpenOCD-devel] LPC config files don't export _TARGETNAME?

2012-02-01 Thread Chris Morgan
Hi. Saw your patch. I tried the same thing here but it doesn't work for the embedded artists target, the board I have here for testing openocd. The ea target includes the lpc2478.cpu file and then starts using _TARGETNAME. As I mentioned in my original email, because init hasn't been called yet t

Re: [OpenOCD-devel] LPC config files don't export _TARGETNAME?

2012-02-01 Thread Freddie Chopin
Hi! The change that I've just posted to gerrit should help the issue you have. http://openocd.zylin.com/#/c/421/ I've tested it by adding additional command to openocd call: -c "init; echo $_TARGETNAME" The problem is that you HAVE to have "init" before using the variable - that's the way with

Re: [OpenOCD-devel] Memory address range and JTAG

2012-02-01 Thread Uwe Bonnes
> "CeDeROM" == CeDeROM writes: CeDeROM> On Wed, Feb 1, 2012 at 9:45 AM, wrote: >> I have a Linux embeded  device that consists CPU, BIOS,FLASH and >> SDRAM. Is there any way how to determine the  memory address range >> for BIOS, flash and SDRAM? CeDeROM> Start Linux a

[OpenOCD-devel] [PATCH]: e99276f Export _TARGETNAME from generic LPC2xxx script so it could be used by scripts sourcing it.

2012-02-01 Thread gerrit
This is an automated email from Gerrit. Freddie Chopin (freddie.cho...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/421 -- gerrit commit e99276fbe2ebd5cc9355b0782e0ee2df54e0a272 Author: Freddie Chopin Date: Wed Feb 1 23:10:56 2012 +0100

Re: [OpenOCD-devel] Memory address range and JTAG

2012-02-01 Thread CeDeROM
On Wed, Feb 1, 2012 at 9:45 AM, wrote: > I have a Linux embeded  device that consists > CPU, BIOS,FLASH and SDRAM. > Is there any way how to determine the  memory address range for BIOS, flash > and SDRAM? Start Linux and see dmesg output :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info --

Re: [OpenOCD-devel] LPC config files don't export _TARGETNAME?

2012-02-01 Thread Chris Morgan
On Feb 1, 2012, at 7:02 AM, Peter Stuge wrote: > John Devereux wrote: Of course any users board script will be broken too, >>> >>> Can you send a patch to gerrit with your board cfg? I'd be happy to >>> add it. >> >> I don't think our config would be of a lot of general use. > > That's not a

Re: [OpenOCD-devel] LPC config files don't export _TARGETNAME?

2012-02-01 Thread Peter Stuge
John Devereux wrote: > >> Of course any users board script will be broken too, > > > > Can you send a patch to gerrit with your board cfg? I'd be happy to > > add it. > > I don't think our config would be of a lot of general use. That's not a showstopper! Another reason is that if your config *is

Re: [OpenOCD-devel] LPC config files don't export _TARGETNAME?

2012-02-01 Thread John Devereux
Peter Stuge writes: > John Devereux wrote: >> Of course any users board script will be broken too, > > Can you send a patch to gerrit with your board cfg? I'd be happy to > add it. Hi Peter, I don't think our config would be of a lot of general use. And I don't feel confident enough to mess wit

[OpenOCD-devel] Memory address range and JTAG

2012-02-01 Thread jana1972
I have a Linux embeded  device that consists CPU, BIOS,FLASH and SDRAM. Is there any way how to determine the  memory address range for BIOS, flash and SDRAM? (BIOS is 4Mb,Flash 64MB and SDRAM( 4 modules ) has 256MB). I would like to write some data to flash and

Re: [OpenOCD-devel] LPC config files don't export _TARGETNAME?

2012-02-01 Thread Peter Stuge
John Devereux wrote: > Of course any users board script will be broken too, Can you send a patch to gerrit with your board cfg? I'd be happy to add it. > My own workaround is to manually define $_TARGETNAME in my board > script. > > ... > adapter_khz 500 > > source [find target/lpc2478.cfg] >

Re: [OpenOCD-devel] LPC config files don't export _TARGETNAME?

2012-02-01 Thread John Devereux
Chris Morgan writes: > Just signed up for this list as I'm a new openocd user and I saw this > email thread. Ubuntu 11.10 with openocd 0.5.0. Hi Chris, That was me with the issue. > I think I'm seeing the same issue but it seems like a bit of a catch > 22 case that I can't figure out. [...]