Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Compile size

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

Bascom Member



Joined: 15 May 2012
Posts: 32

blank.gif
PostPosted: Mon Mar 23, 2015 12:15 pm    Post subject: Compile size Reply with quote

Hi Mark!

have 2.0.7.7 compiler - boot size 0x1FFE
have 2.0.7.8.001 compiler - boot size 0x2090

Error : 344 Line : 33 Program will overwrite bootloader [ 160 too long] , in File : C:\PROGRAM FILES (X86)\MCS ELECTRONICS\BASCOM-AVR\LIB\FP_TRIG.LBX

why?
want 0x1FFE size Crying or Very sad

what bigger? hi i can know?
Not have mmm... LST file in KEIL:

0000 0500 R INC sindex+01H
0002 E500 R MOV A,sindex+01H
0004 AE00 R MOV R6,sindex
etc...

may be add in RPT info about SUBs?

may be...?

and...

$loader = &H00000
Config Intvectorselection = Disabled <<<<<< NOT WORK

sorri my english.

(BASCOM-AVR version : 2.0.7.8 )
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5027
Location: Holland

blank.gif
PostPosted: Mon Mar 23, 2015 1:53 pm    Post subject: Reply with quote

$loader = &H00000

that will not work. Loader must be placed in boot space.

Config Intvectorselection = Disabled

you do not give an context. about processor, etc. So what can anyone do with such a remark?
Just give a sample that demos the problem. And if it is not for publication, send it to support.

last : do not address your topic to me please ! I random answer. topics that force me to ask questions/details i ignore or will ignore. This is a user forum and not the official MCS support.

i advise to check the report mention the right processor and version.

_________________
Mark
Back to top
View user's profile Visit poster's website
uga237

Bascom Member



Joined: 15 May 2012
Posts: 32

blank.gif
PostPosted: Mon Mar 23, 2015 3:02 pm    Post subject: Reply with quote

ATXMEGA256
have 2.0.7.7 compiler - boot size 0x1FFE
have 2.0.7.8.001 compiler - boot size 0x2090

this is a main question.
code is the same in both cases.

compiler add 0x90 bytes. for what?

i not force You. sorri.

ps. i use
$include "Config_MMCSD_HC.bas"
may be add some code in this file in new update... and compiler not guilty.

pps. post context here not good idea. 500 lines is to big.
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5027
Location: Holland

blank.gif
PostPosted: Mon Mar 23, 2015 3:20 pm    Post subject: Reply with quote

in fact the 2078 will handle some code different which should result in less code. (depends on the used statements and code).
i have no crystal boll so without the code i can not tell.
it could be that one of the libs was extended to solve a bug or add new functionality.

_________________
Mark
Back to top
View user's profile Visit poster's website
uga237

Bascom Member



Joined: 15 May 2012
Posts: 32

blank.gif
PostPosted: Mon Mar 23, 2015 3:29 pm    Post subject: Reply with quote

update...
Back to top
View user's profile
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