memory reading problem

I use signalyzer, openocd r93 rc01 from YAGARTO, an STR712F.

When I try to read memory I obtain this:

> mdb 0xE0004000 16
0xe0004000: f9 f9 f9 f9 f9 f9 f9 f9
0xe0004008: f9 f9 f9 f9 f9 f9 f9 f9
> mdw 0xE0004000 4
0xe0004000: 000000f9 000000f9 000000f9 000000f9

The ram content 8 bit accessed seems different from 32 bit access.

I obtain also some errors like this:

Error:   arm7_9_common.c:560 arm7_9_execute_sys_speed(): timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 4

maybe I must chance jtag speed? I tried with 0,1 and 6 but the behaviour is unchanged

thanks

Hi,

what configuration file settings do you use? Make sure the target is really in debug state before trying to access memory (use the ‘poll’ command).

The timeout waiting for SYSCOMP & DBGACK is fatal - at that point, the debugger doesn’t know what’s happening anymore.

Try setting the reset_config to tsrt_and_srst srst_pulls_trst, and make sure you’re not using reset_init or reset_halt.

Regards,

Dominic

Dominic:
what configuration file settings do you use?

str7xx_signalyzer.cfg

Dominic:
Make sure the target is really in debug state before trying to access memory (use the ‘poll’ command).

with poll I obtain:

> poll
target state: halted
target halted in ARM state due to debug request, current mode: System
cpsr: 0x8000001f pc: 0x0000035c

Dominic:
The timeout waiting for SYSCOMP & DBGACK is fatal - at that point, the debugger doesn’t know what’s happening anymore.

Try setting the reset_config to tsrt_and_srst srst_pulls_trst, and make sure you’re not using reset_init or reset_halt.

This setting is the one I already use.

I tried to set jtag_speed 60, now it seems to work, but according to manual this mean tha TCK is 100KHz (6MHz / 60), I think it’s too slow. I think I can speed up TCK.

thanks

What target board are you working with? Is it a devboard, or is it a homebrew device?

Regards,

Dominic

Dominic:
What target board are you working with? Is it a devboard, or is it a homebrew device?

Is a devboard come with IAR starter kit STR712-SK/IAR, but the board is labeled olimex, I think it's could be the olimex STR-P712

thanks

Hello,

I have checked it with an HITEX STR7 board here are the results:

JTAGkey:

=======

Open On-Chip Debugger

poll

target state: halted

target halted in ARM state due to debug request, current mode: Undefined

cpsr: 0x900000db pc: 0x00059a18

mdb 0xe00004000 16

0xffffffff: 00 ff ff ff ff ff ff ff

0x00000007: ff ff ff ff ff ff ff ff

mdb 0xe0004000 16

0xe0004000: ff ff 00 00 ff ff 00 00

0xe0004008: 00 00 00 00 fe fb 00 00

mdw 0xe0004000 4

0xe0004000: 0000ffff 0000ffff 00000000 0000fbfe

Signalyzer:

========

Open On-Chip Debugger

poll

target state: halted

target halted in ARM state due to debug request, current mode: Undefined

cpsr: 0x900000db pc: 0x0005a6d8

mdb 0xe0004000 16

0xe0004000: ff ff 00 00 ff ff 00 00

0xe0004008: 00 00 00 00 fe fb 00 00

mdw 0xe0004000 4

0xe0004000: 0000ffff 0000ffff 00000000 0000fbfe

no problem with the r93 version, even no problem with the

Signalyzer.

Regards,

Michael