hi,

http://elinux.org/BeagleBoardOpenOCD reports success with using  
OpenOCD and the Flyswatter to establish a JTAG connection with the  
Beagle board.  I've tried to reproduce these steps but am having some  
issues.

After contacting one of the authors of the http://elinux.org/BeagleBoardOpenOCD 
, I was directed to: 
https://lists.berlios.de/pipermail/openocd-development/2009-June/008256.html

Key thing here was a patch to the jtag/core.c file.  After applying  
this patch, I was able to establish a JTAG connection.

Next I tried the omap3_dbginit command from a telnet connection.  What  
I get is the following message repeated constantly.  Any ideas?

gu...@fred-desktop:~$ telnet localhost 4444
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
 > scan_chain
     TapName            | Enabled |   IdCode      Expected    IrLen  
IrCap  IrMask Instr
---| 
--------------------| 
---------|------------|------------|------|------|------|---------
0 | omap3530.dsp       |    n    | 0x00000000 | 0x00000000 | 0x26 |  
0x25 | 0x3f | 0xffffffff
1 | omap3530.dap       |    n    | 0x00000000 | 0x0b6d602f | 0x04 |  
0x01 | 0x0f | 0x0f
2 | omap3530.jrc       |    Y    | 0x0b7ae02f | 0x0b7ae02f | 0x06 |  
0x01 | 0x3f | 0x3f
 > omap3_dbginit
JTAG tap: omap3530.jrc tap/device found: 0x0b7ae02f (mfg: 0x017, part:  
0xb7ae, ver: 0x0)
JTAG Tap/device matched
AHBAP Cached values: dp_select 0x0, ap_csw 0xa2000012, ap_tar 0xffffffff
SWJ-DP STICKY ERROR
Read MEM_AP_CSW 0x2800052, MEM_AP_TAR 0xe000ed00
AHBAP Cached values: dp_select 0x0, ap_csw 0xa2000012, ap_tar 0xffffffff
SWJ-DP STICKY ERROR
Read MEM_AP_CSW 0x2800052, MEM_AP_TAR 0xe000ed00
Block read error address 0xe000ed00, count 0x1
AHBAP Cached values: dp_select 0x10, ap_csw 0xa2000002, ap_tar  
0xe000edf0
SWJ-DP STICKY ERROR
Read MEM_AP_CSW 0x2800042, MEM_AP_TAR 0xe000edf0
    TargetName         Type       Endian TapName            State
--  ------------------ ---------- ------ ------------------ ------------
0* omap3.cpu          cortex_m3  little omap3530.dap       unknown
0x54011314 00000009                            ....
0x54011314 00000009                            ....
AHBAP Cached values: dp_select 0x10, ap_csw 0xa2000002, ap_tar  
0xe000edf0
SWJ-DP STICKY ERROR
Read MEM_AP_CSW 0x2800042, MEM_AP_TAR 0xe000edf0
AHBAP Cached values: dp_select 0x10, ap_csw 0xa2000002, ap_tar  
0xe000edf0
SWJ-DP STICKY ERROR

fred

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to