Hi When I tried to compile the software and I get the error: CLASSES (ICODE (0xC00000-0xC1FFFF), NCODE (0xC00000-0xC1FFFF),FCODE (0xC00000-0xC1FFFF) , FCONST (0xC00000-0xC1FFFF), HCONST (0xC00000-0xC1FFFF), XCONST (0xC00000-0xC1FFFF), NCONST (0xC00000-0xC03FFF), NDATA (0xC000-0xCFFF, 0xF600-0xFDFF), NDATA0 (0xC000-0xCFFF, 0xF600-0xFDFF), SDATA (0xC000-0xCFFF, 0xF600-0xFDFF), SDATA0 (0xC000-0xCFFF, 0xF600-0xFDFF), IDATA (0xF600-0xFDFF), IDATA0 (0xF600-0xFDFF), FDATA (0xC000-0xCFFF, 0xF600-0xFDFF), FDATA0 (0xC000-0xCFFF, 0xF600-0xFDFF), HDATA (0xC000-0xCFFF, 0xF600-0xFDFF), HDATA0 (0xC000-0xCFFF, 0xF600-0xFDFF), XDATA (0xC000-0xCFFF, 0xF600-0xFDFF), XDATA0 (0xC000-0xCFFF, 0xF600-0xFDFF)) CINITTAB (0xC00000-0xC1FFFF) VECTAB (0xC00000) *** FATAL ERROR L210: I/O ERROR ON INPUT FILE: EXCEPTION 0021H: PATH OR FILE NOT FOUND Target not createdFILE: main.obj How to resolve this problem? Eric Boon
Hi After optimzing in the "option for target", I tried to debug my codes but I get the error message and I could not understand it. Load "C:\switch_LED *** error 65: access violation: addr=0x0000C000 Can anyone help me to iron this problem asap?
I am not sure why you would get this when changing the optimization level. However, are you trying to execute code from this memory space? If so you are no longer allowed to execute code from the DSRAM or DPRAM on the XC16x devices The only internal RAM that is available for both code and data is the PSRAM and is located at 0xE00000. Otherwise, is it possible to give some more details of this issue? This area is the internal DSRAM (0xC000) so I am not sure how your project is using it?