Libstock
It is currently 24 Nov 2014 04:27

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 26 Jan 2010 20:35 
Offline

Joined: 14 Feb 2008 07:26
Posts: 69
Hi,
I've wrote to support desk. But the responses were slow. Hope i can get some help here.

Recently i've migrated to MikroC Pro 2009. After some code editing and finally there was no any syntax error. But at the end of the compilation, the error messages below shown.

0 127 All files Compiled in 2515 ms 
15 361 Bad function absolute address 'UART1_Init[210]' __Lib_UART_c67.c
15 342 There is not enough ROM space UART1_Init[210] __Lib_UART_c67.c
0 127 All files Compiled in 2515 ms 


I'm using PIC18F4525. I've very sure that the pic has sufficient ROM and RAM for this project. Because i compiled with previous MikroC 8.2, it only consumed 35% ROM and 25% RAM.
Any help on this will be appreciated. :)


Top
 Profile  
 
 Post subject:
PostPosted: 27 Jan 2010 15:44 
Offline
mikroElektronika team
User avatar

Joined: 17 Aug 2009 16:51
Posts: 1743
Location: Belgrade
Hi,
I have answered you to the support ticket, but I'm posting the answer here for the sake of others:
Our developers have detected a compiler bug, but unfortunately, due to it's nature, there is no direct workaround for this issue. This bug will, however, be resolved for the next release of the compiler.
There can be only one possible workaround, and that would be unchecking the Tools->Options->Output Settings->Compiler->Build all files as library checkbox, and rebuilding the project.

Sorry for the inconvenience.

Best regards,
Aleksandar

_________________
mikroElektronika Product Manager


Top
 Profile  
 
PostPosted: 30 Mar 2011 03:47 
Offline

Joined: 30 Mar 2011 02:57
Posts: 3
I am using mikroPascal Pro for AVR v.4.60.0.0 and getting the same errors.

An application which had previously compiled and linked with an earlier version of mikroPascal (I don't have a record of which version) still compiles without errors but the linker reports errors:-
.
.
.
0 133 Compilation Started C:......
1 1015 Hint: Compiling unit "C:......
68 1019 Warning: Source size may exceed destination size ..... .mpas
69 1019 Warning: Source size may exceed destination size .... .mpas
89 1010 Hint: Unit "..... .mpas" has been recompiled ..... .mpas
0 134 Compiled Successfully C: ......
0 139 All files Compiled in 47 ms
588 361 Bad function absolute address 'clk_tic[28]'
239 361 Bad function absolute address 'tx_afsk[26]'
588 342 There is not enough ROM space
239 342 There is not enough ROM space
0 453 Unsuccessful linking '.....mppav' Unsuccessful linking '..... .mppav'
0 102 Finished (with errors): 30 Mar 2011, 12:32:30 ..... .mppav

Is this the same bug as referred to above? And has it been fixed?
Or is there something else I am missing?
I don't think the size warnings are relevant, they showed previously but the hex file was small enough to not exceed the size limit of the free version.
Any suggestions?
Cheers
Ian


Top
 Profile  
 
PostPosted: 30 Mar 2011 09:41 
Offline
mikroElektronika team
User avatar

Joined: 25 Jan 2008 09:56
Posts: 8016
Hi,

Can you provide the minimal project that represents this issue ?

Regards,
Filip.


Top
 Profile  
 
PostPosted: 30 Mar 2011 23:09 
Offline

Joined: 30 Mar 2011 02:57
Posts: 3
Filip;
Thanks for the quick response. I have tried to attach the .mpas and .mppav files but I keep getting error messages that "The extension ... is not allowed". I have tried variations without extensions and with .txt extensions but to no avail. I will try emailing them to you.
Cheers
Ian


Top
 Profile  
 
PostPosted: 09 Apr 2011 10:53 
Offline

Joined: 25 Dec 2008 15:22
Posts: 2656
Location: Scotland
to post files on the forum, they need to be zipped. winzip, winrar, 7zip, etc etc there is also a maximum zip file size but there should be no size problems with a basic project zip.

_________________
Best Regards

Mince


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group