#51 symbol not found in SiLab IDE for F120

closed
Maarten Brock
None
5
2006-10-16
2006-10-15
Robert
No

I am writing code for an SiLabs F120 using the SiLabs
IDE. I reached the 2K limit on the Keil and decided to
try SDCC. Ok I have converted the .h ect and the code
compiles and loads but the IDE will only load #define
labels in to the watch windows. When I rt click on a
XRAM variable I get a dialog box that says
symbol not found
I put –debug in the tool integration and it generates a
map file but I can’t access any of the variable any more.
What am I missing?

Discussion

  • Robert
    Robert
    2006-10-15

    Logged In: YES
    user_id=1621111

    I am using Version 2.6.0
    Assembler options –plosaff We have no .ASM files
    Compiler options –c –debug –use-stdout –V –model-medium
    Linker –debug –use-stdout –V –model-medium

     
  • Maarten Brock
    Maarten Brock
    2006-10-15

    Logged In: YES
    user_id=888171

    Robert,

    First, there was no need to convert the .h as it is
    provided with SDCC.

    Second, for debug information you need --debug not -debug.
    All long command line options require two dashes.

    Third, this just happens sometimes/often. What usually
    works is to open the Symbol View tab and browse to the
    variable you need. It also helps if you put the source
    files in the SiLabs project workspace whether you compile
    from within the IDE or not.

    Maarten

     
  • Maarten Brock
    Maarten Brock
    2006-10-15

    • assigned_to: nobody --> maartenbrock
    • status: open --> pending
     
  • Robert
    Robert
    2006-10-15

    • status: pending --> open
     
  • Robert
    Robert
    2006-10-15

    Logged In: YES
    user_id=1621111

    Thanks for getting back so promptly. My conversion was
    simply to copy the SDCC header over top of the Keil .h and
    fix my own .h files. I had tried looking in the symbol
    table and the only symbols in the table were from the
    ConfigF124.h file I had copied in to the project directory.
    The configuration program provided by SiLabs produces a
    source file with #include “ConfigF124.h’ instead of
    <ConfigF124.h>.
    In any case the problem turned out to be that I had
    installed SDCC in C:\Program Files\SDCC instead of the root.
    The SiLabs IDE does not deal well with “ “ in the path and
    reinstalling at C:\SDCC… fixed the problem!
    Any idea why the SiLabs IDE does not activate the Default
    option when adding symbols to the watch window when working
    with SDCC?

     
  • Maarten Brock
    Maarten Brock
    2006-10-15

    Logged In: YES
    user_id=888171

    For programs that may have issues with spaces in filenames
    I usually install in C:\Programs\.
    They should start using < > instead "", but you can change
    that yourself too of course.
    The reason "default" doesn't work is because they take
    that information from an extended omf file format which
    Keil invented but have not opened.

    I'll close this now as the issue seems resolved. Further
    discussions are easier on the SDCC forum or user list or
    on the SiLabs SDCC forum.

     
  • Maarten Brock
    Maarten Brock
    2006-10-15

    • status: open --> closed
     
  • Robert
    Robert
    2006-10-16

    Logged In: YES
    user_id=1621111

    Thanks for getting back so promptly. My conversion was
    simply to copy the SDCC header over top of the Keil .h and
    fix my own .h files. I had tried looking in the symbol
    table and the only symbols in the table were from the
    ConfigF124.h file I had copied in to the project directory.
    The configuration program provided by SiLabs produces a
    source file with #include “ConfigF124.h’ instead of
    <ConfigF124.h>.
    In any case the problem turned out to be that I had
    installed SDCC in C:\Program Files\SDCC instead of the root.
    The SiLabs IDE does not deal well with “ “ in the path and
    reinstalling at C:\SDCC… fixed the problem!
    Any idea why the SiLabs IDE does not activate the Default
    option when adding symbols to the watch window when working
    with SDCC?

     
  • Robert
    Robert
    2006-10-16

    • status: closed --> pending
     
  • Maarten Brock
    Maarten Brock
    2006-10-16

    Logged In: YES
    user_id=888171

    Why did you reopen and double-post?

     
  • Maarten Brock
    Maarten Brock
    2006-10-16

    • status: pending --> closed