Thanks  Paul.

Yes, it worked.

Regards,
Laxmi

On Sun, Oct 7, 2018 at 7:52 PM Paul Fertser <[email protected]>
wrote:

> Hi,
>
> On Sun, Oct 07, 2018 at 10:35:39AM -0000, Laxmi wrote:
>
> ./openocd -f interface/ftdi/flyswatter2.cfg -f board/ath79.cfg
>
> I do not see board/ath79.cfg in the upstream sources.
>
> Info : Found flash device 'win w25q128fv' (ID 0x001840ef)
> Error: Start address out of range
> Error: error reading to flash at address 0xbf000000 at offset 0x00000000
> Error: Read error
>
> Judging from existing configs the flash is likely to be mapped (from
> the OpenOCD PoV) at 0 but you're reading from 0xbf000000 hence the
> error. Try dumping the image from 0 instead.
>
> --
> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
> mailto:[email protected]
> ------------------------------
>
> * [tickets:#209] <https://sourceforge.net/p/openocd/tickets/209/> Error:
> Start address out of range, Error: error reading to flash at address
> 0xbf000000 at offset 0x00000000*
>
> *Status:* new
> *Milestone:* 0.9.0
> *Created:* Sun Oct 07, 2018 10:35 AM UTC by Laxmi
> *Last Updated:* Sun Oct 07, 2018 10:35 AM UTC
> *Owner:* nobody
>
> I'm a newbie into openocd.
>
> I compiled openocd code with the instruction on google. Interested to work
> with QCA955X. Based on info from google search, created ath79.cfg and I'm
> executing command to read the flash.
>
> ./openocd -f interface/ftdi/flyswatter2.cfg -f board/ath79.cfg
>
> But get below error:
>
> Open On-Chip Debugger 0.10.0+dev-00538-gb2d259f-dirty (2018-10-07-15:23)
> Licensed under GNU GPL v2
> For bug reports, read
> http://openocd.org/doc/doxygen/bugs.html
> adapter speed: 25000 kHz
> Info : auto-selecting first available session transport "jtag". To
> override use 'transport select <transport>'.
> jtag_ntrst_assert_width: 200
> jtag_ntrst_delay: 1
> srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
> === Halt CPU ===
> Info : ftdi: if you experience problems at higher adapter clocks, try the
> command "ftdi_tdo_sample_edge falling"
> Info : clock speed 25000 kHz
> Info : JTAG tap: ath79.cpu tap/device found: 0x00000001 (mfg: 0x000
> (<invalid>), part: 0x0000, ver: 0x0)
> MIPS32 with MIPS16 support implemented
> Info : Listening on port 3333 for gdb connections
> === Disable watchdog ===
> === Reading 65536 bytes from flash to file outfile.bin ===
> Info : Found flash device 'win w25q128fv' (ID 0x001840ef)
>
>
> *Error: Start address out of range Error: error reading to flash at
> address 0xbf000000 at offset 0x00000000 Error: Read error*
> </invalid></transport>
>
> May i know what exactly is causing the error? How to resolve and
> successfully able to read the flash?
>
> Any help in this regard his highly appreciated.
>
> Thank you.
> ------------------------------
>
> Sent from sourceforge.net because you indicated interest in
> https://sourceforge.net/p/openocd/tickets/209/
>
> To unsubscribe from further messages, please visit
> https://sourceforge.net/auth/subscriptions/
>



---

** [tickets:#209] Error: Start address out of range, Error: error reading to 
flash at address 0xbf000000 at offset 0x00000000**

**Status:** new
**Milestone:** 0.9.0
**Created:** Sun Oct 07, 2018 10:35 AM UTC by Laxmi
**Last Updated:** Sun Oct 07, 2018 10:35 AM UTC
**Owner:** nobody


I'm a newbie into openocd.

I compiled openocd code with the instruction on google. Interested to work with 
QCA955X. Based on info from google search, created ath79.cfg and I'm executing 
command to read the flash.

`./openocd -f interface/ftdi/flyswatter2.cfg -f board/ath79.cfg`

But get below error:

Open On-Chip Debugger 0.10.0+dev-00538-gb2d259f-dirty (2018-10-07-15:23)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
adapter speed: 25000 kHz
Info : auto-selecting first available session transport "jtag". To override use 
'transport select <transport>'.
jtag_ntrst_assert_width: 200
jtag_ntrst_delay: 1
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
=== Halt CPU ===
Info : ftdi: if you experience problems at higher adapter clocks, try the 
command "ftdi_tdo_sample_edge falling"
Info : clock speed 25000 kHz
Info : JTAG tap: ath79.cpu tap/device found: 0x00000001 (mfg: 0x000 
(<invalid>), part: 0x0000, ver: 0x0)
MIPS32 with MIPS16 support implemented
Info : Listening on port 3333 for gdb connections
=== Disable watchdog ===
=== Reading 65536 bytes from flash to file outfile.bin ===
Info : Found flash device 'win w25q128fv' (ID 0x001840ef)
**Error: Start address out of range
Error: error reading to flash at address 0xbf000000 at offset 0x00000000
Error: Read error**

May i know what exactly is causing the error? How to resolve and successfully 
able to read the flash?

Any help in this regard his highly appreciated.

Thank you.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to