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

IAR MDK Devices

I use IAR EWARM 8.20.2 and the SDK 12.3 because i want to use the S130 for the nRF51.

I installed the provided MDK_8_11_1_IAR and now there are two options for Nordic Semiconductor Devices: 

-NordicSemi: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\devices\NordicSemi - has the folders nRF51 and nRF52 with the respective devices. -NordicSemiconductor: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\devices\NordicSemiconductor with the files for all devices directly.
-C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\src\NordicSemiconductor -  with the iar_startup_x and system_nRF_x files. 

In a fresh installation of IAR EWARM, there is only this folder:

-NordicSemi: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\devices\NordicSemi

I tried compile some of the examples provided in the SDK with different target (respective device from NordicSemi or NordicSemiconductor), using the project for PCA10040 and PCA10028.  I got no errors and warnings. I wonder, if i have to take special caution when selecting the devices and if i even need to install a MDK since there are devices provided by IAR?

Also, is there a way to flash the SoftDevice directly from IAR, without nRFgo Studio?  

Kind regards

Parents
  • Hi,

    The device support in IAR should work for compiling examples, but the MDK provided by us will include bug fixes and workaround for chip erratas. It is recommended to always use the latest MDK version, to make sure you get the latest fixes.

    I don't know of any methods to flash the softdevice directly from IAR, but maybe this solution could be of interest?

    Best regards,
    Jørgen

  • Hello and thanks for your answer.

    Is there something i should consider when updating to a newer MDK?
    - Is the SDK12.3 generally compatible to newer MDK?
    - Do i have to copy/delete some files before/after updating?

    I tried and removed the older MDK. These paths were removed:
    - NordicSemi: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\devices\NordicSemi 
    - NordicSemiconductor: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\devices\NordicSemiconductor

    After the Installation of the newer MDK, These path were added again. It seems to work correctly.
    But just for the case i am missing something.

    Kind regards

Reply
  • Hello and thanks for your answer.

    Is there something i should consider when updating to a newer MDK?
    - Is the SDK12.3 generally compatible to newer MDK?
    - Do i have to copy/delete some files before/after updating?

    I tried and removed the older MDK. These paths were removed:
    - NordicSemi: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\devices\NordicSemi 
    - NordicSemiconductor: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\devices\NordicSemiconductor

    After the Installation of the newer MDK, These path were added again. It seems to work correctly.
    But just for the case i am missing something.

    Kind regards

Children
No Data
Related