mirror of
https://github.com/hak5darren/wifipineapple-wiki.git
synced 2025-10-29 16:59:29 +00:00
Inital go at the getting started doc for the HDK area
This commit is contained in:
parent
90d1e2cc40
commit
0afb1cab40
@ -0,0 +1,41 @@
|
|||||||
|
# Getting Started with the HDK
|
||||||
|
|
||||||
|
## Things you will need
|
||||||
|
|
||||||
|
1) The HDK
|
||||||
|
2) A Wifi Pineapple
|
||||||
|
3) A Soldering iron
|
||||||
|
4) A programmer (an arduino is fine)
|
||||||
|
5) (optionally) a USB to serial converter.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Set up of the HDK in the Pineapple
|
||||||
|
|
||||||
|
The HDK talks to the Wifi pineapple via a bit-banged SPI interface, using on board gpios. These are not enabled by default. In order to enable the interface, type:
|
||||||
|
|
||||||
|
/sbin/insmod spi-gpio-custom bus0=1,18,20,19,0,125000,21
|
||||||
|
|
||||||
|
Once this command has been run, a new device /dev/spidev1.0 will be created.
|
||||||
|
|
||||||
|
## Soldering the HDK
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Programming the HDK
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Example program
|
||||||
|
|
||||||
|
```C
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Additional Information + Useful Links
|
||||||
|
|
||||||
|
https://randomcoderdude.wordpress.com/2013/08/15/spi-over-gpio-in-openwrt/
|
||||||
Loading…
x
Reference in New Issue
Block a user