WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2009-Jan-25 13:37:26

domenique
Member
Registered: 2009-Jan-07
Posts: 47

Down-Button / Restart

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

 

#2 2009-Jan-25 13:56:13

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Down-Button / Restart

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

 

Board footer