This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

startup file

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

Parents
  • 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

Reply
  • 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

Children