Hi.. I use an infineon xc167ci without module. I program it using infineon memtool. I can erase the flash, but I cannot program it. On uVision2 "OPTIONS FOR TAGRGET TARGET1=>L166MISC" there is a linker control string determing how memory of the xc167ci is used. The memory location for program memory is 0xC00000 -> 0xC1FFFF(Datasheet), but uVision always writes some code to 0x018000 -> 0x01803B. I can see that in memtool. The linker control string allows e.g. FCODE, FCONST, HCONST,... to write something to this area. But memtool says error: check memory mapping. What do I have to do? Does that have anything to do with startup stuff, for I use no minimodul, so maybe there's something wrong with pu- or pd-resistors.
Mhmm, did you set small memory model for your target ? I wonder that you have FCODE - that indicates that your program is an area located where normally a external memory would be. If you do it right than you will see NCODE ?PR?test. Userstack is ok. Otherwise I need your map file or some more informations. Stefan
No, the memory model is large. If you want you can mail your Email-Adress to eins12000@yahoo.de So I can send you the files you need. Erwin