cancel
Showing results for 
Search instead for 
Did you mean: 

Does anybody port uC/OS to Str710?

bitterguo
Associate II
Posted on August 11, 2006 at 04:35

Does anybody port uC/OS to Str710?

2 REPLIES 2
bitterguo
Associate II
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?

bitterguo
Associate II
Posted on August 11, 2006 at 04:35

I have sloved it