CircuitSerialKiller:
Hi all, just for the sake of anyone interested doing a search, I had to compile Optiboot tonight for a 1284P running with a 12MHz crystal I just reworked onto my board. Although the 1284P @ 5v, 16MHzhas been stable for me and everyone else I've heard from, it does have issues if there's a voltage sag long before hitting the brownout voltage. The datasheet does show however that the 1284P is stable at 12MHz.
CircuitSerialKiller,
How did you get optiboot to recompile?
I am trying and failing. I have a 'new, fresh' Arduino 1.6.5 environment. Under Windows 7 Profession.
the readme file says to open a cmd line in the optiboot directory:
in my case:
C:\Program Files\Arduino\hardware\arduino\avr\bootloaders\optiboot>
I issue:
omake Makefile.2560
to which windows responds:
C:\Program Files\Arduino\hardware\arduino\avr\bootloaders\optiboot>omake Makefil
e.2560
C:\Program Files\Arduino\hardware\arduino\avr\bootloaders\optiboot>..\..\..\tools\a
vr\tools\bin\make OS=windows ENV=arduino Makefile.2560
The system cannot find the path specified.
C:\Program Files\Arduino\hardware\arduino\avr\bootloaders\optiboot>
The only file make in my Program Files folder is:
C:\Program Files>dir make.* /s/p
Volume in drive C is win7 boot
Volume Serial Number is A449-8596
Directory of C:\Program Files\Arduino\tools\Mangler
06/15/2015 03:20 AM 243 make.sh
1 File(s) 243 bytes
Total Files Listed:
1 File(s) 243 bytes
0 Dir(s) 1,443,716,280,320 bytes free
C:\Program Files>
Here is the directory structure of my Arduino folder.
hardware{
arduino{
avr{
bootloaders{
atmega
atmega8
bt
caterina
caterina-Arduino_Robot
caterina-LilyPadUSB
gemma
lilypad{
src}
Old_optiboot
optiboot
stk500v2}
cores{
arduino}
firmwares{
arduinoISP
atmegaxxu2{
arduino-usbdfu{
Board}
arduino-usbserial{
Board
Lib}}
wifishield{
binary
scripts
wifiHD{
Release
src{
CONFIG
SOFTWARE_FRAMEWORK{
ASM
BOARDS{
ARDUINO
EVK1105}
COMPONENTS{
MEMORY{
DATA_FLASH{
AT45DBX}}
WIFI{
HD{
v2.7.0{
UCR1{
GCC}
UCR2{
GCC}}}}}
DRIVERS{
CPU{
CYCLE_COUNTER}
EBI{
SMC}
EIC
FLASHC
GPIO
INTC
PDCA
PM
RTC
SPI
TC
USART}
SERVICES{
DELAY
LWIP{
lwip-1.3.2{
src{
core{
ipv4}
include{
ipv4{
lwip}
lwip
netif}
netif}}
lwip-port-1.3.2{
HD{
if{
include{
arch
netif}
netif}}}}
MEMORY{
CTRL_ACCESS}}
UTILS{
DEBUG
LIBS{
NEWLIB_ADDONS{
INCLUDE}}
LINKER_SCRIPTS{
AT32UC3A{
0512{
GCC}
1256{
GCC}}}
PREPROCESSOR
STARTUP_FILES{
GCC}}}}}
wifi_dnld{
Release
src{
CONFIG
Doc
SOFTWARE_FRAMEWORK{
ASM
BOARDS{
ARDUINO
EVK1105}
COMPONENTS{
MEMORY{
DATA_FLASH{
AT45DBX}}}
DRIVERS{
FLASHC
GPIO
INTC
PM
SPI
USART}
SERVICES{
MEMORY{
CTRL_ACCESS}}
UTILS{
DEBUG
LIBS{
NEWLIB_ADDONS{
INCLUDE}}
LINKER_SCRIPTS{
AT32UC3A{
0512{
GCC}
1256{
GCC}}}
PREPROCESSOR
STARTUP_FILES{
GCC}}}}}}}
libraries{
EEPROM{
examples{
eeprom_clear
eeprom_crc
eeprom_get
eeprom_iteration
eeprom_put
eeprom_read
eeprom_update
eeprom_write}}
SoftwareSerial{
examples{
SoftwareSerialExample
TwoPortReceive}}
SPI{
examples{
BarometricPressureSensor
DigitalPotControl}}
Wire{
examples{
digital_potentiometer
master_reader
master_writer
SFRRanger_reader
slave_receiver
slave_sender}
utility}}
variants{
eightanaloginputs
ethernet
gemma
leonardo
mega
micro
robot_control
robot_motor
standard
yun}}}
tools{
avr{
avr{
bin
include{
avr
compat
util}
lib{
avr25{
tiny-stack}
avr3
avr31
avr35
avr4
avr5
avr51
avr6
avrtiny
avrxmega2
avrxmega4
avrxmega5
avrxmega6
avrxmega7
ldscripts
tiny-stack}}
bin
etc
i686-pc-mingw32{
avr{
include
lib}}
include{
gdb}
lib{
gcc{
avr{
4.8.1{
avr25{
tiny-stack}
avr3
avr31
avr35
avr4
avr5
avr51
avr6
avrtiny
avrxmega2
avrxmega4
avrxmega5
avrxmega6
avrxmega7
include
include-fixed
install-tools{
include}
tiny-stack}}}}
libexec{
gcc{
avr{
4.8.1{
install-tools}}}}}}}
Any Ideas on how to make optiboot?
Chuck.
Attached is a complete foldable directory tree of Program Files\Arduino
t.txt (15.1 KB)