Rs232 Error ATTINY4313

Please add any bug reports that require discussion here

Moderator: Benj

Forum rules
Only bug reports will be considered here. General questions should not be posted in this forum.
Post Reply
medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Rs232 Error ATTINY4313

Post by medelec35 »

Compile to hex and following error is displayed:

Code: Select all

Target folder: D:\FLOCDE~1
Source name:   D:\Flocde V6 components Native files\Rs232 Test1.fcfx
Title:         
Description:   
Device:        AVR.ATTINY.ATTINY4313
Generated by:  Flowcode v6.0.0.58
Date:          Tuesday, August 27, 2013 22:45:58
Users:         0
      ***UNREGISTERED***
   NOT FOR COMMERCIAL USE
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 6 Beta\compilers\avr\batchfiles\avra.bat  attiny4313 "D:\FLOCDE~1\Rs232 Test1.elf" "D:\FLOCDE~1\Rs232 Test1.c" "D:\FLOCDE~1\Rs232 Test1.lst"
Launching compiler...

D:\FLOCDE~1>"C:\PROGRA~2\FLOWCO~4\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=attiny4313 -Os -funsigned-char -o "D:\FLOCDE~1\Rs232 Test1.elf" "D:\FLOCDE~1\Rs232 Test1.c" -lm 
In file included from C:\Program Files (x86)\Flowcode 6 Beta\CAL\includes.c:563,
                 from D:\FLOCDE~1\Rs232 Test1.c:132:
C:\Program Files (x86)\Flowcode 6 Beta\CAL\/AVR\AVR_CAL_UART.c:600:8: error: #error "UART channel 1 not available on this device"
In file included from C:\Program Files (x86)\Flowcode 6 Beta\CAL\includes.c:563,
                 from D:\FLOCDE~1\Rs232 Test1.c:132:
C:\Program Files (x86)\Flowcode 6 Beta\CAL\/AVR\AVR_CAL_UART.c: In function 'FC_CAL_UART_Send_1':
C:\Program Files (x86)\Flowcode 6 Beta\CAL\/AVR\AVR_CAL_UART.c:1092: error: lvalue required as left operand of assignment
C:\Program Files (x86)\Flowcode 6 Beta\CAL\/AVR\AVR_CAL_UART.c: In function 'FC_CAL_UART_UpdateBaud_1':
C:\Program Files (x86)\Flowcode 6 Beta\CAL\/AVR\AVR_CAL_UART.c:1889: error: 'URSEL' undeclared (first use in this function)
C:\Program Files (x86)\Flowcode 6 Beta\CAL\/AVR\AVR_CAL_UART.c:1889: error: (Each undeclared identifier is reported only once
C:\Program Files (x86)\Flowcode 6 Beta\CAL\/AVR\AVR_CAL_UART.c:1889: error: for each function it appears in.)

Error returned from [avr-gcc.exe]
Completed compilation, return = 1

C:\Program Files (x86)\Flowcode 6 Beta\compilers\avr\batchfiles\avra.bat reported error code 1


FINISHED
Not checked datasheet if there is a Rs232 uart, but if there was not then Should not be able to select Channel 1
Martin

Post Reply