This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
usersguide:usersguide [2022/03/03 19:52] dpisuperadmin |
usersguide:usersguide [2022/03/12 23:13] (current) dpisuperadmin [Software Defined Peripherals on the Baseboard4] |
||
|---|---|---|---|
| Line 56: | Line 56: | ||
| The Baseboard connects to your computer using a USB-serial link. Data over the link consists of packets of binary data that read and write the registers in the software defined peripherals in DPCore. | The Baseboard connects to your computer using a USB-serial link. Data over the link consists of packets of binary data that read and write the registers in the software defined peripherals in DPCore. | ||
| You can download and install dpdaemon with the following commands: | You can download and install dpdaemon with the following commands: | ||
| - | | + | |
| - | cd dpdaemon | + | cd dpdaemon |
| - | make | + | make |
| - | sudo make install | + | sudo make install |
| - | The Baseboard has an FTDI USB-to-serial interface. | + | The Baseboard has an FTDI USB-to-serial interface. |
| - | dpdaemon -l / | + | sudo addgroup $LOGNAME dialout |
| + | | ||
| - | You can perform a quick test that everything is working by changing the LEDs on the Baseboard with the command: | + | You can perform a quick test that everything is working by changing the LEDs on the Baseboard with the commands: |
| - | / | + | |
| + | | ||
| Dpdaemon is a true daemon in that, by default, it will disassociate from the controlling terminal, respawn itself, and use syslog() to report errors. | Dpdaemon is a true daemon in that, by default, it will disassociate from the controlling terminal, respawn itself, and use syslog() to report errors. | ||