We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, I am using the MCB2140 board and i want to port µCOS-II to it, for which i have downloaded the ports from Micrium website. But while building my project using Real View, I get the following errors. Can anyone please Guide me.
.\rvmdk\MCB2140-OS-View.axf: Error: L6236E: No section matches selector - no section to be FIRST/LAST. Target not created
**************************************** Build target 'Flash' compiling app.c... compiling bsp.c... assembling vectors.s... assembling init.s... assembling cpu_a.s... compiling os_core.c... compiling os_flag.c... compiling os_mbox.c... compiling os_mem.c... compiling os_mutex.c... compiling os_q.c... compiling os_sem.c... compiling os_task.c... compiling os_time.c... compiling os_tmr.c... assembling os_cpu_a.asm... compiling os_cpu_c.c... compiling os_dbg.c... compiling os_viewc.c... compiling os_view.c... compiling lib_mem.c... compiling lib_str.c... ..\..\..\..\..\uC-LIB\lib_str.c(1027): warning: C3017W: pstr_srch_ix may be used before being set ..\..\..\..\..\uC-LIB\lib_str.c(1026): warning: C3017W: srch_cmp may be used before being set linking... .\rvmdk\MCB2140-OS-View.axf: Error: L6236E: No section matches selector - no section to be FIRST/LAST. Target not created
*********************************************
This is the error report i get.If any one has worked on the same,Please give me some inputs.I think it has got to do with the assembly files 'vectors.s' and 'init.s'. and also the scatter file..please guide me if I am wrong.
Regards..
This is the .scat file which i get...
;****************************************************************************** ; ; SCATTER LOADING DESCRIPTION ; ARM ; KEIL's uVision3 ; (RealView Microprocessor Developer Kit) ; ; Filename : LPC2378_Flash.scat ;****************************************************************************** LR_IROM1 0x00000000 0x00080000 ;; Load region { ER_IROM1 0x00000000 ;0x00080000 { vectors.o (VECT, +First) init.o (INIT) * (+RO) } RW_IRAM1 0x40000000 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 {} }
you forget to add "*.o (RESET, +First)" to your ER_IROM1 region.
I added but no use..