EmbDev.net

Forum: ARM programming with GCC/GNU tools pxa27x and OpenOCD


von Ar L. (al2757)


Rate this post
useful
not useful
Hello again,

  Does anyone know if OpenOCD and pxa270 are compatible? In the 
documents it seems that everything should work just fine.
  Unfortunatley I only manage to stop the target and read and write core 
registers, when I try to read something from a memory location I always 
get the same message:

>> Debug: 800 133685 command.c:68 script_debug(): command - mdw
>> Debug: 801 133687 command.c:77 script_debug(): mdw - argv[0]=ocd_mdw
>> Debug: 802 133687 command.c:77 script_debug(): mdw - argv[1]=0
>> Debug: 803 133687 xscale.c:1920 xscale_read_memory(): address:
>> 0x00000000, size: 0x00000004, count: 0x00000001
>> Debug: 804 133687 xscale.c:564 xscale_write_rx(): polling RX
>> Warn : 805 133689 core.c:743 jtag_check_value_inner(): value captured during 
scan didn't pass the requested check:
>> Warn : 806 133690 core.c:745 jtag_check_value_inner(): captured: 0x00 
check_value: 0x02 check_mask: 0x06
>> Error: 807 133692 xscale.c:574 xscale_write_rx(): JTAG error while
>> writing RX
>> Debug: 808 133694 command.c:444 run_command(): Command failed with
>> error code -104
>> User : 809 133695 command.c:646 openocd_jim_vfprintf(): Runtime error, file 
"command.c", line 473:
>> User : 810 133695 command.c:646 openocd_jim_vfprintf():

 Did anyone manage to work with the pxa270? I am using a Olimex 
ARM-USB-OCD debugger and latest version of OpenOCD.
 Any suggestions? Ideas? It seems to me that something is not right in 
the scan chain.

  Thank you!

  Lucian

LE: Forgot about this, when I start OpenOCD I also get an error 
regarding the writing of DCSR register. If I try to read DCSR I get the 
same message as above mentioned for a memory read.

>> Debug: 592 1619 xscale.c:771 xscale_load_ic(): loading miniIC at 0xffff0000
>> Debug: 593 1620 xscale.c:757 parity(): parity of 0xea804206 is 0
>> Debug: 594 1620 xscale.c:757 parity(): parity of 0xeafffffe is 0
>> Debug: 595 1620 xscale.c:757 parity(): parity of 0xeafffffe is 0
>> Debug: 596 1620 xscale.c:757 parity(): parity of 0xeafffffe is 0
>> Debug: 597 1621 xscale.c:757 parity(): parity of 0xeafffffe is 0
>> Debug: 598 1621 xscale.c:757 parity(): parity of 0xeafffffe is 0
>> Debug: 599 1621 xscale.c:757 parity(): parity of 0xeafffffe is 0
>> Debug: 600 1621 xscale.c:757 parity(): parity of 0xeafffffe is 0
>> Warn : 602 1745 core.c:743 jtag_check_value_inner(): value captured during scan 
didn't pass the requested check:
>> Warn : 603 1746 core.c:745 jtag_check_value_inner(): captured: 0x00 
check_value: 0x02 check_mask: 0x07
>> Error: 604 1747 xscale.c:739 xscale_write_dcsr(): JTAG error while writing DCSR

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.