Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

sdcc and Texas Inst. CC1110

2008-04-13
2013-03-12
  • egyptfireman
    egyptfireman
    2008-04-13

    Hello all,

    I am considering using sdcc with the Texas Inst cc1110 radio with an embedded 8051 core. The part has a "unified" memory layout to do DMA on the chip. I would like interested parties to review the spec sheet section 11, paticularly the address model discussion, and offer an opinion if sdcc can handle the part. I suspect that it might also be a linker issue. Any suggestions would be appreciated

    http://www.ti.com/lit/gpn/cc1110f32

     
    • The cc1110 has an embeddded 8051 core and
      the data sheet on the link you have given
      states on its first page:
      "SW compatible with CC2510Fx/CC2511Fx"

      Since 2006-08-10 SDCC ships with an header file cc2510fx.h

       
      • Maarten Brock
        Maarten Brock
        2008-04-14

        Make sure you have _XPAGE defined somewhere (it's not in cc2510fx.h though it should) to overlay MPAGE or modify crtxinit.asm to make use of the dual data pointers. Also tell the linker where xram is located.

         
        • Maarten Brock
          Maarten Brock
          2008-04-14

          And besides cc2510fx.h SDCC also already has cc1110.h (which does contain _XPAGE).