-
Notifications
You must be signed in to change notification settings - Fork 20
/
README.dongle
61 lines (40 loc) · 1.78 KB
/
README.dongle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
For programming there are 2 dongles now available.
* A hacky dongle connected ontop of uISP (http://github.com/uISP)
* A more clean dongle based off atmega8 and a regular 8pin nrf24l01 module.
The latter one is recommended, you can grab the schematics and PCB designs here:
https://github.com/nekromant/nrf24l01-dongle
Bootloader for programming adaptor that interacts with a bootloader
-------------------------------------------------------------------
The dongle is based off vusb, and reuses uISP's bootloader, so once you get your
hardware ready you need to burn the bootloader (yep, yet another one!).
You can either get the prebuilt hex files from dongle-bootloader/
Or compile yourself. You'll have to do this if you come up with a your own
hardware design.
git clone https://github.com/uISP/uisp-bootloader.git
cd uisp-bootloader
cp config_nrfdongle .config
At this point you may want to run 'menuconfig' and check that you have the correct crystal
frequency, proper deployment method and etc. set up.
Then run
make
make deploy #(Or manually burn the hex file from images/ directory)
Installing userspace
--------------------
Again, uISP's userspace app is reused to upload code to your device, so we'll need
to compile and install it.
Follow the instructions here:
https://github.com/uISP/uisp-userspace
Compiling dongle sourcecode
---------------------------
Either grab a hex from dongle-app/ and upload it to your dongle by running
uisptool -f ./dongle-app/rf24-16M.hex
Or compile by hand:
-----------------
cp config_nrfdongle .config
make menuconfig (adjust whatever you want)
make
make deploy
Known Issues
-------------
I know at least one USB 3.0 host that screws up somewhere along the way and
data corruption happens. This is likely vusb-specific.