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

error message while building LPC 2148 assembly code

Dear all, when I am trying to build my assembly program (for LPC 2148 processor) using the downloded uvision 4.6, the following error message appears.

linking....
test2prj.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.

What may be the reason for this error? how can i solve this problem?

  • So what does your scatter file look like?

    And what sections do you have in your assembler code? You have any section called "RESET"?

    When the linker gets one or more object files - how will it know what order to place them so there is actual code to react when the processor leaves the reset state? What have you done to make sure you have a vector table at the required position?