- For Arduino Duemilanove:Make sure RESET-EN jumper is broken.
- Power on AVRDragon via USB.
- Connect ISCP cable with ribbon end pointing towards USB ports of Arduino and AVRDragon.
- Power on Arduino via external power source.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pre { | |
overflow-x:scroll; | |
overflow-y:scroll; | |
background: black; | |
color:LawnGreen; | |
padding: 10px 16px; | |
border-radius: 2px; | |
border-top: 4px solid #00aeef; | |
-moz-box-shadow: inset 0 0 10px #000; | |
box-shadow: inset 0 0 10px #000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# intially generated from http://bashrcgenerator.com/ with additional modificationas | |
# | |
# creates prompt like this with username and directory path on one line, then most recent error code number and $ on next line: | |
# gojimmypi@ubuntu : ~ | |
# 0 $ | |
# | |
# prior version, no GitHub branch | |
# export PS1="\[\033[38;5;2m\]\u@\h\[$(tput sgr0)\]\[\033[38;5;15m\] : \[$(tput sgr0)\]\[\033[38;5;11m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]\n\$? \\$ \[$(tput sgr0)\]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# we are assuming VMware tools are ready to be installed. Click Tools - Reinstall VMware tools if needed | |
# if you copy/paste this instead of using in a shell, be sure to use your login in place of $USER, below | |
cd ~/ | |
# Ensure there's a ~/Downloads directory | |
if [ ! -d "Downloads" ]; then | |
mkdir ~/Downloads | |
fi | |
cd ~/Downloads/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fatal: unable to connect to git.qemu-project.org: | |
git.qemu-project.org[0: (my ip address)]: errno=Connection refused | |
firewall may be blocking outbound git:// protocol | |
override with a variety of scopes: | |
git config --global url."https://".insteadOf git:// | |
git config --global url.https://github.com/.insteadOf git://github.com/ | |
git config --global url.https://git.qemu.org/git/.insteadOf git://git.qemu-project.org/ | |
git config --global url.https://anongit.freedesktop.org/git/.insteadOf git://anongit.freedesktop.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Can't create a Windows 10 recovery drive. Some required files are missing. | |
:: | |
:: https://answers.microsoft.com/en-us/windows/forum/windows_10-update/cant-create-a-windows-10-recovery-drive-some/6dd29184-2ddd-48f2-803a-a788cf9345b0 | |
:: | |
:: You may need to change "harddisk0" to "harddiskX" where X is the number of your "C" drive and "partition1" to partitionX where X | |
:: is the partition number to conform with your system setup. | |
:: To check go to Control Panel/Administrative Tools/Computer Management/Storage/Diskmanagment. The disk partitions are numbered from | |
:: the left of the screen starting with number 1. | |
:: | |
:: admin prompt in DOS: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find /. -name arm-none-eabi-gdb 2>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# assumes git clone started in ~\workspace for openocd-esp32 | |
export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin | |
export IDF_PATH=~/esp/esp-idf | |
cd ~/workspace/openocd-esp32/tcl | |
sudo openocd -f interface/ftdi/olimex-arm-usb-ocd-h-1MHz.cfg -c "transport select jtag" -f target/esp32.cfg | |
#sudo openocd -f interface/jlink.cfg -f target/esp32.cfg | |
# or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin | |
export IDF_PATH=~/esp/esp-idf | |
find /. -name xtensa-esp32-elf-gdb 2>/dev/null | |
cd ~/esp/hello_world/build | |
#xtensa-esp32-elf-gdb -tui -x hello_world.gdb hello-world.elf | |
xtensa-esp32-elf-gdb hello-world.elf | |
# once in gdb enter target remote localhost:3333 | |
# continue |
OlderNewer