Re: [OpenOCD-devel] [External] Re: Fwd: Image Dump Query

2018-07-11 Thread N K, Athira
Hello Tommy, Thank you for the quick response. Actually I could get an example command dump_image empty.bin 0x8D000 185 But I get a response Ignoring read of non readable area - Request address: 0x8D000, Request size 184. Bytes successfully read: 0 Is there anyway to make these sections

Re: [OpenOCD-devel] [External] Re: Fwd: Image Dump Query

2018-07-11 Thread Tommy Murphy
What does the openocd config file for your target/board have? Perhaps it's stating that this region of memory is write only? https://sourceforge.net/p/openocd/mailman/openocd-devel/?limit=100=flat=201507=16 From: N K, Athira Sent: Wednesday 11 July 2018 09:54 To:

Re: [OpenOCD-devel] Fwd: Image Dump Query

2018-07-11 Thread Tommy Murphy
What do you need other than what's already in the documentation? http://openocd.org/doc/html/General-Commands.html section 15.5 On athira nair n k , 11 Jul 2018 6:19 am wrote: Hello, I already put a query mail from my company email. But I have a doubt that the response is getting blocked.

Re: [OpenOCD-devel] [External] Re: Fwd: Image Dump Query

2018-07-11 Thread Michael Schwingen
On 11.07.2018 10:54, N K, Athira wrote: Hello Tommy, Thank you for the quick response. Actually I could get an example command *dump_image empty.bin 0x8D000 185* But I get a response *Ignoring read of non readable area - Request address: 0x8D000, Request size 184. Bytes successfully read:

Re: [OpenOCD-devel] [External] Re: Fwd: Image Dump Query

2018-07-11 Thread Paul Fertser
On Wed, Jul 11, 2018 at 08:54:13AM +, N K, Athira wrote: > But I get a response > >   > > Ignoring read of non readable area - Request address: 0x8D000, Request size > 184. > Bytes successfully read: 0 git grep "Ignoring read" returns 0 matches to me. Are you sure you're running OpenOCD?

Re: [OpenOCD-devel] [External] Re: Fwd: Image Dump Query

2018-07-11 Thread N K, Athira
Hello Michael, I see the board config files have the memory map proper as below, and the flash address is starting at 0x0400. I tried this location and from 0x0 also. But I get the same error everywhere. $_TARGETNAME configure -memorymap RW 0x 32 FLOPS

Re: [OpenOCD-devel] [External] Re: Fwd: Image Dump Query

2018-07-11 Thread Paul Fertser
On Wed, Jul 11, 2018 at 11:53:20AM +, Tommy Murphy wrote: > Googling "OpenOCD" and "Ignoring read of non readable area" definitely returns > results including the one that I posted above about the patch that added this > message. But http://openocd.zylin.com/#/c/2870/ wasn't merged upstream.

Re: [OpenOCD-devel] [External] Re: Fwd: Image Dump Query

2018-07-11 Thread Xiaofan Chen
On Wed, Jul 11, 2018 at 7:40 PM, Paul Fertser wrote: > On Wed, Jul 11, 2018 at 08:54:13AM +, N K, Athira wrote: >> But I get a response >> >> >> >> Ignoring read of non readable area - Request address: 0x8D000, Request size >> 184. >> Bytes successfully read: 0 > > git grep "Ignoring read"

Re: [OpenOCD-devel] [External] Re: Fwd: Image Dump Query

2018-07-11 Thread N K, Athira
Where can I get the official OpenOCD code? Regards Athira -Original Message- From: Xiaofan Chen [mailto:xiaof...@gmail.com] Sent: Wednesday, July 11, 2018 7:07 PM To: Paul Fertser Cc: N K, Athira ; OpenOCD-devel@lists.sourceforge.net Subject: Re: [OpenOCD-devel] [External] Re: Fwd: