Forum: Mikrocontroller und Digitale Elektronik Demoprogramm "hello", von Stellaris development board


von Josef M. (s66178178)


Lesenswert?

Hallo zusammen,
habe ein Development board von Texas Instruments, RDK-IDM-L35, und 
brauche bitte nun Hilfe bei
den von Demoprogramme des LM3S1958 mit Keil.
Die JTAG Target Options, und die Dateien die ich auf jeden Fall mit 
einbinden muss , sind einsgetellt

worden. Nur ich sehe keine Darstellung von Z.B 
"StellarisWare\boards\rdk-idm-l35\hello "Datei
"hello wortld" auf dem Display.obwohl das programm compiliert ist.
vielen dank für jede Antwort oder Vorschlag.

die Main Fkt sieht so aus:


//********************************************************************** 
*******
//
// Print "Hello World!" to the display on the Intelligent Display 
Module.
//
//********************************************************************** 
*******
int
main(void)
{
    tContext sContext;
    tRectangle sRect;

    //
    // Set the clocking to run directly from the crystal.
    //
    SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_XTAL_8MHZ |
                   SYSCTL_OSC_MAIN);

    //
    // Initialize the display driver.
    //
    Kitronix320x240x16_SSD2119Init();

    //
    // Turn on the backlight.
    //
    Kitronix320x240x16_SSD2119BacklightOn(255);

    //
    // Initialize the graphics context.
    //
    GrContextInit(&sContext, &g_sKitronix320x240x16_SSD2119);

    //
    // Fill the top 24 rows of the screen with blue to create the 
banner.
    //
    sRect.sXMin = 0;
    sRect.sYMin = 0;
    sRect.sXMax = GrContextDpyWidthGet(&sContext) - 1;
    sRect.sYMax = 23;
    GrContextForegroundSet(&sContext, ClrDarkBlue);
    GrRectFill(&sContext, &sRect);

    //
    // Put a white box around the banner.
    //
    GrContextForegroundSet(&sContext, ClrWhite);
    GrRectDraw(&sContext, &sRect);

    //
    // Put the application name in the middle of the banner.
    //
    GrContextFontSet(&sContext, &g_sFontCm20);
    GrStringDrawCentered(&sContext, "hello", -1,
                         GrContextDpyWidthGet(&sContext) / 2, 11, 0);

    //
    // Say hello using the Computer Modern 40 point font.
    //
    GrContextFontSet(&sContext, &g_sFontCm40);
    GrStringDrawCentered(&sContext, "Hello World!", -1,
                         GrContextDpyWidthGet(&sContext) / 2,
                         ((GrContextDpyHeightGet(&sContext) - 24) / 2) + 
24,
                         0);

    //
    // Flush any cached drawing operations.
    //
    GrFlush(&sContext);

    //
    // Transfer control to the bootloader to allow remote firmware 
update
    // via the serial port.
    //
    JumpToBootLoader();

    //
    // The boot loader should take control, so this should never be 
reached.
    // Just in case, loop forever.
    //

    while(1)
    {
  }
}

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.