What is MPIC Reset on T2081?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is MPIC Reset on T2081?

1,115 Views
stevereynolds
Contributor I

Hi

My port of U-Boot to a T2081 is hanging when I send a USB command, but only when it is booted from SPI. The NOR boot works perfectly and I cannot see any logical difference between the two.

When I step this with a debugger (Lauterbach) the debugger also hangs but says "Running (MPIC Reset)".

I can't find anything that clearly explains this state in the reference manual.

Could anyone please give me an idea as to what could be going on here?

Thanks

Steve

Labels (1)
0 Kudos
Reply
2 Replies

910 Views
stevereynolds
Contributor I

Hi Sorry for the long time to reply

I think I have got to the bottom of this now.

I took out the USB code and the problems started to appear in the network stack. When I looked at the WIMGE bits for the DDR TLB I found that the M bit was set when booted from Flash but not when booted from SPI. The code in our tlb.c was using 0 while set_ddr_tlbs always sets M.

When I added 'M' all the strangeness went away.

This code was adapted from the t2081rdb code which also sets 0 so this may be an issue when SPI or Nand booting on the dev boards?

Regards

Steve

0 Kudos
Reply

910 Views
bpe
NXP Employee
NXP Employee

Where in u-Boot code the debugger enters this state? At some initialization, between or before relocation(s), or somewhere in

USB-related code?

0 Kudos
Reply