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.

F28M36 Boot from flash causes ethernet not to function

Hello I am using the F28M36 control card R1.1 and as development moves forward i need to be able to run the control card independent of the debugger.

When set the Boot Mode Selector switches to (seemingly) any set of positions that allows/causes the M3 to boot from flash the program runs (outputs on debug port to hyperterminal) but the ethernet port no longer works. The ethernet port does work if the switches are 0011 and started from the debugger.

What is the proper configuration to allow the Ethernet port to function if booting from flash?

Regards,

Galen

Added 6/19/2013:

Still trying to figure this out. I did verify that the code is running once the power comes up (hyperterminal to m3 UART0) however the ethernet is out. no lights on the connector. If i change the boot switches the program will nto run but can start with debug and ethernet can connect and echo to hyperterminal.

This is a critical item to resolve so i would appreciate help and ideas.

  • I have figured it out but need to read some more...

    I was missing the:

    SysCtlPeripheralEnable(SYSCTL_PERIPH_ETH);   before the watchdog and pin setup which is follwed by a SysCtlPeripheralEnable(SYSCTL_PERIPH_ETH); (lwip example clued me in)

    I have two questions:

    1) Why is the first call needed?

    2) Why would the issue only show up when not running through the debugger?

    Galen