|
![]() Keil 8051 Tools
![]() Problem with Keil compiler
|
| next newest topic | next oldest topic |
| Author | Topic: Problem with Keil compiler |
|
mamouth New Member |
Hi.I have tried to modify and compile the zigbee Example "NWK_Blinky" for the F121. After applying all changes the project compiles fine with 0 errors and 0 warning (Evaluation versions of the Keil compiler, assembler and linker) I've also try it with another version of Keil(C51V808.a.exe) But the linker refused...and I still have the same problem which is: *** ERROR L107: ADDRESS SPACE OVERFLOW followed by 9 oders problem such as : *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT did someone has alredy got such problem??If so how have you used to fix it??thanks ------------------ ------------------ IP: Logged |
|
erikm Member |
No, NOBODY has such a problem. If this was a 'problem' then a misspelled 'fox' instead of 'for' would be a 'problem' HOWEVER, many see these error messages. 1) if you have any "UNCALLED SEGMENT .." comment those out in your source. Erik [This message has been edited by erikm (edited June 14, 2007).] IP: Logged |
|
mamouth New Member |
Hi Erik I used the network_blinky sample as main project.I just want to change and add others function!!I've put in comment all the uncalled function !!Maybe the problem is comming from the keil configuration??I try another version but still have problem.. those are all error messages I recieve: *** ERROR L107: ADDRESS SPACE OVERFLOW *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT ------------------ IP: Logged |
|
Tsuneo Member |
Do you mean the SiLabs eval version (Keil v7.05) compiles it in no error, but the recent full version doesn't? And the error code is L107: ADDRESS SPACE OVERFLOW, in DATA segment? I remember this case. In this case, 'const' was the culprit. const from Keil Is it also your case? Tsuneo IP: Logged |
|
mamouth New Member |
Thanks guy, but in my program 'code' have been usde instead of 'const'; for example I have those definition: void bytehexcat(unsigned char xdata *str, unsigned char bydata); void intcat( BYTE xdata *str, WORD nt); void Cstrcpy(BYTE xdata * lpDest, BYTE code * lpSrc); void Cstrcat(BYTE xdata * lpDest, BYTE code * lpSrc); INT Xstrlen(BYTE xdata * lpStr); IP: Logged |
|
Tsuneo Member |
a) Compare compiler and linker switches between the eval and full version. Compiler switches are seen as the command line on the listing (.LST) file. "Listing (LST) File" from KEIL b) Compare memory MAP between the eval and full version. Find which segment is added, or bloated up. This KEIL article shows you the way to decipher the MAP file. Tsuneo [This message has been edited by Tsuneo (edited June 15, 2007).] IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?