2009-06-10 04:47 AM
ERROR 143:DUPLICATED ABSOLUTE SEGMENT NAME,ERROR 107:ADDRESS SPACE OVERFLOW
2009-06-09 09:40 AM
Hi
I'm new to Ride7. I was able to build code using Cosmic compiler and Boreland CodeWright. But I wasn't able to debug the code. So I had to modify the code and build it using Ride7 so that I can debug the code. I modified the code according to Raisonance Application Note 55 ''AN55 - Porting STM8/ST7 applications from Cosmic to Raisonance Tools''. I now build the code using Ride7 but I'm getting following errors. ----------Make Started: 'Colorimetry' in configuration 'ST7-Small'-------- Building C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_id.c Running: RCST7 \''C:\Program Files\Raisonance\Ride\Bin\RCSTM8.EXE'' ''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_id.c'' QUIET GENERATEDEPFILE CODE DB OJ(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_id.obj'') PR(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_id.lst'') PIN(''C:\Program Files\Raisonance\Ride\Inc;C:\Program Files\Raisonance\Ride\Inc\ST7'') O(3,SIZE) NOINITSTATICVAR SMALLOBJECT ET(CHAR) RCSTM8 COMPILATION COMPLETE. 0 WARNING, 0 ERROR Building C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_interrupts.c Running: RCST7 \''C:\Program Files\Raisonance\Ride\Bin\RCSTM8.EXE'' ''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_interrupts.c'' QUIET GENERATEDEPFILE CODE DB OJ(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_interrupts.obj'') PR(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_interrupts.lst'') PIN(''C:\Program Files\Raisonance\Ride\Inc;C:\Program Files\Raisonance\Ride\Inc\ST7'') O(3,SIZE) NOINITSTATICVAR SMALLOBJECT ET(CHAR) RCSTM8 COMPILATION COMPLETE. 0 WARNING, 0 ERROR Building C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_SCI.c Running: RCST7 \''C:\Program Files\Raisonance\Ride\Bin\RCSTM8.EXE'' ''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_SCI.c'' QUIET GENERATEDEPFILE CODE DB OJ(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_SCI.obj'') PR(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_SCI.lst'') PIN(''C:\Program Files\Raisonance\Ride\Inc;C:\Program Files\Raisonance\Ride\Inc\ST7'') O(3,SIZE) NOINITSTATICVAR SMALLOBJECT ET(CHAR) RCSTM8 COMPILATION COMPLETE. 0 WARNING, 0 ERROR Building C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_timer.c Running: RCST7 \''C:\Program Files\Raisonance\Ride\Bin\RCSTM8.EXE'' ''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_timer.c'' QUIET GENERATEDEPFILE CODE DB OJ(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_timer.obj'') PR(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_timer.lst'') PIN(''C:\Program Files\Raisonance\Ride\Inc;C:\Program Files\Raisonance\Ride\Inc\ST7'') O(3,SIZE) NOINITSTATICVAR SMALLOBJECT ET(CHAR) RCSTM8 COMPILATION COMPLETE. 0 WARNING, 0 ERROR Building C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\conversions_interface.c Running: RCST7 \''C:\Program Files\Raisonance\Ride\Bin\RCSTM8.EXE'' ''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\conversions_interface.c'' QUIET GENERATEDEPFILE CODE DB OJ(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\conversions_interface.obj'') PR(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\conversions_interface.lst'') PIN(''C:\Program Files\Raisonance\Ride\Inc;C:\Program Files\Raisonance\Ride\Inc\ST7'') O(3,SIZE) NOINITSTATICVAR SMALLOBJECT ET(CHAR) RCSTM8 COMPILATION COMPLETE. 0 WARNING, 0 ERROR Building C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Diagnostic_SIP_main.c Running: RCST7 \''C:\Program Files\Raisonance\Ride\Bin\RCSTM8.EXE'' ''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Diagnostic_SIP_main.c'' QUIET GENERATEDEPFILE CODE DB OJ(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Diagnostic_SIP_main.obj'') PR(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Diagnostic_SIP_main.lst'') PIN(''C:\Program Files\Raisonance\Ride\Inc;C:\Program Files\Raisonance\Ride\Inc\ST7'') O(3,SIZE) NOINITSTATICVAR SMALLOBJECT ET(CHAR) RCSTM8 COMPILATION COMPLETE. 0 WARNING, 0 ERROR Building C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Colorimetry.rapp Running: RLST7 \''C:\Program Files\Raisonance\Ride\Bin\RLSTM8.EXE'' ''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_id.obj'',''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_interrupts.obj'',''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_SCI.obj'',''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_timer.obj'',''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\conversions_interface.obj'',''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Diagnostic_SIP_main.obj'',''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\st73_eeprom.obj'' TO(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Colorimetry.aof'') ''LIBPATH(C:\Program Files\Raisonance\Ride\Lib\ST7)'' PR(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Colorimetry.map'') SCINAME(ST7LITE3) GENERATEDEPFILE CODESIZE(0x2000) CODESTART(0xE000) RAMSIZE(0x180) DATASTART(0x80) EEPROMSTART(0) EEPROMSIZE(0) STACKSIZE(0x80) STACKTOP(512) REMOVEUNCALLED IX XML(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Colorimetry.ST7-Small.xml'') XMLRIDE(''C:\Documents and Settings\nthakur\Desktop\Color_sensor_Ride\Colorimetry-globals.ST7-Small.xml'') LINKER/LOCATOR RLST7 V2.17.09.139 Lite (16 Kb code limited) Copyright (c) Raisonance S.A.S. 1987-2009. All rights reserved ***ERROR 143 : DUPLICATED ABSOLUTE SEGMENT NAME -SEGMENT: ?IT?VECTOR#0(ST73_INTERRUPTS) ***ERROR 107 : ADDRESS SPACE OVERFLOW -SEGMENT: ?ED0?DIAGNOSTIC_SIP_MAIN(DIAGNOSTIC_SIP_MAIN) IGNORED SEGMENT ?ED0?DIAGNOSTIC_SIP_MAIN ***ERROR 100 : UNRESOLVED EXTERNAL SYMBOL : erase_I2C_memory(ST73_SCI) ***ERROR 100 : UNRESOLVED EXTERNAL SYMBOL : purge_I2C_write_buffer(ST73_SCI) ***ERROR 100 : UNRESOLVED EXTERNAL SYMBOL : write_I2C_byte(ST73_SCI) LINK/LOCATE RUN COMPLETE, 5 ERRORS FOUND. Build failed ------------------------------------------------------------------------- How can I fix this problem. Any help will be highly appreciated. Thanks, NT2009-06-10 04:47 AM
I was able to build the project.
Thanks, NT