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

ucosii with secondary bootloader

my secondary bootloader is working ok with normal application.
but when i used with ucosii application its stuck in task1.

memory map is

for bootloader-0x00000000 0x00010000
application 0x00010000 0x00080000

for copying vector to ram i have used
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

please help me

please provide me startup code that can be used.

thanks and regards
pranam gharat

Parents Reply Children
  • my scatter is
    LR_IROM1 0x00010000 0x00080000 ;; Load region
    { ER_IROM1 0x00010000 0x00080000 { vectors.o (VECT, +First) init.o (INIT) * (+RO) }

    RW_IRAM1 0x40000040 0x00008000 { * (+RW,+ZI) } ;; The following declarations select the "two region model" ; ;; A default __user_initial_stackheap() will be used ; ARM_LIB_HEAP 0x40007000 EMPTY 0x00000100 {} ARM_LIB_STACK 0x40008000 EMPTY -0x00000E00 {}

    please replay

    }