/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / openocd 0.4.0 and primer

Username:     
Password:     
             

Forum

# 1   2010-07-30 07:14:37 openocd 0.4.0 and primer

viki
New member
Registered: 2010-07-23
Posts: 1

openocd 0.4.0 and primer

Hi,

I'm new member of this site. I'm not able to establish debug session with rlink from primer board. I got errors and warnings like below.Any suggestions are kindly welcome.

Code:

G:\arm\openocd\src>openocd -f ..\tcl\interface\rlink.cfg -f ..\tcl\target\stm32. 
cfg 
Open On-Chip Debugger 0.4.0 (2010-07-28-23:12) 
Licensed under GNU GPL v2 
For bug reports, read 
        http://openocd.berlios.de/doc/doxygen/bugs.html 
1000 kHz 
jtag_nsrst_delay: 100 
jtag_ntrst_delay: 100 
Info : clock speed 375 kHz 
Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba0 
0, ver: 0x3) 
Info : JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410 
, ver: 0x1) 
Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed 
Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0xe0001004 
Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed 
Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0xe0001004 
Warn : Block read error address 0xe0001000, count 0x1 
Info : stm32.cpu: hardware has 6 breakpoints, 0 watchpoints 
Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed 
Error: MEM_AP_CSW 0x23000042, MEM_AP_TAR 0xe000edf0 
Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed 
Error: MEM_AP_CSW 0x23000042, MEM_AP_TAR 0xe000edf0 
Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed 
Error: MEM_AP_CSW 0x23000042, MEM_AP_TAR 0xe000edf0 
Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Last edited by viki (2010-07-30 07:19:05)

Offline

 

# 2   2010-08-24 09:52:56 openocd 0.4.0 and primer

goberhammer
New member
Registered: 2008-04-17
Posts: 1

Re: openocd 0.4.0 and primer

I had the same problem. Try disabling polling:

- run openocd normally with the same command options you used in your post above

- ignore errors messages and open another console and do:
telnet localhost 4444

- at the prompt digit:
>poll off

This should stop the error messages. I've not tried yet to program the flash, but checking it with:
>halt; flash info 0

worked :-)

Hope this helps, best regards.

Offline

 

Board footer