Can you try the flags given below.
LFLAGS = -Wl-bBANK1=0x18000 -Wl-r

2010/8/27 전익성 <isj...@jcnet.co.kr>

> Hi,
>
>
>
> I successfully compiled the FreeRTOS 6.0.1 on 8051 based processor.
>
> Using the code bank technique. The output hex file has dummy(i guess) image
> on address 0x0000.
>
> Delete the dummy image at 0x0000 and split the hex image into per banks.
>
> The image is run ok on two banks successfully.
>
> I use SDCC 2.9.7.
>
>
>
> Why the dummy image is generated when the code bank feature used?
>
> LFLAGS = -Wl-bBANK0=0x80000 -Wl-bBANK1=0x18000 -Wl-r
>
> use the crtbank.asm
>
>
>
> The image is genearated as follows.
>
>
>
> :020000004000FA           <- garbage line i think. (LINE 1)
>
> :0400000000200683260   <- this is valid line with reset vector.
>
> ...
>
> ..
>
>
>
> The first line and some other lines with addrss 0, cannot understand.
>
>
>
> Thanks.
>
> Jeonj.
>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
>
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to