Hello all, When using mcs51 bank switching: To specify segment locations through -Wl-b, we must use the -virtual- address. So for instance for the cc2430 we pass 0x018000 for BANK1, 0x028000 for BANK2 and 0x038000 for BANK3.
So far so good. I now have to deal with a programmer which expects physical addresses in the hex file (0x008000, 0x010000 and 0x018000 respectively). We can do this easily by post-processing the hex with srecord. I just want to double check that the addresses supplied to sdld MUST be virtual and that passing physical addresses will result in a non-working image (I suspect we'll end up writing wrong values to PSBANK among other possible bad things). In other words, post-processing is my only solution here, correct? Thank you for your time George ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user