This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Keil toolchain/compiler configurations incorrect

Hi all

My target board is nRF51822, and I want to run the heart rate demo project, but a error message when I compile it :

[b]Build target 'nrf51822_xxaa_s110 (256K)' assembling arm_startup_nrf51.s... arm_startup_nrf51.s: error: A3903U: Argument '--pd' not permitted for option 'device'. "._build\ble_app_hrs.axf" - 1 Errors, 0 Warning(s). Target not created[/b]

Seems toolchain/compiler configurations incorrect ???

Thanks

Parents
  • Project setting ... ...

    Yes, I have refer to the User guide and modified Options for Target setting, I open the other project ble app alert notification and do not change anything

    seems good for compile but I can't load it :

    [b] Rebuild target 'nrf51822_xxaa_s110 (256K)' assembling arm_startup_nrf51.s... compiling system_nrf51.c... compiling main.c... compiling ble_ans_c.c... compiling ble_error_log.c... compiling ble_stack_handler.c... compiling ble_advdata.c... compiling ble_conn_params.c... compiling app_timer.c... compiling ble_flash.c... compiling ble_bondmngr.c... compiling app_button.c... compiling ble_radio_notification.c... compiling app_gpiote.c... compiling ble_debug_assert_handler.c... linking... Program Size: Code=18536 RO-data=224 RW-data=272 ZI-data=7016
    FromELF: creating hex file... "._build\ble_app_alert_notification.axf" - 0 Errors, 0 Warning(s). Load "C:\Keil\ARM\Device\Nordic\nrf51822\Board\nrf6310\ble\ble_app_alert_notification\arm\_build\ble_app_alert_notification.axf" Set JLink Project File to "C:\Keil\ARM\Device\Nordic\nrf51822\Board\nrf6310\ble\ble_app_alert_notification\arm\JLinkSettings.ini"

    • JLink Info: Device "NRF51822_XXAA" selected (257 KB flash, 8 KB RAM).

    JLink info:

    DLL: V4.72a, compiled Jun 26 2013 11:49:14 Firmware: J-Link OB-SAM3U128 V1 compiled Feb 5 2013 15:27:51 Hardware: V1.00 S/N : 480201171

    • JLink Info: Found SWD-DP with ID 0x0BB11477
    • JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
    • JLink Info: Found Cortex-M0 r0p0, Little endian. ROMTableAddr = 0xE00FF003

    Target info:

    Device: nRF51822_xxAA VTarget = 3.300V State of Pins: TCK: 0, TDI: 0, TDO: 1, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 1000 kHz

    Erase Failed! [/b]

Reply
  • Project setting ... ...

    Yes, I have refer to the User guide and modified Options for Target setting, I open the other project ble app alert notification and do not change anything

    seems good for compile but I can't load it :

    [b] Rebuild target 'nrf51822_xxaa_s110 (256K)' assembling arm_startup_nrf51.s... compiling system_nrf51.c... compiling main.c... compiling ble_ans_c.c... compiling ble_error_log.c... compiling ble_stack_handler.c... compiling ble_advdata.c... compiling ble_conn_params.c... compiling app_timer.c... compiling ble_flash.c... compiling ble_bondmngr.c... compiling app_button.c... compiling ble_radio_notification.c... compiling app_gpiote.c... compiling ble_debug_assert_handler.c... linking... Program Size: Code=18536 RO-data=224 RW-data=272 ZI-data=7016
    FromELF: creating hex file... "._build\ble_app_alert_notification.axf" - 0 Errors, 0 Warning(s). Load "C:\Keil\ARM\Device\Nordic\nrf51822\Board\nrf6310\ble\ble_app_alert_notification\arm\_build\ble_app_alert_notification.axf" Set JLink Project File to "C:\Keil\ARM\Device\Nordic\nrf51822\Board\nrf6310\ble\ble_app_alert_notification\arm\JLinkSettings.ini"

    • JLink Info: Device "NRF51822_XXAA" selected (257 KB flash, 8 KB RAM).

    JLink info:

    DLL: V4.72a, compiled Jun 26 2013 11:49:14 Firmware: J-Link OB-SAM3U128 V1 compiled Feb 5 2013 15:27:51 Hardware: V1.00 S/N : 480201171

    • JLink Info: Found SWD-DP with ID 0x0BB11477
    • JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
    • JLink Info: Found Cortex-M0 r0p0, Little endian. ROMTableAddr = 0xE00FF003

    Target info:

    Device: nRF51822_xxAA VTarget = 3.300V State of Pins: TCK: 0, TDI: 0, TDO: 1, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 1000 kHz

    Erase Failed! [/b]

Children
Related