Other Parts Discussed in Thread: OMAPL138, SYSBIOS
Dear all,
I am trying to implement SYS/BIOS on ARM of OMAPL138, and include lib of startware for omap.
I use :
- sys/bios 6.45.1.29
-startware 1.10.04.1
-xdc tool 3.31.3.41
I create a typical example project with sys/bios on arm of omap, and include lib of startware:
"C:\ti\OMAPL138_StarterWare_1_10_04_01\binary\armv5\cgt_ccs\omapl138\lcdkOMAPL138\platform\Debug\platform.lib"
"C:\ti\OMAPL138_StarterWare_1_10_04_01\binary\armv5\cgt_ccs\omapl138\system_config\Debug\system_config.lib"
"C:\ti\OMAPL138_StarterWare_1_10_04_01\binary\armv5\cgt_ccs\utils\Debug\utils.lib"
"C:\ti\OMAPL138_StarterWare_1_10_04_01\binary\armv5\cgt_ccs\omapl138\drivers\Debug\drivers.lib"
"C:\ti\OMAPL138_StarterWare_1_10_04_01\binary\armv5\gcc\omapl138\drivers\Release\libdrivers.a"
"C:\ti\OMAPL138_StarterWare_1_10_04_01\binary\armv5\gcc\omapl138\lcdkOMAPL138\platform\Release\libplatform.a"
follow the gpio example of Startware, i wrote init GPIO and toggle led, build success, then when i run debug with omapL138LCDK kit, in console window:
[ARM9_0] size: 0x2000.
R0 = 0x01e27000 R8 = 0x80000020
R1 = 0x00000003 R9 = 0x000000cd
R2 = 0x00000283 R10 = 0x24d288de
R3 = 0x00000001 R11 = 0x88bec058
R4 = 0xffff0700 R12 = 0x00000003
R5 = 0x00000000 SP(R13) = 0x80000020
R6 = 0xc300adb8 LR(R14) = 0xc300ae94
R7 = 0xc300ae94 PC(R15) = 0x80000020
PSR = 0xc300adb8
DFSR = 0x00000005 IFSR = 0x00000008
DFAR = 0x01e27a0c
ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x80000020, lr = 0xc300ae94.
xdc.runtime.Error.raise: terminating execution
Anyone can tell me what happen and the solution?
Thanks you so much.
Regards,
Nhan