qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] StellarisWare graphics example on Stellaris LM3S6965 hang


From: Lars Hamren
Subject: [Qemu-discuss] StellarisWare graphics example on Stellaris LM3S6965 hangs
Date: Tue, 31 Jul 2012 02:13:01 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

Hi,

I have tried running the small graphics example from StellarisWare,
in directory boards/ek-lm3s6965/graphics:

    qemu-system-arm -M lm3s6965evb -kernel gcc/graphics.bin -s -S

After connecting with gdb, I can single step or run the program,
but it hangs trying to do SSI writes. Here is the stack trace:

   #0  0x000009b0 in SSIDataPut (ulBase=1073774592, ulData=0) at ssi.c:554
   #1  0x00000252 in RITWriteData (pucBuffer=0x2000004c "", ulCount=8) at 
../drivers/rit128x96x4.c:427
   #2  0x00000296 in RIT128x96x4Clear () at ../drivers/rit128x96x4.c:483
   #3  0x0000038c in RIT128x96x4Init (ulFrequency=1000000) at 
../drivers/rit128x96x4.c:854
   #4  0x00000104 in main () at graphics.c:320

and the source for SSIDataPut:

   554    while(!(HWREG(ulBase + SSI_O_SR) & SSI_SR_TNF))
   555    {
   556    }

It hangs on line 554.

Am I doing something wrong?

/Lars
-------------------------------------------------------------------
Lars Hamrén              WWW...: www.sdu.se
Svensk Datorutveckling   Email.: address@hidden
Vadmöllan 211            Tel...: +46( 46)189090
S-225 94 Lund            Mobile: +46(705)189090
Sweden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]