Sysprogs forums › Forums › VisualGDB › nrf52832 SDK Version problem?
Tagged: nrf51822 nrf52832 visualgdb
- This topic has 8 replies, 2 voices, and was last updated 10 years ago by
support.
-
AuthorPosts
-
January 31, 2016 at 18:20 #7580
Silvergaucho
ParticipantHei 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 53searching 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.
February 2, 2016 at 01:18 #7584support
KeymasterHi,
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.
February 2, 2016 at 12:24 #7589Silvergaucho
ParticipantHei 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.
February 4, 2016 at 06:05 #7597support
KeymasterHi,
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.
February 9, 2016 at 17:39 #7622Silvergaucho
ParticipantThanks Bazis.
I will give it a try!
February 10, 2016 at 15:58 #7628support
KeymasterNo problem. Let us know if you run into any problems.
February 20, 2016 at 16:21 #7677Silvergaucho
ParticipantHei 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 241February 27, 2016 at 16:27 #7690Silvergaucho
ParticipantHei Bazis,
any news on this?
Thanks
February 28, 2016 at 19:37 #7691support
KeymasterYes, there was a small bug in our Github repository. Please update your git checkout and try again.
-
AuthorPosts
- You must be logged in to reply to this topic.