[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

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

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) Perhaps this

Re: [Openocd-development] OpenOCD vs. Colibri PXA320 v2.0b

2011-09-24 Thread Oliver Döring
Is it a bug that xscale_read_dcsr() exits with the TAP in state TAP_DRPAUSE? The attached patch seems to make the Bad value '00' messages go away. If this patch looks correct I'll submit a proper patch to commit. Hi Matt, I was on a vacation and wasn't able to check your patch earlier.