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 v6 Build Error: A fatal error has been detected by the Java Runtime Environment

Other Parts Discussed in Thread: CC2650

Hi,

I try to build the project SimpleBLEPeripheral which import from SDK sample code, error message shows "A fatal error has been detected by the Java Runtime Environment". I try it on another NB with Win7 OS and build up success. Does any configuration that I need to do on Win8 NB?

     Win 8 + CCSv6.0.1.00040 (with all update to date packages)

     CC2650 SDK: ble_cc26xx_2_00_00-42893

     SmartRF06 + cc2650F128

**** Build of configuration FlashROM for project SimpleBLEPeripheral ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/appBLE.cfg'
'Invoking: XDCtools'
"c:/ti/xdctools_3_30_06_67_core/xs" --xdcpath="c:/ti/tirtos_simplelink_2_11_01_09/packages;c:/ti/tirtos_simplelink_2_11_01_09/products/bios_6_41_02_41/packages;c:/ti/tirtos_simplelink_2_11_01_09/products/uia_2_00_02_39/packages;c:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640F128 -r release -c "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.0" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path=\"c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.0/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/SimpleBLEPeripheral/CC26xx/Source/Application\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/ICall/Include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/Profiles/Roles/CC26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/Profiles/Roles\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/Profiles/DevInfo\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/Profiles/SimpleProfile/CC26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/Profiles/SimpleProfile\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/applib/heap\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/ble/hci\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/ble/controller/CC26xx/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/ble/host\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/hal/target/CC2650TIRTOS\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/hal/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/hal/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/osal/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/services/sdata\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/services/saddr\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/icall/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/ble/include\" --include_path=\"C:/ti/tirtos_simplelink_2_11_01_09/products/cc26xxware_2_20_06_14829\" --include_path=\"C:/ti/tirtos_simplelink_2_11_01_09/packages/ti/boards/SRF06EB/CC2650EM_7ID\" -g --gcc --define=USE_ICALL --define=POWER_SAVING --define=SBP_TASK_STACK_SIZE=700 --define=GAPROLE_TASK_STACK_SIZE=520 --define=HEAPMGR_SIZE=2672 --define=TI_DRIVERS_SPI_DMA_INCLUDED --define=TI_DRIVERS_LCD_INCLUDED --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_MAX_NUM_ENTITIES=6 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=MAX_NUM_BLE_CONNS=1 --define=CC26XXWARE --define=CC26XX --define=ccs --define=__TI_COMPILER_VERSION=1 --display_error_number --diag_suppress=48 --diag_warning=225 --diag_wrap=off --gen_func_subsections=on " "C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/appBLE.cfg"
making package.mak (because of package.bld) ...
configuring appBLE.xem3 from package/cfg/appBLE_pem3.cfg ...
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d804584, pid=8100, tid=8348
#
# JRE version: 6.0_37-b06
# Java VM: Java HotSpot(TM) Client VM (20.12-b01 mixed mode windows-x86 )
# Problematic frame:
# V [jvm.dll+0x14584]
#
# An error report file with more information is saved as:
# C:\ti\workspace\WSDT-735B\SimpleBLEPeripheral\FlashROM\configPkg\hs_err_pid8100.log
#

# If you would like to submit a bug report, please visit:
# java.sun.com/.../crash.jsp
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
#
gmake.exe: *** [package/cfg/appBLE_pem3.xdl] Error 3
js: "C:/ti/xdctools_3_30_06_67_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/linker.cmd] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • jerry ko said:
    # An error report file with more information is saved as:
    # C:\ti\workspace\WSDT-735B\SimpleBLEPeripheral\FlashROM\configPkg\hs_err_pid8100.log

    Could you attach this error log file?

  • Hi AartiG,

    After re-install CCSv6 several times, the SimplaBLEPeripheral project can build success with .out image.

    What I did in last time installation were:

    - uninstall CCSv6

    - Remove tirtos_simplelink_2_11_01_09 folder

    - Install CCSv6

    --Check for updates -> All packages up to date

    --Install ARM compiler tool 5.2.0 from CCS App Center

    --Install TI-RTOS for SimpleLink from CCS App Center

    --CC26xx device support : 1.13.0.01    <-Previous version is 1.12.2.00

    -last step clean project and re-build

    Now the problem is the SimpleBLEPeripheral sample seems can running on SmartRF06 board but no any message show on LCD, and unable find the device from BLE search. 

  • jerry ko said:
    After re-install CCSv6 several times, the SimplaBLEPeripheral project can build success with .out image.

    Sorry to hear that you had to go through multiple installations of CCS, but glad that you were finally able to build project successfully.

    jerry ko said:
    Now the problem is the SimpleBLEPeripheral sample seems can running on SmartRF06 board but no any message show on LCD, and unable find the device from BLE search. 

    This is more of a question about the example itself which comes from the Wireless Connectivity team, so the question would be better asked in the Wireless Connectivity forum.