I want to port my project from the nRF52840 to the nRF52833. I am working on the DWM3001C using SDK version 16. I changed the required files in the project but I think I’m not able to get it to work because of the linker_section_placement_macros.
Has anyone been able to successfully port their project? What are the values for your flash, ram, etc?
My project builds and downloads but nothing happens.
What files did you change?
As it is more like a Nordic/Segger challenge maybe is worth taking a look at the Nordic forum.
They have some results for “Migration from nRF52840 to nRF52833”.
In one of them they said:
"Basically it’s the startup files need to be changed, RAM, FLASH configuration, cryptocell missing. "
I changed the Preprocessor Definitions to BOARD_PCA10100 and nRF52833_XXAA. The target device is set to nRF52833_xxAA. The register definition file is set to nrf52833.svd. I changed the ses startup file to ses_startup_nrf52833.s.
The Memory Segments (RAM and FLASH) are as follows:
I configured the cryptocell according to this post here (I referenced this post when porting my project):
It downloads successfully to the device but gets a Hard Fault error. I have found just about every Nordic forum post related to migrating projects between boards. My next guess is that the problem is in the Section Placement Macros. The Qorvo API has other memory sections such as FCONFIG and INIT. I’m not sure where to find documentation on these so my guess is that’s what is causing the handler error. These probably have to be reconfigured as well.
I’m beginning to setup and test the Segger toolchain and working to build for DWM3001CDK, the example provided by Qorvo. I think I have a related issue to the above, since I get a linker error message:
8> Compiling ‘main.c’
1> Generating linker script ‘DWM3001CDK.ld’
1> Linking DWM3001CDK.elf
1> /Applications/SEGGER Embedded Studio for ARM 6.32b/gcc/arm-none-eabi/bin/ld: error: .default_config is larger than specified size
1> /Applications/SEGGER Embedded Studio for ARM 6.32b/gcc/arm-none-eabi/bin/ld: error: .fconfig is larger than specified size
Build failed
I tried cutting and pasting the above configuration into the Section Placement Macros of the project “options” but they seem to have no positive effect. Can you provide clarification on how to update these memory section placement values properly for the DWM3001CDK?