This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What setting could cause problem in 'empty' project for Tiva-C 1294 Launch Pad ?

Other Parts Discussed in Thread: SYSBIOS

Hi,

I follow this post want to run 'empty' project:

e2e.ti.com/.../1187689

Below is what is modified:

int main(void)
{
    /* Call board init functions */
    Board_initGeneral();
    Board_initEMAC();
    Board_initGPIO();
    // Board_initI2C();
    // Board_initSDSPI();
    // Board_initSPI();
    // Board_initUART();
    // Board_initUSB(Board_USBDEVICE);
    // Board_initUSBMSCHFatFs();
    // Board_initWatchdog();
    // Board_initWiFi();

    /* Turn on user LED */
    GPIO_write(Board_LED0, Board_LED_ON);

    System_printf("Starting the example\nSystem provider is set to SysMin. "
                  "Halt the target to view any SysMin contents in ROV.\n");
    /* SysMin will only print to the console when you call flush or exit */
    System_flush();

    /* Start BIOS */
    BIOS_start();

    return (0);
}

I have increased Heap size to 24KB, see below please.

There is still error as below:

Using MAC address in flash
Starting the example
System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
ti.sysbios.family.arm.m3.Hwi: line 1269: E_noIsr: id = 56, pc = 00016546
Exception occurred in background thread at PC = 0x00016546.
Core 0: Exception occurred in ThreadType_Task.
Task name: {unknown-instance-name}, handle: 0x200005e8.
Task stack base: 0x2000e080.
Task stack size: 0x800.
R0 = 0x00016529 R8 = 0xffffffff
R1 = 0x200005f8 R9 = 0xffffffff
R2 = 0x00000001 R10 = 0xffffffff
R3 = 0x00000020 R11 = 0xffffffff
R4 = 0xffffffff R12 = 0x00000000
R5 = 0xffffffff SP(R13) = 0x2000e860
R6 = 0xffffffff LR(R14) = 0x000002e1
R7 = 0xffffffff PC(R15) = 0x00016546
PSR = 0x4100f000
ICSR = 0x00423838
MMFSR = 0x00
BFSR = 0x00
UFSR = 0x0000
HFSR = 0x00000000
DFSR = 0x0000000b
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...
Using MAC address in flash
Starting the example
System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
ti.sysbios.family.arm.m3.Hwi: line 1269: E_noIsr: id = 56, pc = 00016546
Exception occurred in background thread at PC = 0x00016546.
Core 0: Exception occurred in ThreadType_Task.
Task name: {unknown-instance-name}, handle: 0x200005e8.
Task stack base: 0x2000e080.
Task stack size: 0x800.
R0 = 0x00016529 R8 = 0xffffffff
R1 = 0x200005f8 R9 = 0xffffffff
R2 = 0x00000001 R10 = 0xffffffff
R3 = 0x00000020 R11 = 0xffffffff
R4 = 0xffffffff R12 = 0x00000000
R5 = 0xffffffff SP(R13) = 0x2000e860
R6 = 0xffffffff LR(R14) = 0x000002e1
R7 = 0xffffffff PC(R15) = 0x00016546
PSR = 0x4100f000
ICSR = 0x00423838
MMFSR = 0x00
BFSR = 0x00
UFSR = 0x0000
HFSR = 0x00000000
DFSR = 0x0000000b
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...

What else could be wrong?

Thanks,

  • After adding a missing component at IP block, it has the following echo message. Hopefully it is the desired output.

    Using MAC address in flash
    Starting the example
    System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
    Service Status: DHCPC : Enabled : : 000
    Service Status: DHCPC : Enabled : Running : 000
  • NDK task priorities

    but I cannot find it on XGCONF.

    Here is an image copied from the forum. How to get this sub-menu (could you give me the steps to get there?)?

     I need to set

    Thanks,

  • It is found that tcpEcho project has such message:

    ss in flash
    Starting the TCP Echo example
    System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
    Service Status: DHCPC : Enabled : : 000
    Service Status: DHCPC : Enabled : Running : 000
    Network Added: If-1:192.168.0.113
    Service Status: DHCPC : Enabled : Running : 017

    Comparing with tcpEcho project, empty project is similar but has not the last two lines above. What could be the cause?

    Thanks,
  • It is found that DHCP works after removing EMAC. Then, it is seen that it may be the problem of missing EMAC device driver, but I cannot find where to find and enable EMAC device driver.
    Could you tell me that?

    Thanks,
  • First, what version of TIRTOS are you using?

    Its more prudent to go through the documentation/examples before you just start posting questions as it seems you answer several of your own questions already.

    Judah