Other Parts Discussed in Thread: SYSBIOS,
Tool/software: WEBENCH® Design Tools
Hi
Exception occurred in ThreadType_Hwi at loading the program. What should I do?
So far in the steps.
1.Import sample project(UART_BasicExample_lcdkOMAPL138_armExampleProject) from Import menu.
2.configured like right side cell.
3.Biuld message are shown in right side cell.
**** Build of configuration Debug for project UART_BasicExample_lcdkOMAPL138_armExampleProject **** "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 all -O Building file: "C:/ti/pdk_omapl138_1_0_9/packages/ti/drv/uart/example/sample/omapl138/arm9/bios/uart_arm.cfg" Invoking: XDCtools "C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/bios_6_75_02_00/packages;C:/ti/pdk_omapl138_1_0_9/packages;C:/ti/edma3_lld_2_12_05_30E/packages;C:/ti/ipc_3_50_03_05/packages;C:/ti/ndk_3_60_00_13/packages;C:/ti/uia_2_30_01_02/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.Arm9 -p ti.platforms.evmOMAPL138 -r debug -c "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS" "C:/ti/pdk_omapl138_1_0_9/packages/ti/drv/uart/example/sample/omapl138/arm9/bios/uart_arm.cfg" making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... configuring uart_arm.xe9 from package/cfg/uart_arm_pe9.cfg ... SoC Type is SoC Type is omapl138 generating custom ti.sysbios library makefile ... Linking with library ti.board:./lib/lcdkOMAPL138/arm9/release/ti.board.ae9 Linking with library ti.drv.i2c:./lib/arm9/release/ti.drv.i2c.ae9 Linking with library ti.drv.uart:./lib/omapl138/arm9/release/ti.drv.uart.ae9 Linking with library ti.osal:./lib/tirtos/omapl138/arm9/release/ti.osal.ae9 Linking with library ti.csl:./lib/omapl138/arm9/release/ti.csl.ae9 Starting build of library sources ... making C:/ti/pdk_omapl138_1_0_9/packages/ti/drv/uart/example/sample/omapl138/arm9/bios/src/sysbios/sysbios.ae9 ... Build of libraries done. cle9 package/cfg/uart_arm_pe9.c ... Finished building: "C:/ti/pdk_omapl138_1_0_9/packages/ti/drv/uart/example/sample/omapl138/arm9/bios/uart_arm.cfg" Building file: "C:/ti/pdk_omapl138_1_0_9/packages/ti/drv/uart/example/sample/src/main_uart_example.c" Invoking: ARM Compiler "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl" -mv5e --code_state=32 -me --include_path="D:/ti/workspace_v9/UART_BasicExample_lcdkOMAPL138_armExampleProject" --include_path="C:/ti/pdk_omapl138_1_0_9/packages/ti/drv/uart" --include_path="C:/ti/pdk_omapl138_1_0_9/packages" --include_path="/packages" --include_path="C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --define=omapl138 --define=USE_BIOS --define=UART_V0 --define=SOC_OMAPL138 --define=LCDK_OMAPL138 --define=lcdkOMAPL138 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main_uart_example.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/pdk_omapl138_1_0_9/packages/ti/drv/uart/example/sample/src/main_uart_example.c" Finished building: "C:/ti/pdk_omapl138_1_0_9/packages/ti/drv/uart/example/sample/src/main_uart_example.c" Building target: "UART_BasicExample_lcdkOMAPL138_armExampleProject.out" Invoking: ARM Linker "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl" -mv5e --code_state=32 -me --define=omapl138 --define=USE_BIOS --define=UART_V0 --define=SOC_OMAPL138 --define=LCDK_OMAPL138 --define=lcdkOMAPL138 -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"UART_BasicExample_lcdkOMAPL138_armExampleProject.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/lib" -i"C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="UART_BasicExample_lcdkOMAPL138_armExampleProject_linkInfo.xml" --rom_model -o "UART_BasicExample_lcdkOMAPL138_armExampleProject.out" "./main_uart_example.obj" -l"configPkg/linker.cmd" -llibc.a <Linking> Finished building target: "UART_BasicExample_lcdkOMAPL138_armExampleProject.out" C:/ti/pdk_omapl138_1_0_9/packages/pdkAppImageCreate.bat C:/ti/pdk_omapl138_1_0_9/packages C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS D:/ti/workspace_v9/UART_BasicExample_lcdkOMAPL138_armExampleProject/Debug UART_BasicExample_lcdkOMAPL138_armExampleProject OMAPL138 arm Parsing the input object file, D:/ti/workspace_v9/UART_BasicExample_lcdkOMAPL138_armExampleProject/Debug/UART_BasicExample_lcdkOMAPL138_armExampleProject.out. File conversion complete! Number of Input Files 1 **** Build Finished ****
4.Error happens at loading the program.
log
[ARM9_0] Exception occurred in ThreadType_Main.
Main handle: 0x0.
Main stack base: 0xc3018480.
Main stack size: 0x1000.
R0 = 0x00000000 R8 = 0xffffffff
R1 = 0x00000000 R9 = 0xffffffff
R2 = 0x00000004 R10 = 0xffffffff
R3 = 0xfffffff5 R11 = 0xffffffff
R4 = 0x00000000 R12 = 0xc3009128
R5 = 0xc3012954 SP(R13) = 0xc3019454
R6 = 0xc3019738 LR(R14) = 0xc3009130
R7 = 0xc3019768 PC(R15) = 0xc300bcb4
PSR = 0x200000df
DFSR = 0x00000003 IFSR = 0x00000050
DFAR = 0x805907ec
ti.sysbios.family.arm.exc.Exception: line 209: E_undefinedInstruction: pc = 0xc300bcb4, lr = 0xc3009130.
xdc.runtime.Error.raise: terminating execution
5.Import another sample project(UART_BasicExample_lcdkOMAPL138_armTestproject).
Compile & try loading program, then happens similar error.
log
[ARM9_0] Exception occurred in ThreadType_Task.
Task handle: 0xc3020008.
Task stack base: 0xc3020068.
Task stack size: 0x8000.
R0 = 0x00000000 R8 = 0xffffffff
R1 = 0xc3028010 R9 = 0xffffffff
R2 = 0x00000010 R10 = 0xffffffff
R3 = 0x000001fd R11 = 0xffffffff
R4 = 0xffffffff R12 = 0x00000000
R5 = 0xffffffff SP(R13) = 0xc3027fc8
R6 = 0xffffffff LR(R14) = 0xc30a1ee0
R7 = 0xffffffff PC(R15) = 0x00100000
PSR = 0x600000df
DFSR = 0x00000003 IFSR = 0x00000005
DFAR = 0x805907ec
ti.sysbios.family.arm.exc.Exception: line 201: E_prefetchAbort: pc = 0x00100000, lr = 0xc30a1ee0.
xdc.runtime.Error.raise: terminating execution
That's it.
What parts do I need to fix?
What are the steps to fix it? Please.