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

2010-12-05 Thread Starkeeper
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 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 wr

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 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 Starkeeper
The load command produces the same error for the external flash region.. I see no difference in the flash commands and the load command. -Ursprüngliche Nachricht- Von: Øyvind Harboe [mailto:oyvind.har...@zylin.com] Gesendet: Mittwoch, 1. Dezember 2010 09:02 An: Star Keeper Cc: openocd-dev

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

2010-11-30 Thread Starkeeper
Well here are my configuration files.. openocd.exe -f ./OpenOCD-0.5.0/oocdlink.cfg -f ./OpenOCD-0.5.0/lpc2478-ExtFlash.cfg arm-none-eabi-gdb -x GDB-ExternFlash.gdb -Ursprüngliche Nachricht- Von: Øyvind Harboe [mailto:oyvind.har...@zylin.com] Gesendet: Dienstag, 30. November 2010 21:56 An

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 Starkeeper
Sure I can provide a log. Here it is, or do you need a logfile with debug option enabled? Open On-Chip Debugger 0.5.0-dev-00622-g9a04974 (2010-11-30-17:39) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html Info : only o

[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