Hello, Can you please tell me about STARTUP.a51 file: When I create new KEIL project is it necessary to select device from the list of devices? When I create new project, no matter if I choose to include STARTUP.a51 file in project or not, STARTUP.a51 will exist in *.m51 file, and also will appear in the begining of the FPGA simulation (8051 core is included in FPGA design), and also in *.hex file. Can I avoid that? Can you please help me about that, It's very urgent... Best regards, Branislava
If you chose not to add the startup.a51 file, a minimum startup will be added. This code will just clear data memory and set the hardware stack pointer to an initial value. If you have any routines with the 'using' keyword for register bank context switching, the hardware stack pointer is advanced by eight bytes per register bank. Is this a problem in your FPGA simulation? Bradford
Thank you all.. There is no problem in FPGA simulation. I just needed information about what exactly is happening in the begining (where startup file is) because of debugger which has to be made , will use KEIL generated files (.M51, .obj, .lst) Best regards, Branislava