We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I try to create a simple PWM signal, I've unchecked "use memory layout from target dialog" from L166 Locate from uvision options and everything works perfect if i run from ram memory, but if run from flash memory the pwm signal doesn't work.
I've received some warnings
*** WARNING L22: CLASS RANGE NOT GIVEN IN INVOCATION LINE CLASS: NDATA *** WARNING L22: CLASS RANGE NOT GIVEN IN INVOCATION LINE CLASS: NDATA0
so I use this code in Linker Control String
CLASSES (NCONST(00000h-03FFFh),& NDATA (04000h-07FFFh),& NDATA0 (04000h-07FFFh),& SDATA (0C000h-0FFFFh),& SDATA0 (0C000h-0FFFFh),& IDATA (0FA00h-0FDFFh),& IDATA0 (0FA00h-0FDFFh),& BIT (0FD00h-0FDFFh),& BIT0 (0FD00h-0FDFFh),& BDATA (0FD00h-0FDFFh),& BDATA0 (0FD00h-0FDFFh))
from L166 Misc.
Please let me know if u have a clue about this problem.
Thank you very much.
Perhaps you have not defined a RAM memory area?