bfin simulator problems

Peng Fan van.freenix at gmail.com
Sat May 11 02:19:11 UTC 2013


Hi,
I tried skyeye 1.2.8, but failed.
I tried "ezkit533-skyeye -i hello.exe" and " skyeye -c conf -e hello.exe"
My rtems bsp is eZKit533
the contents of the conf file is:
arch:blackfin
mach:bf533

I modified the tea_load_exec function, for it does not correctly load
'.l1code' section.
This is the errormsg:
olderpc=61cc,oldpc=61ce
,pc=0x61ce,iw0=0xcc00,iw1=0xc000
Illegal instruction
The assemble code around this pc is:
   61cc: 10 93         [P2] = R0;
   61ce: 00 cc 00 c0   R0 = R0 -|- R0 || [P2 + 0x8] = P2 || NOP;
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:
else if (aop == 3 && aopcde == 0) {
notethat ("dregs = dregs -|- dregs amod0");
OUTS (outf, dregs (dst0));
OUTS (outf, "=");
OUTS (outf, dregs (src0));
OUTS (outf, "-|-");
OUTS (outf, dregs (src1));
*unhandled_instruction ();*
OUTS (outf, " ");
amod0 (s, x, pc);
PCREG += 4;
return;
}
I am not familar with dsp insn sets, although I am trying to understand
this.


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.


2013/5/10 Joel Sherrill <joel.sherrill at oarcorp.com>

> On 5/10/2013 9:49 AM, Peng Fan wrote:
>
>> Hi,
>> I have encounter a problem when using bfin simulator.
>>
>> $bf537Stamp -i ticker.exe
>> bfin-rtems4.11-run is /opt/rtems-4.11/bin/bfin-**rtems4.11-run
>>
>>
>> *** CLOCK TICK TEST ***
>> TA1  - rtems_clock_get_tod - 09:00:00   12/31/1988
>> TA2  - rtems_clock_get_tod - 09:00:00   12/31/1988
>> TA3  - rtems_clock_get_tod - 09:00:00   12/31/1988
>>
>> It stops at the 'TA3' and does not go on.
>>
>> And when I use ezkit533 bsp with the command 'ezkit533 -i hello.exe', it
>> shows that:
>> "bfin-rtems4.11-run is /opt/rtems-4.11/bin/bfin-**rtems4.11-run
>> _cec_raise: double fault at 0xffb00000 ! :("
>>
>> I have tried skyeye 1.2.4 to run bfin, but some instructions can not be
>> decoded.
>>
>>  My skyeye is 1.2.8 but it has been a while since I tested this BSP.
>
> You may not need a clock tick to test RTL.
>
>> Thanks.
>>
>> Regards,
>> Peng.
>>
>>
>
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel.sherrill at OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> Support Available                (256) 722-9985
>
> ______________________________**_________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/**listinfo/rtems-users<http://www.rtems.org/mailman/listinfo/rtems-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130511/080771a2/attachment.html>


More information about the users mailing list