|
Locating code into a segmentNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author David Rogers Posted 16-Jul-2003 12:09 Toolset C51 |  Locating code into a segment David Rogers Using the latest C51 tools. I'm having to write an IAP (in application programming) bootloader of sorts and need to make sure it lies in a known segment. How can I allocate a given segment to my IAP code such that no other code besides the IAP code is linked into the same segment?
Thanks In advance David | | Read-Only Author Drew Davis Posted 17-Jul-2003 15:07 Toolset C51 |  RE: Locating code into a segment Drew Davis The easy way is to put all the IAP code into its own .c file. Each file gets its own segment name, of the form ?CO?FILENAME. | | Read-Only Author J Guy Posted 17-Jul-2003 15:57 Toolset C51 |  RE: Locating code into a segment J Guy That's a start, but you also need to create a linker file to only allow the bootloader segment into the saved Flash memory segment. | | Read-Only Author Erik H Gawtry Posted 14-Nov-2003 13:09 Toolset C51 |  RE: Locating code into a segment Erik H Gawtry Did you ever get a good answer on this one? I need to do the same thing.
Thanks. -Erik | | Read-Only Author Support Keil Posted 18-Nov-2003 09:55 Toolset C51 |  RE: Locating code into a segment Support Keil Sounds like the answer can be found in the Knowledgebase. For example: http://www.keil.com/support/docs/2670.htm | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|