When I'm installing the devicefamilypack for Keil5, there is "Cannot compile SVD file(s)" errors happend

Hello,

I'm trying to install the nRF_DeviceFamilyPack.8.40.3 & nRF_DeviceFamilyPack.8.44.1 for Keil5 to run the ble_app_uart sample. Both of the packs shows errors, as below:

Installing Pack NordicSemiconductor.nRF_DeviceFamilyPack.8.40.3: Cannot compile SVD file(s)

Installing Pack NordicSemiconductor.nRF_DeviceFamilyPack.8.40.3: Cannot compile SVD file(s)

So how to fix this issue?

Thanks

Parents Reply
  • Hello Priyanka,

    For your reference, I found the root cause is both nrf5340_application.svd & nrf5340_network.svd contain: <dataType>uint32_t *</dataType>

    which cannot be parsed by SVDConv.exe integrated in keil5:
    *** ERROR M202: D:/nordicsemiconductor.nrf_devicefamilypacknordiclicense.8.44.1/SVD/nrf5340_application.svd (Line 570)
    Parse error: <dataType> = 'uint32_t *'
    And in the keil pack directory: Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.44.1\SVD, there are generated files:
    nrf5340_application.errlog
    nrf5340_application.sfd
    nrf5340_application.SFR
    nrf5340_application.svd
    nrf5340_network.errlog
    nrf5340_network.sfd
    nrf5340_network.SFR
    nrf5340_network.svd
    Here attached errolog shows details:
    Are these sfd & SFR files work well? If not, how do I fix them?
    Thanks
Children
Related