|
|||||||||||||||||||||||||
Technical Support On-Line Manuals LX51 User's Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Using a Target MonitorPrograms you test using MON51 or MON390 may require relocation to a new starting address. Typically, this requires that you:
In many cases, the monitor program resides at the beginning of memory (from 0x0000 to about 0x1000 in code space). Additionally, some XDATA memory is cleverly mapped as CODE memory (creating a pseudo-von Neumann architecture). There are two tasks for the linker when linking such programs:
The following table lists the memory map for the target system.
The CODE memory available to the test program is 0x8000-0xFEFF. The XDATA memory available to the test program is 0x0000-0x7FFF. So, the linker command line should appear as: LX51 MYCODE.OBJ & SEGMENTS ( & DATA(D:0x00-D:0x7F), IDATA(I:0x00-I:0x7F), & CODE(C:0x8000-C:0xFEF), & XDATA(X:0x0000-X:0x7FFF) ) | ||||||||||||||||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.