Hi, I have a µVision2 V2.40 and I want to use the Simulator for debugging my µC161 application. Therefore I need a *.ini file. My question is: How must this ini file look like. (which commands are necessary) Where can I find examples or further information ? Thanks for your effort
I have a µVision2 V2.40 and I want to use the Simulator for debugging my µC161 application. Therefore I need a *.ini file. An INI file is not required for debugging with the simulator. The INI file is merely a text file where you can enter debugger commands. You can enter the debugger commands in the Command Window without using the INI file. Typically, an INI file is used when you want to add simulation script functions or when you have a lot of commands you want to run when the simulator starts. My suggestion is to start without an INI file and as you debug notice what commands you enter over and over as well as any commands you enter each time the simulator starts. These are ideal commands to add to an INI file. Since the INI file is a text file, you can create it with uVision. Jon
Hi Wolfgang , that's a very small INI-File for an XC16x.
/************************ * Example Simulator.ini * ************************/ EA = 1 /* Start execution from on-chip ROM */ reset /* perform CPU reset: uses value at EA */ g, main /* execute program til main */
Hallo Stefan! I frequently use the µvision simmulator. You wrote a documentation about it? Can You please send it to me? Thank You very much! Hans
HI Hans, yes I wrote a very small, but with the FAQ's I got concerning this topic. It is word document, where I added some screenshots (25 pages). Since I was using the simulator with XC16x devices the contents is the following: 1. Setup the start behaviour of XC16x 2. VTREGS ( virtual registers ) and build in functions 3. Simulator initialization file 4. Define own buttons 5. Writing of a simulatorfunction IDE-Additional 1. Renaming the default target „Target 1" or have more than one target 2. Get allways actually list files 3. Call back the DAvE from KEIL-IDE with actual project parameters If you interested in, leave your mail address here. Stefan