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
  • nrf51.cdb and .flm are installed to C:\ARM, and C:\UV4, but these folders are not the KEIL folders, so MDK can't find the device data base and flash algorithm. Mine is windows8 and maybe .net is not the correct version. Action 01:29:51: GetDirectory. Action start 01:29:51: GetDirectory. SFXCA: Extracting custom action to temporary directory: C:\WINDOWS\Installer\MSIE31.tmp-
    SFXCA: Failed to get requested CLR info. Error code 0x80131700 SFXCA: Ensure that the proper version of the .NET Framework is installed, or that there is a matching supportedRuntime element in CustomAction.config. If you are binding to .NET 4 or greater add useLegacyV2RuntimeActivationPolicy=true to the element. CustomAction GetDirectory returned actual error code 1603 but will be translated to success due to continue marking Action ended 01:29:51: GetDirectory. Return value 1. Action 01:29:51: Setnrf51422_CustomDeviceFolder.

  • I found a workaround : PATH\to\Keil\tools.ini [UV2] CDB0=UV4\nrf51.cdb("Nordic nRF51 Series Devices")

Reply Children
No Data
Related