Open sr-cdf opened 6 days ago
@mitchburnett Don't suppose you have any words of wisdom? I don't know if this is fundamental, or some error in the way python is memmapping /dev/mem
. I haven't investigated at all yet, but before I start I wondered if you had ever seen this.
Hi @jack-h,
FYI
I can make the CPU stop at will in python by writing to the mixer lo phase increment shared bram using the axil-mmap (in casperfpga.transport_localmem.LocalMemTransport) and then reading from it straight away in the next line:
This code will crash the CPU:
There are no kernel messages in dmesg or journal or syslog, nothing printed to the serial konsole, does not respond over network or serial, just everything stops responding and needs a power cycle.
Note that the system does not crash if i put a time.sleep(0) between the read and the write.
What could be the cause of the crash?