Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Xmega 128A3U and buffered serialout error

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
ivangel

Bascom Member



Joined: 20 Sep 2010
Posts: 41
Location: Poland

poland.gif
PostPosted: Mon Dec 01, 2014 10:52 pm    Post subject: Xmega 128A3U and buffered serialout error Reply with quote

As in the title, after declaring a desire to use Buffered Serialin, getting a mass of errors:

Code:

$regfile = "xm128A3Udef.dat"
$crystal = 32000000
$hwstack = 200                                              ' default use 32 for the hardware stack
$swstack = 200                                              'default use 10 for the SW stack
$framesize = 200                                            'default use 40 for the frame space
Config Osc = Enabled , 32mhzosc = Enabled , 32khzosc = Enabled
'configure the systemclock
Config Sysclock = 32mhz , Prescalea = 1 , Prescalebc = 1_1
Config Priority = Static , Vector = Application , Lo = Enabled , Med = Enabled       'Enable Lo Level Interrupts
$lib "xmega.lib"
$external _xmegafix_clear
$external _xmegafix_rol_r1014

Bitwait Osc_status.1 , Set                                  'Check if 32MHz Oscillator is ready
Bitwait Osc_status.2 , Set                                  'Check if internal 32.768 KHz Oscillator is ready
Osc_dfllctrl = 0                                            'The internal 32.768 KHz Oscillator is used for calibration
Dfllrc32m_ctrl.0 = 1                                        'Enable DFLL and autocalibration
'$include "enc28j60.inc"
$lib "tcpip.lbx"
$lib "datetime.lbx"
$lib "mcsbyteint.lbx"
$lib "Mcs.lbx"

Config Com7 = 57600 , Mode = Asynchroneous , Parity = None , Stopbits = 1 , Databits = 8       'usarF0
Open "com7:" For Binary As #7
'Usartf0_baudctrla = 1                                       '|=1M          1047|=115.2k
'Usartf0_baudctrlb = 0                                       '|   bscale    164 |
Config Serialout6 = Buffered , Size = 254


Errors:

    Error : 5 Line : 2073 No more space for BIT [_RS_BUFCOUNTW6] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 5 Line : 2073 No more space for BIT [_RS_BUFCOUNTW6] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 5 Line : 2073 No more space for BIT [_RS_BUFCOUNTW6] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 5 Line : 2073 No more space for BIT [_RS_TAIL_PTRW6] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 238 Line : 2073 Variable is not dimensioned as an array [_RS232OUTBUF6(1)] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 263 Line : 2073 Array index out of range [1] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 104 Line : 2073 LoadReg error [_RS232OUTBUF6(1)] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 5 Line : 2073 No more space for BIT [_RS_TAIL_PTRW6] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 222 Line : 2073 Illegal character [expected (, got '' [_RTSCTS7]] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 222 Line : 2073 Illegal character [expected (, got '' [_RTSCTS7]] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 320 Line : 2073 [syntax error, token = '{'] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 222 Line : 2073 Illegal character [expected (, got '' [_RS232_BUFSIZE_OUT6]] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 320 Line : 2073 [syntax error, token = '{'] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 320 Line : 2073 [syntax error, token = '{'] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 320 Line : 2073 [syntax error, token = '{'] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 222 Line : 2073 Illegal character [expected (, got '' [_RS232_BUFSIZE_OUT6]] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 320 Line : 2073 [syntax error, token = '{'] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas
    Error : 61 Line : 2073 Label not found [_SENDCHAR7 ] , in File : C:\Users\Marcin\Desktop\SEM\WWW do Webserver\Server_1.bas


Am I doing something wrong?

(BASCOM-AVR version : 2.0.7.7 )

_________________
www.BlasterON.pl
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5089
Location: Holland

blank.gif
PostPosted: Tue Dec 02, 2014 8:39 pm    Post subject: Reply with quote

no it is a known problem. when you write to support you can get a fix.
_________________
Mark
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum