I'm using an Olimex ARM-USB-TINY to connect to two different imx28 based
boards but have some issues. 

first this is the config used

----------------
interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG TINY"
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0004
set _CHIPNAME imx28
set _ENDIAN little
set _TARGETNAME $_CHIPNAME.cpu
adapter_khz 100

reset_config trst_and_srst separate trst_push_pull srst_open_drain
adapter_nsrst_delay 1000
adapter_nsrst_assert_width 1000

jtag newtap $_CHIPNAME cpu -irlen 4  -expected-id 0x079264F3
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position 
-----------------

Now I'm not sure if this is the only jtag tap but the manual only
mention the id 0x079264F3 and when trying auto detect that is the only
one shown. The other imx target files that exist in OCD have more than
one TAP in the config files so I'm a bit concerned this is wrong. 

One thing that is not working very well is the halt command. if I do a
reset/reset init I can never do the halt it just times out. 

But if I do a jtag_init then I can do a halt. why is this ?? 

-----------
> reset
JTAG tap: imx28.cpu tap/device found: 0x079264f3 (mfg: 0x279, part: 0x7926, 
ver: 0x0)
NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. 
Type 'help dcc'.
NOTE! Severe performance degradation without working memory enabled.
NOTE! Severe performance degradation without fast memory access enabled. Type 
'help fast'.
> halt
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'
> 
> 
> reset init 
JTAG tap: imx28.cpu tap/device found: 0x079264f3 (mfg: 0x279, part: 0x7926, 
ver: 0x0)
timed out while waiting for target halted
TARGET: imx28.cpu - Not halted

in procedure 'reset'
> halt
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'
> 
> 
> 
> jtag_init
JTAG tap: imx28.cpu tap/device found: 0x079264f3 (mfg: 0x279, part: 0x7926, 
ver: 0x0)
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x600000d3 pc: 0xfffe0b00
MMU: disabled, D-Cache: disabled, I-Cache: disabled

-----------




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

Reply via email to