Hi all: I need to relocate a segment to a specific address. Say I have 4 '.obj' SEG1.OBJ, SEG2.OBJ, SEG3.OBJ and SEG4.OBJ segments and want to locate SEG2 to the specific address 1A00. Thanks in advance. J
Hi Erik: I am using a 8051F352 from Silabs and I need a page in flash to store parameters, and I am running out of flash space. As you should now the last page can not be erased as it has the protection byte, and is a waste of a full page!. Having code in that page I can use what is left for my parameters. Thanks J
I need a page in flash to store parameters don't the 352 have a scratchpad like to ones I know? As you should now the last page can not be erased as it has the protection byte sure it can, just save the "restricted area" contents and write them back
Erik
I have no idea how to do it in the IDE, but with commandline operation you use the SEGMENT statement in the linker command.
The 8051F352 does not have scratch pad area, and the lock byte can't be erased if other pages are locked (code protection). Got the info about the SEGMENT in linker. Thanks J