Re: [Openocd-development] load_image trouble

2011-10-09 Thread Dmitry E. Oboukhov
I cant upload an image into internal SRAM (AT91SAM9). it can really write only 20 bytes. load_image into internal flash area works fine. >>> But why it doesn't fail if it writes the other regions? >>> It crashes only if it writes into internal SRAM. >> Could it be that the load_im

Re: [Openocd-development] load_image trouble

2011-10-07 Thread Andreas Fritiofson
On Fri, Oct 7, 2011 at 7:34 AM, Dmitry E. Oboukhov wrote: > > >>> I cant upload an image into internal SRAM (AT91SAM9). > >>> it can really write only 20 bytes. > >>> load_image into internal flash area works fine. > > >> But why it doesn't fail if it writes the other regions? > >> It crashes onl

Re: [Openocd-development] load_image trouble

2011-10-06 Thread Dmitry E. Oboukhov
>>> I cant upload an image into internal SRAM (AT91SAM9). >>> it can really write only 20 bytes. >>> load_image into internal flash area works fine. >> But why it doesn't fail if it writes the other regions? >> It crashes only if it writes into internal SRAM. > Could it be that the load_image co

Re: [Openocd-development] load_image trouble

2011-10-06 Thread Andreas Fritiofson
Hi, On Sat, Sep 24, 2011 at 2:00 PM, Dmitry E. Oboukhov wrote: > > Dmitry E. Oboukhov wrote: > >> I cant upload an image into internal SRAM (AT91SAM9). > >> it can really write only 20 bytes. > >> load_image into internal flash area works fine. > > But why it doesn't fail if it writes the other r

Re: [Openocd-development] load_image trouble

2011-09-24 Thread Dmitry E. Oboukhov
> Dmitry E. Oboukhov wrote: >> I cant upload an image into internal SRAM (AT91SAM9). >> it can really write only 20 bytes. >> load_image into internal flash area works fine. > Are you using latest openocd git code, if not which version? I'm using the latest openocd release (0.5.0/Debian) > Perha

Re: [Openocd-development] load_image trouble

2011-09-24 Thread Peter Stuge
Hi Dmitry, Dmitry E. Oboukhov wrote: > I cant upload an image into internal SRAM (AT91SAM9). > it can really write only 20 bytes. > load_image into internal flash area works fine. Are you using latest openocd git code, if not which version? Perhaps this is a problem of clocking, OpenOCD may need

[Openocd-development] load_image trouble

2011-09-24 Thread Dmitry E. Oboukhov
Hi, there! I cant upload an image into internal SRAM (AT91SAM9). When I try to process a command: load_image filename.bin 0x30 bin it crashes with the text: Error: DCC write failed, expected end address 0x0030060c got 0x300014. File has length: 1548 bytes (0x60C) it can really w

Re: [Openocd-development] load_image

2010-04-20 Thread Øyvind Harboe
On Tue, Apr 20, 2010 at 8:46 PM, michal smulski wrote: > Here is updated patch. Merged. -- Meet Zylin at ESC 2010 San Jose April 26 - 30. 2010 http://www.zylin.com/events_esc2010.html Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html A

[Openocd-development] load_image

2010-04-20 Thread michal smulski
Here is updated patch. Michal diff --git a/doc/openocd.texi b/doc/openocd.texi index 5273d5d..cfba79f 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -5671,10 +5671,20 @@ separately. @end deffn @anchor{load_image} -...@deffn Command {load_image} filename address [...@option{bin}|@opt

Re: [Openocd-development] load_image question

2010-03-24 Thread Michel Catudal
Le 24/03/2010 17:35, michal smulski a écrit : > Hi, > > I have an ARM IC with internal flash (512kbytes) and sram (64kbytes). I > am trying to write flash via jtag. The idea is to split the image into > 64kb chunks and upload them via jtag one at a time to internal SRAM; > then burn to flash. > How

Re: [Openocd-development] load_image question

2010-03-24 Thread Freddie Chopin
On 2010-03-24 22:35, michal smulski wrote: I have an ARM IC with internal flash (512kbytes) and sram (64kbytes). I am trying to write flash via jtag. The idea is to split the image into 64kb chunks and upload them via jtag one at a time to internal SRAM; then burn to flash. However, I can't seem

[Openocd-development] load_image question

2010-03-24 Thread michal smulski
Hi, I have an ARM IC with internal flash (512kbytes) and sram (64kbytes). I am trying to write flash via jtag. The idea is to split the image into 64kb chunks and upload them via jtag one at a time to internal SRAM; then burn to flash. However, I can't seem to find an appropriate openocd command t