1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-05 13:16:13 +03:00

Removed putch(0)'s from bootloader startup.

This commit is contained in:
David A. Mellis
2005-09-20 15:20:17 +00:00
parent 278d609ef2
commit 8b12b2adf4
4 changed files with 14 additions and 184 deletions

View File

@@ -10,15 +10,18 @@
# very useful also when for some reasons the bootloader disappears
#
# TODO: cleanup and make it more user friendly
# TODO: move this (and related) scripts to platform dist/ dirs
#
# expects an STK500 compatible programmer on the specified serial port
# if you use the parallel port programmer you need to change the dprog
# parametre
#
BINDIR=/usr/local/avr/bin
#BINDIR=/usr/local/avr/bin
BINDIR=../build/macosx/work/tools/avr/bin
#PORT=/dev/tty.usbserial0
PORT=/dev/tty.USA19QW3b1P1.1
#PORT=/dev/tty.USA19QW3b1P1.1
PORT=/dev/tty.USA19QW1b1P1.1
$BINDIR/uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --wr_lock=0xFF
$BINDIR/uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --wr_fuse_l=0xdf --wr_fuse_h=0xc8