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

Converting sample project from nRF52832 to nRF52810

Hi,

Recently, I am trying to make a nRF52810 project to run the sample code based on nRF52832.

The application code size is used in nRF52832, Code=56840 RO-data=9600 RW-data=1576 ZI-data=15040.

I have follow the instruction as below picture.

And here comes the snipping image of my current setting:

Thus, I suppose I have follow the instruction. Or do I have any misunderstanding?

The error message are below:

linking...
.\_build\nrf52810_xxaa.axf: Error: L6200E: Symbol UARTE0_UART0_IRQHandler multiply defined (by nrfx_uarte.o and nrfx_uart.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 1 error messages.
".\_build\nrf52810_xxaa.axf" - 1 Error(s), 0 Warning(s).

BTW, I am not sure what is the size of "s112_nrf52_7.0.1_softdevice".

However, I suppose the space is enough because of the application size is about 57KB in nRF52832, and the nRF52810 total is 192 KB.

And how or where could I check the program RAM size?

Thanks.

Parents Reply Children
  • Hi Hakon,

    Actually, the method you said were useful while I debugging to run the nRF52810 (PCA10040e) sample which is official release by Nordic SDK16 directly.

    But the project I use now, there is no sample for PCA10040e, thus I was trying to do the transferring from PCA10040 to PCA10040e.

    It seems there is the problem of removing the system_nrf52. Do you know where could I remove or what kind of the command I need to use?

    Besides, I also compare with one exist nRF52810 project and it show some different in the project window.

    As you see the original nRF52810 show the X in the device files, which is quite different when I making my own transferring project. I am not sure why it make different.

    I assume that there is some thing I have missed.

    Thanks.

  • Hi Hakon,

    I just copy the exist nRF52810 project to solve the problem.

    APP_TIMER_V2 APP_TIMER_V2_RTC1_ENABLED BOARD_PCA10040 CONFIG_GPIO_AS_PINRESET DEVELOP_IN_NRF52832 FLOAT_ABI_SOFT NRF52810_XXAA NRF52_PAN_74 NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3 NRF_SD_BLE_API_VERSION=7 S112 SOFTDEVICE_PRESENT __HEAP_SIZE=2048 __STACK_SIZE=2048

    I am not sure why the Infocenter did not show these information.

    But while I download the program to my nRF52810 module it could not run.

    Program Size: Code=56048 RO-data=9432 RW-data=1576 ZI-data=8056  

    I suppose it is not related to the size issue.

    If you have anything could share, I am happy to learn more.

    Thanks.

  • Hi,

     

    I am glad to hear that the project is now working.

    I will look into this part of our documentation and give feedback to our developers.

    Thank you!

    Kind regards,

    Håkon

Related