nrf52832 SDK Version problem?

Sysprogs forums Forums VisualGDB nrf52832 SDK Version problem?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #7580
    Silvergaucho
    Participant

    Hei there,

     

    I’m using Visual GDB now to develop over nrf52832.

    I started just a LEDBlink example with TWI support.

    When compiling the solution I noticed this:


    Error ‘NRF_TWI_Type {aka struct <anonymous>}’ has no member named ‘POWER’ EmbeddedProject8 C:\Users\LabUser\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x\nRF52\components\drivers_nrf\twi_master\incubated\twi_hw_master.c 53

    searching on the Nordic Dev Forum it seems this is related to an old version file of an old SDK.

    How is possible to specify the wanted sdk and have an updated project?

    Thanks.

    #7584
    support
    Keymaster

    Hi,

    Please try downloading the newest Nordic SDK and replacing the contents of the C:\Users\LabUser\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x\nRF52 folder with it.

    #7589
    Silvergaucho
    Participant

    Hei Bazis,

    directory structure is slightly different between Nordic and your BSP. Should we copy & paste just the components folder?

    I think most important folder is components which contains libraries but..

    aht happens if “Device Definitions” and “startUpFiles” changes from the Nordic side?

    Which version of the SDK is now implemented when downloading the nrf52832 pack?

     

    Thanks.

    #7597
    support
    Keymaster

    Hi,

    You can try downloading our BSP generator (https://github.com/sysprogs/BSPTools/tree/master/generators/nrf5x) and running it on the latest SDK. For nRF52 we used the nrf5x_v10_v092  SDK.

    #7622
    Silvergaucho
    Participant

    Thanks Bazis.

    I will give it a try!

    #7628
    support
    Keymaster

    No problem. Let us know if you run into any problems.

    #7677
    Silvergaucho
    Participant

    Hei Bazis,

     

    I tried to compile and run your bsp generator.

    Unfortunately, It crashes immediately. I’m on Windows 10 and VS2015.

    I run:

    nrf5x.exe e:\NordicSDK\nRF52_SDK_11.0.0

    and I receive:

    System.NullReferenceException:
    in BSPGenerationTools.MCUFamilyBuilder..ctor(BSPBuilder bspBuilder, FamilyDefinition definition) in \BSPTools-master\libraries\BSPGenerationTools\BSPGeneratorTools.cs:row 227
    in nrf5x.Program.Main(String[] args) in \BSPTools-master\generators\nrf5x\Program.cs:row 241

     

    #7690
    Silvergaucho
    Participant

    Hei Bazis,

     

    any news on this?

     

    Thanks

    #7691
    support
    Keymaster

    Yes, there was a small bug in our Github repository. Please update your git checkout and try again.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.