Note: application code lives here: SoftConsole/SB0_MSS_CM3/SB0_MSS_CM3_app/
Milestones (SB0, SB1, etc...)
it seems silly that the system hangs when the cable is unplugged.
I think there is a case where the system gets stuck in the ethernet ISR. Maybe bumping the priority of the ethernet ISR down a below SysTick would help it get "unstuck".
I saw it busy waiting for a buffer to become free.
Unplugging and replugging the network cable doesn't seem to cause a link-down notification. Thus, we can't ask for our DHCP address again. Normally, this isn'y a problem, but on the Physics network, it is.
To fix this we must add a task that polls the PHY to determine the link status and then calls netif_set_link_[up|down] in the lwip stack. This should fix the problem.
write memory locations
dump statistics and errors.
How to setup SysTick
General Notes and Questions [100%]
[X] determine if the MSS configures the DDR or if the soft IP does. it looks like the smartfusion2 uses the soft IP to connect the MDDR configuration registers to the MSS who does the actual configuration.
[X] I/O banks and voltages?
Each I/O bank has it's own VCC and drive capabilities
[X] constraint file directives? Where to find them? there also is a graphical constraint editor in SOC
[X] how do clocks relate to the constraint file?
you can define clocks and skew and such in the clock constraint file
[X] how to connect the MAC to the off-chip PHY? connect the managment interface through a BIBUF (multiplexes MDIO) connect the MAC pins to the PHY pins via the constraints file make sure the logic voltage is 2.5V or you won't be able to connect them promote the mangement pins to the top-level
[X] what is SERDES? what is a "lane"? SERDES is used to drive PCIe and other fast busses