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

USB secondary ISP bootloader for LPC23xx with RTX Kernel problem

I got the code USB secondary ISP bootloader for LPC23xx from NXP working fine with none RTX kernel but It does not working with RTX kernel. If anyone know more detail please help.

Thank you.

Parents
  • wait a minute. the following instructions should reside in your startup file, just above the code you quoted:

    ; Copy Exception Vectors to Internal RAM ---------------------------------------
    
                    IF      :DEF:RAM_INTVEC
                    ADR     R8, Vectors         ; Source
                    LDR     R9, =RAM_BASE       ; Destination
                    LDMIA   R8!, {R0-R7}        ; Load Vectors
                    STMIA   R9!, {R0-R7}        ; Store Vectors
                    LDMIA   R8!, {R0-R7}        ; Load Handler Addresses
                    STMIA   R9!, {R0-R7}        ; Store Handler Addresses
                    ENDIF
    

    I am using the remapping macros without a problem.

Reply
  • wait a minute. the following instructions should reside in your startup file, just above the code you quoted:

    ; Copy Exception Vectors to Internal RAM ---------------------------------------
    
                    IF      :DEF:RAM_INTVEC
                    ADR     R8, Vectors         ; Source
                    LDR     R9, =RAM_BASE       ; Destination
                    LDMIA   R8!, {R0-R7}        ; Load Vectors
                    STMIA   R9!, {R0-R7}        ; Store Vectors
                    LDMIA   R8!, {R0-R7}        ; Load Handler Addresses
                    STMIA   R9!, {R0-R7}        ; Store Handler Addresses
                    ENDIF
    

    I am using the remapping macros without a problem.

Children