I use Dallas DS5002,My progrem work good in samll mode,but I compiler it in compact or large mode,it can not work.My progrem data variable is too many,stact is overflow in samll mode.I must use compact or large mode.How can I do?Can you help me? thank you.
The DS5002 has a partition that separates CODE from XDATA. Code always starts at 0000h but XDATA starts at the partition. 1. Figure out where the partition is located. 2. Specify to the linker that XDATA starts at this address. Jon