pounder_test/src
Chris Ballance ab1735950b fix memory safety issue in ethernet interface (closes #33)
The CPU is allowed to access normal memory writes out-of-order. Here
the write to the OWN flag in the DMA descriptor (normal memory) was
placed after the DMA tail pointer advance (in device memory, so not
reorderable). This meant the ethernet DMA engine stalled as it saw
a descriptor it did not own, and only restarted and sent the packet
when the next packet was released.

This fix will work as long as the CPU data cache is disabled. If we
want to enable the cache, the simplest method would be to mark SRAM3
as uncacheable via the MPU.
2019-11-16 03:25:42 +00:00
..
board.rs factor CPU and board-specific initialisation out of main (NFC) 2019-11-13 22:13:04 +00:00
eeprom.rs remove unused code, deny warnings 2019-11-11 12:04:50 +01:00
eth.rs fix memory safety issue in ethernet interface (closes #33) 2019-11-16 03:25:42 +00:00
i2c.rs remove unused code, deny warnings 2019-11-11 12:04:50 +01:00
iir.rs remove unused code, deny warnings 2019-11-11 12:04:50 +01:00
main.rs factor CPU and board-specific initialisation out of main (NFC) 2019-11-13 22:13:04 +00:00