Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
bootloader:openocd [2021/01/30 17:24] admin |
bootloader:openocd [2021/01/30 17:33] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== OpenOCD | + | ====== OpenOCD |
{{: | {{: | ||
- | Following | + | On a Raspberry Pi following |
+ | Install: | ||
$ sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev htop | $ sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev htop | ||
+ | Git clone: | ||
$ git clone http:// | $ git clone http:// | ||
$ cd openocd/ | $ cd openocd/ | ||
+ | Configure & Install: | ||
$ ./ | $ ./ | ||
$ ./configure --enable-sysfsgpio --enable-bcm2835gpio | $ ./configure --enable-sysfsgpio --enable-bcm2835gpio | ||
$ make | $ make | ||
$ sudo make install | $ sudo make install | ||
+ | Check Interfaces: | ||
$ cd / | $ cd / | ||
$ ls | $ ls | ||
+ | New Folder: | ||
$ cd ~ | $ cd ~ | ||
$ mkdir bootloader | $ mkdir bootloader | ||
$ cd bootloader | $ cd bootloader | ||
- | Download the needed bootloaders | + | Download the Bootloader: |
$ wget https:// | $ wget https:// | ||
$ wget https:// | $ wget https:// | ||
$ wget " | $ wget " | ||
+ | Make your Config File: | ||
+ | $ nano openocd.cfg | ||
+ | Add: | ||
- | $ nano openocd.cfg | ||
$ sudo openocd -f openocd.cfg | $ sudo openocd -f openocd.cfg | ||
+ | If needed change the Raspberry Pi interface file: | ||
$ sudo nano / | $ sudo nano / | ||
+ | $ sudo nano / | ||
---- | ---- |