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 don't explicitly include a startup.a51 file in your project the default startup code will be linked automatically. If you really want to suppress this create an empty startup.a51 file and include that in your project.
I've found it useful for low-level simulations to strip down the existing STARTUP.A51 to get rid of the memory initialization loops and keep only the absolute minimum init code. The simulated memories can be cleared by the simulator itself. This saves a lot of computation at the start of the simulation before "getting to the good part".