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.

missing CPSW initialization in StarterWare samples

Hi,

I have a issue with running CPSW sample code from StarterWare when it is loaded from u-boot, while same sample works fine while loaded directly from SD card.

So I guess some initialization step is missing in starter ware example and I'm trying to find which one.

It seems like it is interrupt issue, so I slightly extended that sample to print on UART character T for TX interrupt and R for RX interrupt. This is output when loaded from SD card directly:

Jumping to StarterWare Application...

Acquiring IP Address... 
TRTRTEVM IP Address Assigned: 192.168.123.251 
Access the http server default page using http://192.168.123.251/index.html via a web browserRRRRRRRRRRRRRRR

However when same binary is loaded with u-boot (load at 0x80000000 and go 0x80000000)

Acquiring IP Address... 
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT

Seems that all CPSW subsystems are reset in this code sample so I wonder what else can cause this change in behavior.

Thanks for any suggestion.

Damjan