It turns out, that the problem with conversion from ihex to binary with objcopy. The sdcc generated hex file looks ok.


Maarten Brock wrote:
Peter,

Please include SDCC version and target for which you 
compile. For mcs51 this should work I think.

Maarten


  
Hi,

Is it possible to make linker skip a part of code memory?

I'd like to use a segment of flash in the middle the whole flash for data.

Ex. flash segments are 2k. I'd like to prevent linker putting code in a
segment after 0x8000.

I tried this:

__code __at (0x8000) uint8_t flash_reserved1[2048]={ 0xAA,0x55 ... }

but is doesn't initialize the variable at that location.

Cheers,
Peter

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

    



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user
  


-- 
http://www.pkuhar.com
skype:pkuhar
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to