Hello All,
You guys always come to the rescue when my microcontroller isn't working properly. I recently built a new design that uses the ATMEGA2560 16AU. Put this chip on a board just like an off the shelf Arduino Mega board. I am loading programs on using the ICSP header through SPI. I have an Arduino Uno loading the program on running ArduinoISP. This programmer is what I use for many other boards as well and verified this does work.
My problem is that the bootloader and my code load on the processor without any errors, but the mega does not do anything. I have serial UARTs on this board which I can look at and I do not see any outputs on UART0,1,2. As well as I have a few board LEDs which I attempted to blink, but no luck either.
I believe that this problem is due to my configuration of the megas fuses. I used the default settings in my board.txt file.
##############################################################
mega.name=Arduino Mega or Mega 2560
mega.vid.0=0x2341
mega.pid.0=0x0010
mega.vid.1=0x2341
mega.pid.1=0x0042
mega.vid.2=0x2A03
mega.pid.2=0x0010
mega.vid.3=0x2A03
mega.pid.3=0x0042mega.upload.tool=avrdude
mega.upload.maximum_data_size=8192mega.bootloader.tool=avrdude
mega.bootloader.low_fuses=0xFF
mega.bootloader.unlock_bits=0x3F
mega.bootloader.lock_bits=0x0Fmega.build.f_cpu=16000000L
mega.build.core=arduino
mega.build.variant=megadefault board may be overridden by the cpu menu
mega.build.board=AVR_MEGA2560
Arduino Mega w/ ATmega2560
-------------------------
mega.menu.cpu.atmega2560=ATmega2560 (Mega 2560)
mega.menu.cpu.atmega2560.upload.protocol=wiring
mega.menu.cpu.atmega2560.upload.maximum_size=253952
mega.menu.cpu.atmega2560.upload.speed=115200mega.menu.cpu.atmega2560.bootloader.high_fuses=0xD8
mega.menu.cpu.atmega2560.bootloader.extended_fuses=0xFD
mega.menu.cpu.atmega2560.bootloader.file=stk500v2/stk500boot_v2_mega2560.hexmega.menu.cpu.atmega2560.build.mcu=atmega2560
mega.menu.cpu.atmega2560.build.board=AVR_MEGA2560
I will try to add the verbose output when uploading a simple program. Kind of annoying, but the IDE is wiping out the important upload data with statements like:
avrdude: avr_read(): skipping page 1022: no interesting data
Any help is greatly appreciated. Usually, these are simple things. Hope it can be fixed.
Thanks in advance!