Hello Pravin,

Thanks for the header file. I have added it to SDCC.

I can't see anything wrong with your program except that 
it might take a long time (>1 min) for the led to blink. 
That is assuming that the LargeWait can count 
milliseconds as it claims. But that is completely 
dependent on your clock frequency.

Greets,
Maarten

> Hello
> 
>         I have created a header file cc1110.h which is enclosed along with
> this mail. Hope this is in line with what is recommended by you.
> 
> Also i have enclosed a project blink2.rar which consists of a set of files
> to blink an LED.
> 
> I have tried using the linker options you have recommended but the code does
> not seem to work when burnt on the processor.
> 
> The steps that i followed to generate the hex file are as follows.
> 
> i) compiling the modules separately
> sdcc -c hal_wait.c
> sdcc -c test3.c
> 
> ii) Linking with the options
> sdcc test3.rel hal_wait.rel --xram-loc 0xF000 --code-loc 0x0000
> --out-fmt-ihx
> 
> iii) converting to standard format
> packihx test3.ihx>blink.hex
> 
> Kindly suggest what could be the next step.
> 
> Regards
> Pravin Angolkar
> 
> On Fri, Feb 22, 2008 at 1:29 AM, Maarten Brock <[EMAIL PROTECTED]>
> wrote:
> 
> > Pravin,
> >
> > To use this mcu the first step I recommend is to create a header
> > file for it with the SFR definitions. Make sure to create an alias
> > for MPAGE with the name that SDCC expects: _XPAGE. You can use
> > cc2530.h that comes with SDCC as a template. We would welcome it if
> > you would give this header file in return to our community for
> > inclusion in SDCC.
> >
> > Then when linking use the option --xram-loc 0xF000 and maybe --xram-
> > size and --code-size.
> >
> > Greets,
> > Maarten
> >
> > > On February 21, 2008 04:42:40 am pravin angolkar wrote:
> > > > Hello
> > > >
> > > >          I am trying to use SDCC with Texas Instruments  SoC CC1110,
> > which
> > > > has an integrated 8051 CPU and RF transceiver. I want to port an
> > > > application onto CC1110 using SDCC. Could anybody help me through the
> > steps
> > > > to be followed to add this particular processor as a new target for
> > SDCC
> > > > processor.
> > > >
> > > > Thanks & Regards
> > > > Pravin Angolkar
> > >
> > > If the core is the same as the 8051 except for the SFRs, you should be
> > able to
> > > use the existing 8051 target. You would only have to provide the SFRs
> > > specific to the CC1110 in an include file.
> > >
> > > Good luck!
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Sdcc-user mailing list
> > Sdcc-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/sdcc-user
> >
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to