Soft panic for RTIO PLL reasons #199

Merged
sb10q merged 16 commits from mwojcik/artiq-zynq:pll_error into master 2022-10-21 17:56:34 +08:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit e5158ae9c8 - Show all commits

View File

@ -96,6 +96,11 @@ fn init_rtio(timer: &mut GlobalTimer, _clk: RtioClock) {
info!("RTIO PLL locked");
} else {
error!("RTIO PLL failed to lock");
#[cfg(feature = "target_kasli_soc")]
{
pl::csr::error_led::out_write(1);
// try "soft" panic
}
}
unsafe {