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

How not to get the reset vector?

How do I get uvision3 to NOT put any code at the reset vector? i.e. completely leave 0-7FFh alone.

The reason is that I want to build only the application part of my program and exclude the bootloader segment that lives between 0-7FFh. The map file shows that indeed everything in the application is where it should be, except the compiler keeps trying to save me from myself and sticks an LJMP at 0x0000 - which I don't want.

How do I keep the C_STARTUP segment from being part of the build?