Author Topic: Ensuring that the reset vectors are linked in the LPC17XX Rowley project  (Read 5710 times)

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Hi All

From Rowely Crossworks V2.1 it has been identified that the linker is no longer linking in the reset vector. To correct this the following linker option can be modified:

In the project properties go to the linker options and check out what is in the “keep symbols” setting. You will probably find “_vectors” there which is the sector that the reset vectors are located in. V2.0 handles this as meaning that this sector must be kept (not discarded since there is no code referencing it) but this is not the case with V2.1. V2.1 requires the name of the actual symbol to be used – that is “reset_vect” instead.

With this setting the SP and program start are set correctly in the output file.

This was not a problem in project using pre-V2.1 Rowley Crossworks, but the change can be generally used - also for older Rowley Crosswork versions.

Regards

Mark