1284pu cant upload program

Hi,

I have built a board using a 1284p processor and have had the simple blink program running ( without bootloader) , programmed via USBtiny and Arduino IDE after installing the mighty core library.

The chip I used is a 1284PU .I changed the device signiature in arduino config to 1E 97 06 from 1E 97 05 to match the chip.

I then used the Arduino IDE and loaded the bootloader using a UNO as ISP, this showed no errors.

[Board selected in IDE :

"manicbug" 1284 mighty 1284P 16Mhz using Optiboot]

reading from bit burner: (using AVRtiny onto ICSP connector)

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% -0.00s

avrdude.exe: Device signature = 0x1e9706
avrdude.exe: Expected signature for ATMEGA1284P is 1E 97 05

upon up loading blink with IDE (1.8.1) via FTDI board onto Tx0 Rx0. (10k, .15uF on reset to DTR)
I get this message:

Sketch uses 1084 bytes (0%) of program storage space. Maximum is 130048 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 16375 bytes for local variables. Maximum is 16384 bytes.
avrdude: Expected signature for ATmega1284P is 1E 97 06
Double check chip, or use -F to override this check.
Wrong microcontroller found. Did you select the right board from the Tools > Board menu?

Any help as to what has gone wrong ? any advice appreciated, or do you need to know any more details ?

thx.

No need to muck around with the signature definitions. Use the far superior MightyCore:

Then you only need to select Tools > Variant > 1284.

That Mighty 1284P hardware package you're using was good in its day but it was completely abandoned by 3 different maintainers and after the last one nobody was given the reins so it's well and truly dead now. Luckily MCUdude came along and gave us something even better.

Ok thx , I’ll give it a whirl

Yep tried that worked first time ( well after I selected 1284 instead of 1284p and rembered to power the board).

I showed the wife the led blinking , but she’s not impressed.

Thx for the help

You're welcome. I'm glad to hear it's working. The ATmega1284 is a great chip. Enjoy!
Per

Couple of things:

  1. This is mainly a test to upload a picture* as Ive not done that before, but it is (sort of) topic related. (* following robin2's guide)

  2. This is my development board for the 1284 , used in this thread, that might be of interest. I prefer to use these if I I'm working on something in the medium term- for the cost of making a PCB (but I've 10 of therm lol) and I have other boards for Microview and NANO's. I've bought all the pins out, provided a 5v and 3v3v supply (not populated the 3v3).
    I've build in two 0-5v sources via pots, , analog inputs with voltage dividers (AB) ,two open collector outputs, 4 LED's and 4 push buttons, some pull up and pull down resistors plus a DS1820 connection. For coms it has a MAX232 , ICSP and FDTI headers. You just use short jumpers to connect whatever you want to use.