This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Why it not work?

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.

Parents
  • 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

Reply
  • 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

Children
No data