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

Problem with the bootloader startup file(LPC2378)

Hi

We have two different projects bootloader(without RTX kernal) and Application code (with RTX Kernal).When we laod the bootlaoder and the application code, part of the RAM data will be corrupted.Please guide to resolve this problem.

Software interrupts is not required for the bootlaoder
we have not shifted the interrupt address, we are using the same interrupt address

Meomory mapping is as below
Bootloader 0 - 0x2000
Application code starts from 0x2000

Thank you
Harish

Parents
  • Hi Harish,

    (I don't know much about this.)

    Just curious about what are the below settings of both your bootloader and application?

    UND_Stack_Size EQU 0x00000000
    SVC_Stack_Size EQU 0x00000008
    ABT_Stack_Size EQU 0x00000000
    FIQ_Stack_Size EQU 0x00000000
    IRQ_Stack_Size EQU 0x00000100
    USR_Stack_Size EQU 0x00000400

Reply
  • Hi Harish,

    (I don't know much about this.)

    Just curious about what are the below settings of both your bootloader and application?

    UND_Stack_Size EQU 0x00000000
    SVC_Stack_Size EQU 0x00000008
    ABT_Stack_Size EQU 0x00000000
    FIQ_Stack_Size EQU 0x00000000
    IRQ_Stack_Size EQU 0x00000100
    USR_Stack_Size EQU 0x00000400

Children
  • Hi John,

    thanks for your reply

    The settings for the bootloader and applicaiton code are given below

    Bootloader
    UND_Stack_Size EQU 0x00000000
    SVC_Stack_Size EQU 0x00000008
    ABT_Stack_Size EQU 0x00000000
    FIQ_Stack_Size EQU 0x00000000
    IRQ_Stack_Size EQU 0x00000100
    USR_Stack_Size EQU 0x00000400

    Application code
    UND_Stack_Size EQU 0x00000000
    SVC_Stack_Size EQU 0x00000020
    ABT_Stack_Size EQU 0x00000000
    FIQ_Stack_Size EQU 0x00000000
    IRQ_Stack_Size EQU 0x00000100
    USR_Stack_Size EQU 0x00000200