Skip to main content
Visitor II
August 11, 2006
Question

Does anybody port uC/OS to Str710?

  • August 11, 2006
  • 2 replies
  • 740 views
Posted on August 11, 2006 at 04:35

Does anybody port uC/OS to Str710?

    This topic has been closed for replies.

    2 replies

    bitterguoAuthor
    Visitor II
    August 10, 2006
    Posted on August 10, 2006 at 04:09

    I have My Own STR710 develope board.

    I follow the AN1710 from micrium to port uC/os to my board in RAM mode.

    But I confused that linking with STR710-RAM.xcl ,the board doesn't work.

    maybe timer0 doesn't work,because I add some test code in bsp_init() and it's work ok.

    It is not Task switching.

    the code in Bsp_Init()

    {

    ...

    BSP_IRQ_VECTOR_ADDR = 0xE59FF018; /* LDR PC,[PC,#0x18] instruction */

    BSP_IRQ_ISR_ADDR = (CPU_INT32U)OS_CPU_IRQ_ISR; /* IRQ exception vector address */

    BSP_FIQ_VECTOR_ADDR = 0xE59FF018; /* LDR PC,[PC,#0x18] instruction */

    BSP_FIQ_ISR_ADDR = (CPU_INT32U)OS_CPU_FIQ_ISR; /* FIQ exception vector address */

    BSP_UNDEF_INSTRUCTION_VECTOR_ADDR = 0xEAFFFFFE; /* Jump to itself */

    BSP_SWI_VECTOR_ADDR = 0xEAFFFFFE;

    BSP_PREFETCH_ABORT_VECTOR_ADDR = 0xEAFFFFFE;

    BSP_DATA_ABORT_VECTOR_ADDR = 0xEAFFFFFE;

    BSP_FIQ_VECTOR_ADDR = 0xEAFFFFFE;

    ...

    }

    doesn't work.

    Could you tell me why?

    bitterguoAuthor
    Visitor II
    August 11, 2006
    Posted on August 11, 2006 at 04:35

    I have sloved it