| |||||
Technical Support Support Resources
Product Information | RTX51: CRASHES AFTER CALLING OS_START_SYSTEMQUESTIONI'm using MON51 and dScope to debug my RTX51 application. Everything works fine until I call the os_start_system library routine. Then, my application crashes. What's going on? Am I missing something in the configuration? ANSWERThis typically happens when you debug with MON51 because the CODE space and XDATA space overlap. When RTX51 initializes its data structures in XDATA, it overwrites part of the CODE space. Use the linker options to relocate XDATA so that it doesn't overlap CODE. For example, if your monitor configuration locates your target program at 0, you should start your XDATA at something like 0x4000 or 0x8000, depending on the available RAM. Last Reviewed: Monday, June 07, 2004 | ||||
| |||||