Go Down

Topic: Compiling problems with the ATTiny 4313 (Read 2 times) previous topic - next topic

laemmen

Oct 28, 2012, 12:07 pm Last Edit: Oct 28, 2012, 12:11 pm by laemmen Reason: 1
Hey,

I'm using an Arduino Uno directly wired to a tiny4313 to upload my code but there is an error I can't comprehend:

MCU 'attiny4313' supported for assembler only

Code: [Select]
unknown MCU 'attiny4313' specified
Known MCU names:
  avr2
  at90s2313
  at90s2323
  at90s2333
  at90s2343
  attiny22
  attiny26
  at90s4414
  at90s4433
  at90s4434
  at90s8515
  at90c8534
  at90s8535
  avr25
  attiny13
  attiny13a
  attiny2313
  attiny24
  attiny44
  attiny84
  attiny25
  attiny45
  attiny85
  attiny261
  attiny461
  attiny861
  attiny43u
  attiny48
  attiny88
  at86rf401
  avr3
  at43usb320
  at43usb355
  at76c711
  avr31
  atmega103
  avr35
  at90usb82
  at90usb162
  attiny167
  avr4
  atmega8
  atmega48
  atmega48p
  atmega88
  atmega88p
  atmega8515
  atmega8535
  atmega8hva
  at90pwm1
  at90pwm2
  at90pwm2b
  at90pwm3
  at90pwm3b
  avr5
  atmega16
  atmega161
  atmega162
  atmega163
  atmega164p
  atmega165
  atmega165p
  atmega168
  atmega168p
  atmega169
  atmega169p
  atmega32
  atmega323
  atmega324p
  atmega325
  atmega325p
  atmega3250
  atmega3250p
  atmega328p
  atmega329
  atmega329p
  atmega3290
  atmega3290p
  atmega406
  atmega64
  atmega640
  atmega644
  atmega644p
  atmega645
  atmega6450
  atmega649
  atmega6490
  atmega16hva
  at90can32
  at90can64
  at90pwm216
  at90pwm316
  atmega32m1
  atmega32c1
  atmega32u4
  atmega32u6
  at90usb646
  at90usb647
  at94k
  avr51
  atmega128
  atmega1280
  atmega1281
  atmega1284p
  at90can128
  at90usb1286
  at90usb1287
  avr6
  atmega2560
  atmega2561
  avrxmega4
  atxmega64a3
  avrxmega5
  atxmega64a1
  avrxmega6
  atxmega128a3
  atxmega256a3
  atxmega256a3b
  avrxmega7
  atxmega128a1
  avr1
  at90s1200
  attiny11
  attiny12
  attiny15
  attiny28
farblehre_demo:-1: error: MCU 'attiny4313' supported for assembler only
In file included from /Users/.../.../sketchbook/hardware/tiny/cores/tiny/WProgram.h:17,
                from sketch.cpp:23:
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:624: error: 'TINY_DEBUG_SERIAL_REGISTER' was not declared in this scope
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:624: error: 'TINY_DEBUG_SERIAL_BIT' was not declared in this scope
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:624: error: template argument 1 is invalid
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:624: error: template argument 2 is invalid
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:624: error: invalid type in declaration before ';' token
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:625: error: 'TINY_DEBUG_SERIAL_REGISTER' was not declared in this scope
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:625: error: 'TINY_DEBUG_SERIAL_BIT' was not declared in this scope
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:625: error: template argument 1 is invalid
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:625: error: template argument 2 is invalid
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:625: error: invalid type in declaration before ';' token
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:626: error: 'TINY_DEBUG_SERIAL_REGISTER' was not declared in this scope
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:626: error: 'TINY_DEBUG_SERIAL_BIT' was not declared in this scope
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:626: error: template argument 1 is invalid
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:626: error: template argument 2 is invalid
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:626: error: invalid type in declaration before ';' token
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h: In member function 'void TinyDebugSerial::begin(long int)':
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:682: error: cannot convert 'TinyDebugSerialWriter_9600*' to 'TinyDebugSerialWriter*' in assignment
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:686: error: cannot convert 'TinyDebugSerialWriter_38400*' to 'TinyDebugSerialWriter*' in assignment
/Users/.../.../sketchbook/hardware/tiny/cores/tiny/TinyDebugSerial.h:690: error: cannot convert 'TinyDebugSerialWriter_115200*' to 'TinyDebugSerialWriter*' in assignment


I'm using a set of several cores, I can't remember where I found them. Here is a screenshot of the boards where the 4313 is also listed. So why is it not possible to program this tiny when it's supported in the list? I successful programmed some 45/85/84/2313 with these cores but the 4313 is not working.  :| I tried it with arduino 0023 and the latest 1.01

any ideas?  :.

Dennis


Go Up