Firmware is rather silent with faulty clocking. #198
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#198
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the device is configured for an external clock and you do not provide that at boot, the firmware doesn't panic or turn on an LED. Only on the debug console you can see
RTIO PLL failed to lock
, without it beeing marked as a severe error.An experiment will start as expexted but no RTIO events take place and it stops when it expects any return from the RTIOs.
Maybe a more definitive fault state that is consistent between all Kaslis (aka panic and turn on the Error LED) would be easier to debug for users.
Good point.
Before recent changes, it would hang (with no indication at all), and any changes to config (e.g. changing clock source) or firmware with coremgmt were impossible - you had to take out the SD card, modify the config file.
Error LED has not been implemented yet, although it is present on the board.
How about we keep the behavior of not panicking (so config errors could be amended), but turn on the LED? The log line is already an error, too.
Alternatively, somehow keep the mgmt interface active in the panic handler. This way the crash messages can be retrieved (1) after the fact and (2) without connecting the UART cables.
thanks!