Greetings.
It could be that we could come to the point where we need to reset our board; changed peripherals circumstances, different data in flash, commanded so by I2C,....
Hardware-wise there is the system reset pin which could be used to trigger a reset, i think.
In a worst case scenario i guess on could route a 1-bit output port to it and toggle the system reset in that way from a software side.
I understand its inherently "difficult" to reset all 4 cores from one core as there is no shared register which one could access it.
So is there a software way or is the only option to do this in software by using a port to toggle the pin?
Thanks in advance
Dave
Is a reset possible in SW or is it HW only
Ah okay, xmoslinkers was faster.
Sam says its possible for the G4 with:
I'll try it out.
Sam says its possible for the G4 with:
Code: Select all
void chipReset(void)
{
unsigned x;
read_sswitch_reg(get_core_id(), 6, x);
write_sswitch_reg(get_core_id(), 6, x);
}