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
  • If you still have problems, can you please try to zip up the complete project you're trying to use, and upload it here?


    OK, but I answer the questions as below because I really missing some files!Thank you very musc.


    Also, is the error the same with all example projects in the SDK?


    Actually, all example works fine on SDK. The problem occur on Keil. I was able to compile the code on Keil, but I can not load image file. I need load image on SDK and program it.


    Do you have a nrf51.cdb in C:\Keil\UV4?


    No! Maybe it's problem ? Something I miss download ?


    Do you have nrf51xxx.flm in C:\Keil\ARM\Flash?


    No! Maybe it's problem ? Something I miss download ?

    Thank you for reading my problem. :-)

Reply
  • If you still have problems, can you please try to zip up the complete project you're trying to use, and upload it here?


    OK, but I answer the questions as below because I really missing some files!Thank you very musc.


    Also, is the error the same with all example projects in the SDK?


    Actually, all example works fine on SDK. The problem occur on Keil. I was able to compile the code on Keil, but I can not load image file. I need load image on SDK and program it.


    Do you have a nrf51.cdb in C:\Keil\UV4?


    No! Maybe it's problem ? Something I miss download ?


    Do you have nrf51xxx.flm in C:\Keil\ARM\Flash?


    No! Maybe it's problem ? Something I miss download ?

    Thank you for reading my problem. :-)

Children
No Data
Related