ATtiny 1634 support?

hanskarl2000:
I have bought too some of these chips and I don't succeed to get communication with Atmel AVR Studio 6 over ISP6 with JTAGICE3. Do they need external crystal for startup or anything else ?

Here is my test rig. It's set up like a normal AVR on a breadboard or solderboard and I don't have an oscillator and it's working fine. It's just doing one of four Knight Rider style LED animations based on a left button, right button is reset. I set it up to prove to myself I could get this thing programmed, not to prove I could use every feature on it. My programmer for this was a AVRISP mkII.

sierrasmith71:
Well..
9 responses and no answer to my question.." is there Arduino IDE support for the ATtiny 1634?" I gather this means "NO!"

There's been a lot of answers saying it looks just like a Mega328.

If that's true you just need to edit your "boards.txt" file and add a new entry.

sierrasmith71:
Close reading indicates that the AVR-GCC included in the Arduino IDE needs to be "Fresher" .. I have no clue how to do that --Typical Windows user....egad!

Download WinAVR, unzip it. Copy the files from the 'bin' folder into the corresponding folder in your Arduino installation.

http://winavr.sourceforge.net/

If you update your WINAVR bin folder make sure you restore back avrdude.exe from the Arduino IDE version. The version of avrdude.exe included with WINAVR2010 is old and doesn't support some options properly. (Like support for wiring programmer needed for Arduino Mega2560 boards.)

I followed the ATtiny branch on github

but always got stuck at one place -- getting right avr-g++. I am using Windows, it may be easier on a Mac.

Even though Tools -> Boards in Arduino IDE showed the ATtiny with internal 8MHz, when I hit compile, I always got the error that mmcu=attiny1634 is not supported. I got the new avr-gcc from

but it didn't help. I also tried to get new WinAVR from WinAVR download | SourceForge.net but still got the same error. I tried regenerating the Makefile because attiny1634 is not listed in my C:/ArduinoSDK/hardware/tools/avr/mfile/mfile.tcl. I have no background in this so failed again. I would appreciate if someone adds how to update Makefile with your added AVR.

Finally, I downloaded Atmel Studio 6.1. Went to C:/Atmel/Atmel_Studio_6p1/Atmel ToolChain/AVR8 GCC/Native/3.4.2.939/avr8-gnu-toolchain and copied all the files to where Arduino IDE looks -- in hardware/tools/avr (overwrite the files) and that's it, it worked!!

Thank you Joe for the immediate and detailed reply.
It turned out that the microcontroller had a
malfunction (soldered too hot or ...).

Sorry to pull up an old thread, the forum is warning me not to - but I don't see the point in a new thread here.

I too am looking to be able to program the attiny1634 using the Arduino IDE, can anybody point me in the right direction to be able to do this?

What sort of files will I need to make?

There's been a lot of answers saying it looks just like a Mega328.

If that's true you just need to edit your "boards.txt" file and add a new entry.

What do you mean when you say, 'looks' like a 328?

So just to confirm for me and anyone else
ISP - Attiny1634
MISO - 19
MOSI - 20
SCLK - 16
RESET - 14
VCC - 11
GND - 10

Is that right?

Good day everyone! With all the instructions from rambo, the tiny package creator for 1634, I was able to make the chip do what I want, but I may only digitalRead and digitalWrite only. Does any one figured out how to use analogRead on the attiny1634? I need to read voltage. And if yes, may you please explain how. I really really appreciate any input. Thank you in advance.

My tiny841 core also supports the 1634 (same code as Rambo's, only I'm about to fully port it to 1.6.x)

ADC 8-11 will definitely not work, but the others look right. I'm finding that the ADC readings are coming from pins different than the one I'm expecting it to, though. Seems to be off by one.

If you want to take a look at how it's working and post back what actual behavior you're seeing, that'll get it fixed faster. Right now I'm in Cozumel for vacation, and am away from my electronics bench, but if you post up what it's doing, I might be able to get it fixed from here (i think it's going to be either you or me that has to fix this). I have a board to test, but no resistors or anything, so my ability to test the ADC is limited.

I took another look at this.

On my core (and presumably Rambo's), the ADC's all work except for ADC 8, which seems to show me 265 as a fullscale reading (ie, vcc). They also show up on the correct pins (i forgot that my rows of pins on my breakout board left off the Vcc and Gnd pins at the end.

No idea why that would be