Hello,
I'm using Atmega1284p with Arduino.
Right now im using mighty-1284p with v1.6.3 maniacbug bootloader. Also i tested with avr-developers bootloader.
The following image is my current settings for bootloader and programming:
Pinout i use:
+---\/---+
(D 0) PB0 1| |40 PA0 (AI 0 / D24)
(D 1) PB1 2| |39 PA1 (AI 1 / D25)
INT2 (D 2) PB2 3| |38 PA2 (AI 2 / D26)
PWM (D 3) PB3 4| |37 PA3 (AI 3 / D27)
PWM/SS (D 4) PB4 5| |36 PA4 (AI 4 / D28)
MOSI (D 5) PB5 6| |35 PA5 (AI 5 / D29)
PWM/MISO (D 6) PB6 7| |34 PA6 (AI 6 / D30)
PWM/SCK (D 7) PB7 8| |33 PA7 (AI 7 / D31)
RST 9| |32 AREF
VCC 10| |31 GND
GND 11| |30 AVCC
XTAL2 12| |29 PC7 (D 23)
XTAL1 13| |28 PC6 (D 22)
RX0 (D 8) PD0 14| |27 PC5 (D 21) TDI
TX0 (D 9) PD1 15| |26 PC4 (D 20) TDO
RX1/INT0 (D 10) PD2 16| |25 PC3 (D 19) TMS
TX1/INT1 (D 11) PD3 17| |24 PC2 (D 18) TCK
PWM (D 12) PD4 18| |23 PC1 (D 17) SDA
PWM (D 13) PD5 19| |22 PC0 (D 16) SCL
PWM (D 14) PD6 20| |21 PD7 (D 15) PWM
+--------+
My problem:
I use D0 as digitalpin for FastLED library data pin, and it won't work or light any LED. I used a multimeter to measure the voltage on pin and i get 1.3V... Thats one reason why pin don't work to interface the fastled. Also D0 is a Timer still the datasheet says that can be used as digital pin, but i can't get it to work.
After try many things (on software and hardware) i can't get it to work. I can move this hardware to other atmega pin but that will require redo some paths and resolder.
Anyone can give me some tips or solutions?
Note: Its not a code bug or error since it works well with a arduino Nano (Using nano pinout). All other stuff on normal pins are working correctly.
I'm using a 5v Power Supply with 5A, its not a power fault.
Pictures about what im doing:
LEDs working with Nano with same code but different pin for data: