<div dir="ltr">Hi,<div>I tried skyeye 1.2.8, but failed.</div><div>I tried "ezkit533-skyeye -i hello.exe" and " skyeye -c conf -e hello.exe"</div><div>My rtems bsp is eZKit533</div><div>the contents of the conf file is: </div>
<div>arch:blackfin</div><div>mach:bf533</div><div><br></div><div>I modified the tea_load_exec function, for it does not correctly load '.l1code' section.</div><div>This is the errormsg:</div><div><div>olderpc=61cc,oldpc=61ce</div>
<div>,pc=0x61ce,iw0=0xcc00,iw1=0xc000</div><div>Illegal instruction</div><div>The assemble code around this pc is:</div><div><div>   61cc:<span style="white-space:pre"> </span>10 93       <span style="white-space:pre">     </span>[P2] = R0;</div>
<div>   61ce:<span style="white-space:pre"> </span>00 cc 00 c0 <span style="white-space:pre">  </span>R0 = R0 -|- R0 || [P2 + 0x8] = P2 || NOP;</div></div></div><div style>It seems 'decode_dsp32alu_0' can not decode the instruction, but i do not know why so many unhandled_instruction lines. The location which causes the error is following:</div>
<div style><div>else if (aop == 3 && aopcde == 0) {</div><div><span class="" style="white-space:pre"> </span>notethat ("dregs = dregs -|- dregs amod0");</div><div><span class="" style="white-space:pre">      </span>OUTS (outf, dregs (dst0));</div>
<div><span class="" style="white-space:pre">    </span>OUTS (outf, "=");</div><div><span class="" style="white-space:pre">        </span>OUTS (outf, dregs (src0));</div><div><span class="" style="white-space:pre"> </span>OUTS (outf, "-|-");</div>
<div><span class="" style="white-space:pre">    </span>OUTS (outf, dregs (src1));</div><div><span class="" style="white-space:pre"> </span><b>unhandled_instruction ();</b></div><div><span class="" style="white-space:pre">       </span>OUTS (outf, " ");</div>
<div><span class="" style="white-space:pre">    </span>amod0 (s, x, pc);</div><div><span class="" style="white-space:pre">  </span>PCREG += 4;</div><div><span class="" style="white-space:pre">        </span>return;</div><div>}</div>
<div style>I am not familar with dsp insn sets, although I am trying to understand this.</div><div><br></div></div><div><br></div><div style>About the clock tick, I just want to verify whether interrupt is supported or not in gdb, because  I think timer is interrupt driven.  Thus I took the ticker test case.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/10 Joel Sherrill <span dir="ltr"><<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 5/10/2013 9:49 AM, Peng Fan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I have encounter a problem when using bfin simulator.<br>
<br>
$bf537Stamp -i ticker.exe<br>
bfin-rtems4.11-run is /opt/rtems-4.11/bin/bfin-<u></u>rtems4.11-run<br>
<br>
<br>
*** CLOCK TICK TEST ***<br>
TA1  - rtems_clock_get_tod - 09:00:00   12/31/1988<br>
TA2  - rtems_clock_get_tod - 09:00:00   12/31/1988<br>
TA3  - rtems_clock_get_tod - 09:00:00   12/31/1988<br>
<br>
It stops at the 'TA3' and does not go on.<br>
<br>
And when I use ezkit533 bsp with the command 'ezkit533 -i hello.exe', it shows that:<br>
"bfin-rtems4.11-run is /opt/rtems-4.11/bin/bfin-<u></u>rtems4.11-run<br>
_cec_raise: double fault at 0xffb00000 ! :("<br>
<br>
I have tried skyeye 1.2.4 to run bfin, but some instructions can not be decoded.<br>
<br>
</blockquote></div></div>
My skyeye is 1.2.8 but it has been a while since I tested this BSP.<br>
<br>
You may not need a clock tick to test RTL.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks.<br>
<br>
Regards,<br>
Peng.<br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Joel Sherrill, Ph.D.             Director of Research & Development<br>
joel.sherrill@OARcorp.com        On-Line Applications Research<br>
Ask me about RTEMS: a free RTOS  Huntsville AL 35805<br>
Support Available                (256) 722-9985<br>
<br>
______________________________<u></u>_________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/<u></u>listinfo/rtems-users</a><br>
</font></span></blockquote></div><br></div>