You are not logged in.
When the down button is pushed, the board makes a soft restart. Where is this definition?
In the csma mac only the other 4 Buttons get configured, but not the down button. I don't want to change this, but would like to use the restart function in my code. Where can I find it?
Thanks,
Offline
The 'down' button is connected to the top level port 'sys_rst_pin', which is connected to the dedicated reset pcore (proc_sys_reset). When the button is pressed, the reset pcore generates multiple reset signals (PPC, bus, peripherals) in hardware. From the processor's perspective, this is like jumping back to the top of main(). We chose this button a long time ago and have used it by convention. You can redefine which button is used, or disable it altogether.
The other four buttons are connected to a general purpose I/O (xps_gpio) pcore and can be accessed from software code.
Offline