This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/EVMK2G: Unable to debug the code by stepping into the function

Part Number: EVMK2G
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

I am working on K2G-EVM board and using Processor SDK RTOS(4.02.00.09). My CCS version is 7.3.0.00019. I have created USB host mode project for arm using pdkProjectCreate.bat file. I have built the USB driver using the below command:

gmake BOARD=evmK2G SOC=k2g CORE=a15_0  BUILD_PROFILE=debug

I am able to put the break point and hit at the break point. But once I click on step in, I get the following error message:

No source available for "0x80001018" 



Below is the screenshot of disassembly:

Can you suggest me what am I doing wrong?

I have attached the compilation logs of the USB project obtained from CCS:

**** Build of configuration Debug for project USB_HostMsc_evmK2G_armExampleProject_old_PDK ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
gmake[1]: Entering directory 'C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK/Debug'
'Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_arm_k2g_evm.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/bios_6_46_05_55/packages;C:/ti/pdk_k2g_1_0_7/packages;C:/ti/edma3_lld_2_12_05_29/packages;C:/ti/ipc_3_46_02_04/packages;C:/ti/ndk_2_25_01_11/packages;C:/ti/uia_2_00_06_52/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmTCI66AK2G02 -r debug -b "C:/ti/pdk_k2g_1_0_7/packages/ti/build/k2g/config_k2g_a15.bld" -c "C:/ti/gcc-arm-none-eabi-4_9-2015q3" -DBOARD=evmK2G "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_arm_k2g_evm.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring usb_arm_k2g_evm.xa15fg from package/cfg/usb_arm_k2g_evm_pa15fg.cfg ...
generating custom ti.sysbios library makefile ... 
	Linking with library ti.drv.usb:./lib/k2g/a15/debug/ti.drv.usb.aa15fg
	Linking with library ti.board:./lib/evmK2G/a15/release/ti.board.aa15fg
	Linking with library ti.drv.i2c:./lib/k2g/a15/release/ti.drv.i2c.aa15fg
	Linking with library ti.drv.uart:./lib/k2g/a15/debug/ti.drv.uart.aa15fg
	Linking with library ti.osal:./lib/tirtos/k2g/a15/release/ti.osal.aa15fg
	Linking with library ti.csl:./lib/k2g/a15/release/ti.csl.aa15fg
Starting build of library sources ...
making C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/src/sysbios/sysbios.aa15fg ...
gmake[1]: Entering directory `C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/src/sysbios'
Build of libraries done.
cla15fg package/cfg/usb_arm_k2g_evm_pa15fg.c ...
'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_arm_k2g_evm.cfg'
' '
gmake[1]: Leaving directory 'C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK/Debug'
'Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc/fatfs_port_usbmsc.c'
'Invoking: GNU Compiler'
"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"fatfs_port_usbmsc.d" -MT"fatfs_port_usbmsc.o" -o"fatfs_port_usbmsc.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc/fatfs_port_usbmsc.c"
'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc/fatfs_port_usbmsc.c'
' '
'Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell/fs_shell_app_utils.c'
'Invoking: GNU Compiler'
"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"fs_shell_app_utils.d" -MT"fs_shell_app_utils.o" -o"fs_shell_app_utils.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell/fs_shell_app_utils.c"
'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell/fs_shell_app_utils.c'
' '
'Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/biosTimer.c'
'Invoking: GNU Compiler'
"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"biosTimer.d" -MT"biosTimer.o" -o"biosTimer.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/biosTimer.c"
'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/biosTimer.c'
' '
'Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/host_msc_main.c'
'Invoking: GNU Compiler'
"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"host_msc_main.d" -MT"host_msc_main.o" -o"host_msc_main.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/host_msc_main.c"
'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/host_msc_main.c'
' '
'Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_osal.c'
'Invoking: GNU Compiler'
"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"usb_osal.d" -MT"usb_osal.o" -o"usb_osal.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_osal.c"
'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_osal.c'
' '
'Building target: USB_HostMsc_evmK2G_armExampleProject_old_PDK.out'
'Invoking: GNU Linker'
"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dk2g02 -Darm0 -DevmK2G -Dgcc -g -gdwarf-3 -gstrict-dwarf -Wall -mno-unaligned-access -mfloat-abi=hard -Wl,-Map,"USB_HostMsc_evmK2G_armExampleProject_old_PDK.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_46_05_55/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -Wl,--defsym,ARM_CORE=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"USB_HostMsc_evmK2G_armExampleProject_old_PDK.out" "./biosTimer.o" "./fatfs_port_usbmsc.o" "./fs_shell_app_utils.o" "./host_msc_main.o" "./usb_osal.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lrdimon -lgcc -lm -lc -lc -Wl,--end-group 
'Finished building target: USB_HostMsc_evmK2G_armExampleProject_old_PDK.out'
' '
C:/ti/pdk_k2g_1_0_7/packages/pdkAppImageCreate.bat C:/ti/pdk_k2g_1_0_7/packages C:/ti/gcc-arm-none-eabi-4_9-2015q3 C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK/Debug USB_HostMsc_evmK2G_armExampleProject_old_PDK K2G arm
Number of Input Files 1
Error opening input image file! C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK/Debug/USB_HostMsc_evmK2G_armExampleProject_old_PDK.out.rprc
' '

**** Build Finished ****

Regards,

Krishna Mohan

**** Build of configuration Debug for project USB_HostMsc_evmK2G_armExampleProject_old_PDK ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O gmake[1]: Entering directory 'C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK/Debug''Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_arm_k2g_evm.cfg''Invoking: XDCtools'"C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/bios_6_46_05_55/packages;C:/ti/pdk_k2g_1_0_7/packages;C:/ti/edma3_lld_2_12_05_29/packages;C:/ti/ipc_3_46_02_04/packages;C:/ti/ndk_2_25_01_11/packages;C:/ti/uia_2_00_06_52/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmTCI66AK2G02 -r debug -b "C:/ti/pdk_k2g_1_0_7/packages/ti/build/k2g/config_k2g_a15.bld" -c "C:/ti/gcc-arm-none-eabi-4_9-2015q3" -DBOARD=evmK2G "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_arm_k2g_evm.cfg"making package.mak (because of package.bld) ...generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...configuring usb_arm_k2g_evm.xa15fg from package/cfg/usb_arm_k2g_evm_pa15fg.cfg ...generating custom ti.sysbios library makefile ...  Linking with library ti.drv.usb:./lib/k2g/a15/debug/ti.drv.usb.aa15fg Linking with library ti.board:./lib/evmK2G/a15/release/ti.board.aa15fg Linking with library ti.drv.i2c:./lib/k2g/a15/release/ti.drv.i2c.aa15fg Linking with library ti.drv.uart:./lib/k2g/a15/debug/ti.drv.uart.aa15fg Linking with library ti.osal:./lib/tirtos/k2g/a15/release/ti.osal.aa15fg Linking with library ti.csl:./lib/k2g/a15/release/ti.csl.aa15fgStarting build of library sources ...making C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/src/sysbios/sysbios.aa15fg ...gmake[1]: Entering directory `C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/src/sysbios'gmake[1]: Nothing to be done for `all'.gmake[1]: Leaving directory `C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/src/sysbios'Build of libraries done.cla15fg package/cfg/usb_arm_k2g_evm_pa15fg.c ...'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_arm_k2g_evm.cfg'' 'gmake[1]: Leaving directory 'C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK/Debug''Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc/fatfs_port_usbmsc.c''Invoking: GNU Compiler'"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"fatfs_port_usbmsc.d" -MT"fatfs_port_usbmsc.o" -o"fatfs_port_usbmsc.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc/fatfs_port_usbmsc.c"'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc/fatfs_port_usbmsc.c'' ''Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell/fs_shell_app_utils.c''Invoking: GNU Compiler'"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"fs_shell_app_utils.d" -MT"fs_shell_app_utils.o" -o"fs_shell_app_utils.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell/fs_shell_app_utils.c"'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell/fs_shell_app_utils.c'' ''Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/biosTimer.c''Invoking: GNU Compiler'"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"biosTimer.d" -MT"biosTimer.o" -o"biosTimer.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/biosTimer.c"'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/biosTimer.c'' ''Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/host_msc_main.c''Invoking: GNU Compiler'"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"host_msc_main.d" -MT"host_msc_main.o" -o"host_msc_main.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/host_msc_main.c"'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/host_msc_main.c'' ''Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_osal.c''Invoking: GNU Compiler'"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_7/packages" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"usb_osal.d" -MT"usb_osal.o" -o"usb_osal.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_osal.c"'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_osal.c'' ''Building target: USB_HostMsc_evmK2G_armExampleProject_old_PDK.out''Invoking: GNU Linker'"C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dk2g02 -Darm0 -DevmK2G -Dgcc -g -gdwarf-3 -gstrict-dwarf -Wall -mno-unaligned-access -mfloat-abi=hard -Wl,-Map,"USB_HostMsc_evmK2G_armExampleProject_old_PDK.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_46_05_55/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -Wl,--defsym,ARM_CORE=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"USB_HostMsc_evmK2G_armExampleProject_old_PDK.out" "./biosTimer.o" "./fatfs_port_usbmsc.o" "./fs_shell_app_utils.o" "./host_msc_main.o" "./usb_osal.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lrdimon -lgcc -lm -lc -lc -Wl,--end-group 'Finished building target: USB_HostMsc_evmK2G_armExampleProject_old_PDK.out'' 'C:/ti/pdk_k2g_1_0_7/packages/pdkAppImageCreate.bat C:/ti/pdk_k2g_1_0_7/packages C:/ti/gcc-arm-none-eabi-4_9-2015q3 C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK/Debug USB_HostMsc_evmK2G_armExampleProject_old_PDK K2G armNumber of Input Files 1Error opening input image file! C:/Users/krishna.m/Documents/workspace_keystone_k2g/USB_HostMsc_evmK2G_armExampleProject_old_PDK/Debug/USB_HostMsc_evmK2G_armExampleProject_old_PDK.out.rprc' '
**** Build Finished ****

  • The team is notified. They will post their feedback directly here.

    BR
    Tsvetolin Shulev
  • Krishna,

    As far as I can tell, you are still linking in the release version of the board library as you can see from the text I have highlihgted in your build log :

    generating custom ti.sysbios library makefile ...  Linking with library ti.drv.usb:./lib/k2g/a15/debug/ti.drv.usb.aa15fg Linking with library ti.board:./lib/evmK2G/a15/release/ti.board.aa15fg Linking with library ti.drv.i2c:./lib/k2g/a15/release/ti.drv.i2c.aa15fg Linking with library ti.drv.uart:./lib/k2g/a15/debug/ti.drv.uart.aa15fg Linking with library ti.osal:./lib/tirtos/k2g/a15/release/ti.osal.aa15fg Linking with library ti.csl:./lib/k2g/a15/release/ti.csl.aa15fgStarting build of library sources ...making C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/src/sysbios/sysbios.aa15fg ...gmake[1]: Entering directory `C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/src/sysbios'gmake[1]: Nothing to be done for `all'.gmake[1]: Leaving directory `C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/src/sysbios'Build of libraries done.cla15fg package/cfg/usb_arm_k2g_evm_pa15fg.c ...'Finished building: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/usb/example/bios/usb_arm_k2g_evm.cfg'' 'gmake[1]: Leaving directory 

    Can you try adding in the configuration file where the board module is added to the BIOS configuration.

    Board.Settings.libProfile="debug"

    This should be similar to what you have done for the USB driver as I do see that the debug version of the library is being linked to your application.

    Regards,

    Rahul

     

  • Hi Rahul,

    I added the debug profile for all the packages but it did not help. I am getting same error (No source available for "0x80001018" ) whenever I step in any function; even the address 0x80001018 is same for all the functions. I am able to hit all the break points which I keep, just not able to step in after that.

    I am attaching my cfg file for the project.

    usb_arm_k2g_evm.cfg

    I have attached the new compilation logs after enabling the debug profile for the packages.

    **** Build of configuration Debug for project USB_HostMsc_evmK2G_armExampleProject ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
    gmake[1]: Entering directory 'C:/Users/krishna.m/Documents/Inkel_K2G_CCS_Workspace/USB_HostMsc_evmK2G_armExampleProject/Debug'
    'Building file: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/k2g/usb_arm_k2g_evm.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_03_33_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/pdk_k2g_1_0_9/packages;C:/ti/edma3_lld_2_12_05_29/packages;C:/ti/ipc_3_47_01_00/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/uia_2_21_02_07/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmTCI66AK2G02 -r debug -b "C:/ti/pdk_k2g_1_0_9/packages/ti/build/k2g/config_k2g_a15.bld" -c "C:/ti/gcc-arm-none-eabi-6-2017-q1-update" -DBOARD=evmK2G "C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/k2g/usb_arm_k2g_evm.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring usb_arm_k2g_evm.xa15fg from package/cfg/usb_arm_k2g_evm_pa15fg.cfg ...
    generating custom ti.sysbios library makefile ... 
    	Linking with library ti.drv.usb:./lib/k2g/a15/debug/ti.drv.usb.aa15fg
    	Linking with library ti.board:./lib/evmK2G/a15/debug/ti.board.aa15fg
    	Linking with library ti.drv.i2c:./lib/k2g/a15/debug/ti.drv.i2c.aa15fg
    	Linking with library ti.drv.uart:./lib/k2g/a15/debug/ti.drv.uart.aa15fg
    	Linking with library ti.osal:./lib/tirtos/k2g/a15/debug/ti.osal.aa15fg
    	Linking with library ti.csl:./lib/k2g/a15/debug/ti.csl.aa15fg
    Starting build of library sources ...
    making C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/k2g/src/sysbios/sysbios.aa15fg ...
    gmake[1]: Entering directory `C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/k2g/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/k2g/src/sysbios'
    Build of libraries done.
    cla15fg package/cfg/usb_arm_k2g_evm_pa15fg.c ...
    'Finished building: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/k2g/usb_arm_k2g_evm.cfg'
    ' '
    gmake[1]: Leaving directory 'C:/Users/krishna.m/Documents/Inkel_K2G_CCS_Workspace/USB_HostMsc_evmK2G_armExampleProject/Debug'
    'Building file: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/usb_host/msc/fatfs_port_usbmsc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/Inkel_K2G_CCS_Workspace/USB_HostMsc_evmK2G_armExampleProject" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_9/packages" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"fatfs_port_usbmsc.d" -MT"fatfs_port_usbmsc.o" -o"fatfs_port_usbmsc.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/usb_host/msc/fatfs_port_usbmsc.c"
    'Finished building: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/usb_host/msc/fatfs_port_usbmsc.c'
    ' '
    'Building file: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/shell/fs_shell_app_utils.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/Inkel_K2G_CCS_Workspace/USB_HostMsc_evmK2G_armExampleProject" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_9/packages" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"fs_shell_app_utils.d" -MT"fs_shell_app_utils.o" -o"fs_shell_app_utils.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/shell/fs_shell_app_utils.c"
    'Finished building: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/shell/fs_shell_app_utils.c'
    ' '
    'Building file: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/biosTimer.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/Inkel_K2G_CCS_Workspace/USB_HostMsc_evmK2G_armExampleProject" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_9/packages" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"biosTimer.d" -MT"biosTimer.o" -o"biosTimer.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/biosTimer.c"
    'Finished building: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/biosTimer.c'
    ' '
    'Building file: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/host_msc_main.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/Inkel_K2G_CCS_Workspace/USB_HostMsc_evmK2G_armExampleProject" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_9/packages" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"host_msc_main.d" -MT"host_msc_main.o" -o"host_msc_main.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/host_msc_main.c"
    C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/host_msc_main.c:82:1: warning: "/*" within comment [-Wcomment]
     /****************************************************************************/
      
    'Finished building: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/host_msc_main.c'
    ' '
    'Building file: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/usb_osal.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DevmK2G -Dgcc -I"C:/Users/krishna.m/Documents/Inkel_K2G_CCS_Workspace/USB_HostMsc_evmK2G_armExampleProject" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb" -I"C:/ti/pdk_k2g_1_0_9/packages" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/usb_host/msc" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/usb_func/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/src/include" -I"C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/shell" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -c -mno-unaligned-access -MMD -MP -MF"usb_osal.d" -MT"usb_osal.o" -o"usb_osal.o" @"configPkg/compiler.opt" "C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/usb_osal.c"
    'Finished building: C:/ti/pdk_k2g_1_0_9/packages/ti/drv/usb/example/bios/usb_osal.c'
    ' '
    'Building target: USB_HostMsc_evmK2G_armExampleProject.out'
    'Invoking: GNU Linker'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dk2g02 -Darm0 -DevmK2G -Dgcc -g -gdwarf-3 -gstrict-dwarf -Wall -mno-unaligned-access -mfloat-abi=hard -Wl,-Map,"USB_HostMsc_evmK2G_armExampleProject.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -Wl,--defsym,ARM_CORE=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 --specs=nano.specs -o"USB_HostMsc_evmK2G_armExampleProject.out" "./biosTimer.o" "./fatfs_port_usbmsc.o" "./fs_shell_app_utils.o" "./host_msc_main.o" "./usb_osal.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lrdimon -lgcc -lm -lc -Wl,--end-group 
    'Finished building target: USB_HostMsc_evmK2G_armExampleProject.out'
    ' '
    C:/ti/pdk_k2g_1_0_9/packages/pdkAppImageCreate.bat C:/ti/pdk_k2g_1_0_9/packages C:/ti/gcc-arm-none-eabi-6-2017-q1-update C:/Users/krishna.m/Documents/Inkel_K2G_CCS_Workspace/USB_HostMsc_evmK2G_armExampleProject/Debug USB_HostMsc_evmK2G_armExampleProject K2G arm
    Number of Input Files 1
    Error opening input image file! C:/Users/krishna.m/Documents/Inkel_K2G_CCS_Workspace/USB_HostMsc_evmK2G_armExampleProject/Debug/USB_HostMsc_evmK2G_armExampleProject.out.rprc
    ' '
    
    **** Build Finished ****

    Regards,

    Krishna

  • Hi,

    I was able to solve my problem by adding the PDK directory in Run-> Debug Configurations-> CCS -Device Debugging-> <Project Name> -> Source (Device selected as Cortex A15 in source tab).

    Regards,
    Krishna