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.
Hi there, I create a project using DAvE and then I import all the files into uVision2. Then, I develop my program and everything in the Simulation mode works fine. The problems are starting when I'm trying to debug my application using the Keil monitor 167. I don't get any output on the serial window and I'm not able to check changes on the memory window or observe any changes to local variables etc... In other words, I think that something is really wrong...! I've tryied many memory and CLASSES combinations but I didn't have any results. I'm using a Pythec KitCON 167CR with 64kB RAM and 256kB FLASH (16 bit DEMUX, using CS0, CS1) The settings that I'm using during the simulation debugging are: ---------------------------------------------------------------- ROM: Start 0x00000h, Size 0x40000h RAM: Start 0x40000h, Size 0x10000h RESERVE (8H-BH, ACH-AFH) VECTAB (0X0000) CLASSES (ICODE (0x0-0xDFFF), NCODE (0x10000-0x1FFFF), FCONST (0x0-0xDFFF, 0x10000-0x3FFFF), HCONST (0x0-0xDFFF, 0x10000-0x3FFFF), XCONST (0x0-0xDFFF, 0x10000-0x3FFFF), NCONST (0x4000-0x7FFF), NDATA (0x40000-0x43FFF), NDATA0 (0x40000-0x43FFF), SDATA (0xE000-0xE7FF, 0xF600-0xFDFF), SDATA0 (0xE000-0xE7FF, 0xF600-0xFDFF), IDATA (0xF600-0xFDFF), IDATA0 (0xF600-0xFDFF), FDATA (0x40000-0x4FFFF), FDATA0 (0x40000-0x4FFFF), HDATA (0x40000-0x4FFFF), HDATA0 (0x40000-0x4FFFF), XDATA (0x40000-0x4FFFF), XDATA0 (0x40000-0x4FFFF)) CINITTAB (0x10000-0x3FFFF) Everything works fine The settings that I'm using during the monitored debugging are: --------------------------------------------------------------- RAM: Start 0x00000h, Size 0x10000h ROM: I don't declare it at all (is that OK?) RESERVE (8H-BH, ACH-AFH) VECTAB (0X0000) CLASSES (NDATA (0x0-0x3FFF), NDATA0 (0x0-0x3FFF), SDATA (0xC000-0xE7FF, 0xF600-0xFDFF), SDATA0 (0xC000-0xE7FF, 0xF600-0xFDFF), IDATA (0xF600-0xFDFF), IDATA0 (0xF600-0xFDFF), FDATA (0x0-0xE7FF), FDATA0 (0x0-0xE7FF), HDATA (0x0-0xE7FF), HDATA0 (0x0-0xE7FF), XDATA (0x0-0xE7FF), XDATA0 (0x0-0xE7FF)) CINITTAB (0x10000-0x3FFFF) And in addition to that I add: NCODE(0x4000-0x4FFF), NCONST(0x5000-0x5FFF) ?C_INITSEC(200h). What am I doing wrong? I would really appreciate your help. I'm starting my 3d Year University project and nobody can help me there!! If I don't sort it out soon I'll find my self into big trouble Thank you very much George