Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-12-05 Thread Antonio Borneo
On Sun, Dec 5, 2010 at 6:42 PM, Starkeeper wrote: > Just to let you know, I still have the problem, that I can not program the > external flash ;) > > I am wondering that most of the other non cfi flash drivers require the > correct clock rate as parameter. How does the cfi driver computes the > t

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-12-05 Thread Starkeeper
? -Ursprüngliche Nachricht- Von: openocd-development-boun...@lists.berlios.de [mailto:openocd-development-boun...@lists.berlios.de] Im Auftrag von Michael Schwingen Gesendet: Donnerstag, 2. Dezember 2010 00:20 An: openocd-development@lists.berlios.de Betreff: Re: [Openocd-development] Programming external

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-12-02 Thread Starkeeper
-development@lists.berlios.de Betreff: Re: [Openocd-development] Programming external flash with OpenOCD fails On Thu, Dec 2, 2010 at 6:21 PM, Starkeeper wrote: > How can I test if the working area is correct? > The memorymap of my controller tells me that at address 0x4000 is > a

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-12-02 Thread Øyvind Harboe
On Thu, Dec 2, 2010 at 6:21 PM, Starkeeper wrote: > How can I test if the working area is correct? > The memorymap of my controller tells me that at address 0x4000 is a > 64KB RAM. mww + mdw? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / Intern

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-12-02 Thread Starkeeper
Schwingen Gesendet: Donnerstag, 2. Dezember 2010 00:20 An: openocd-development@lists.berlios.de Betreff: Re: [Openocd-development] Programming external flash with OpenOCD fails On 11/30/2010 08:36 PM, Starkeeper wrote: > Indeed it works without the wokring area! OK. That means at least the flash

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-12-01 Thread Michael Schwingen
On 11/30/2010 08:36 PM, Starkeeper wrote: > Indeed it works without the wokring area! OK. That means at least the flash is working, and the bus setup is probably also OK. OpenOCD tried to download code + data to RAM on the target, and something in that process goes wrong. I don't know the LPC inte

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-12-01 Thread Starkeeper
-development@lists.berlios.de Betreff: Re: [Openocd-development] Programming external flash with OpenOCD fails On Wed, Dec 1, 2010 at 8:58 AM, Star Keeper wrote: > The image I want to flash is not my program code. It is a resource file with image data. > As i understand, the "load"

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-12-01 Thread Øyvind Harboe
On Wed, Dec 1, 2010 at 8:58 AM, Star Keeper wrote: > The image I want to flash is not my program code. It is a resource file with > image data. > As i understand, the "load" command normally loads a program into RAM and >does not program a flash. Is that right, or should the load command notice t

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-11-30 Thread Star Keeper
the flash programming? Original-Nachricht > Datum: Wed, 1 Dec 2010 08:43:28 +0100 > Von: "Øyvind Harboe" > An: starkee...@gmx.at > CC: openocd-development@lists.berlios.de > Betreff: Re: [Openocd-development] Programming external flash with OpenOCD > f

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-11-30 Thread Øyvind Harboe
Normally you should be able to connect and flash by: target remote localhost: monitor reset init load stepi -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cor

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-11-30 Thread Starkeeper
An: starkee...@gmx.at Cc: openocd-development@lists.berlios.de Betreff: Re: [Openocd-development] Programming external flash with OpenOCD fails Did you try "reset init" and then flash programming? Perhaps there is some memory parameters that have to be set up. You did not provide

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-11-30 Thread Øyvind Harboe
Did you try "reset init" and then flash programming? Perhaps there is some memory parameters that have to be set up. You did not provide a complete configuration file... -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 ht

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-11-30 Thread Starkeeper
.de] Im Auftrag von Michael Schwingen Gesendet: Dienstag, 30. November 2010 20:01 An: openocd-development@lists.berlios.de Betreff: Re: [Openocd-development] Programming external flash with OpenOCD fails On 11/30/2010 07:06 PM, Starkeeper wrote: > Hi there, > I have an external flash (S

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-11-30 Thread Michael Schwingen
On 11/30/2010 07:06 PM, Starkeeper wrote: > Hi there, > I have an external flash (Spansion S29GL128N90) connected to a NXP LPC2478 > microcontroller. Everytime when I try to flash this external flash I get the > following error from OpenOCD (Version 0.4.0 and self compiled 0.5.0): > > Flash Manufac

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-11-30 Thread Starkeeper
--- -Ursprüngliche Nachricht- Von: Øyvind Harboe [mailto:oyvind.har...@zylin.com] Gesendet: Dienstag, 30. November 2010 19:10 An: starkee...@gmx.at Cc: openocd-development@lists.berlios.de Betreff: Re: [Openocd-development] Programming external flash with OpenOCD fails Cou

Re: [Openocd-development] Programming external flash with OpenOCD fails

2010-11-30 Thread Øyvind Harboe
Could you provide a log? -- Øyvind Harboe Can Zylin Consulting help on your project? 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 flash programmer ___ Op

[Openocd-development] Programming external flash with OpenOCD fails

2010-11-30 Thread Starkeeper
Hi there, I have an external flash (Spansion S29GL128N90) connected to a NXP LPC2478 microcontroller. Everytime when I try to flash this external flash I get the following error from OpenOCD (Version 0.4.0 and self compiled 0.5.0): Flash Manufacturer/Device: 0x0001 0x227e error writing to flash at