Forum Replies Created
Viewing 1 post (of 1 total)
-
AuthorPosts
-
twiddleParticipant
Thanks for that.
Unfortunately, I still run into a few errors.
I have the bootloader_dfu library checked in the frameworks options, and I also have the ble_dfu service selected.
Presuming this is correct, I now get an error about multiple definitions of a number of DFU-related functions, here’s a sample of them:\nRF51\components\libraries\bootloader_dfu\dfu_single_bank.c(756): error VGDB1001: multiple definition of 'dfu_bl_image_validate' 1> Debug/dfu_dual_bank.o:/nRF51/components/libraries/bootloader_dfu/dfu_dual_bank.c:807: first defined here 1> Debug/dfu_single_bank.o: In function 'dfu_sd_image_validate': 1>\nRF51\components\libraries\bootloader_dfu\dfu_single_bank.c(781): error VGDB1001: multiple definition of 'dfu_sd_image_validate' 1> Debug/dfu_dual_bank.o:/nRF51/components/libraries/bootloader_dfu/dfu_dual_bank.c:832: first defined here 1> Debug/dfu_transport_serial.o: In function 'dfu_transport_update_start': 1>\nRF51\components\libraries\bootloader_dfu\dfu_transport_serial.c(279): error VGDB1001: multiple definition of 'dfu_transport_update_start' 1> Debug/dfu_transport_ble.o:/nRF51/components/libraries/bootloader_dfu/dfu_transport_ble.c:1036: first defined here 1> Debug/dfu_transport_serial.o: In function 'dfu_transport_close': 1>\nRF51\components\libraries\bootloader_dfu\dfu_transport_serial.c(300): error VGDB1001: multiple definition of 'dfu_transport_close' 1> Debug/dfu_transport_ble.o:/nRF51/components/libraries/bootloader_dfu/dfu_transport_ble.c:1088: first defined here 1> Debug/dfu_init_template_signing.o: In function 'dfu_init_prevalidate': 1> dfu_init_template_signing.c:(.text.dfu_init_prevalidate+0x0): multiple definition of 'dfu_init_prevalidate' 1> Debug/dfu_init_template.o:/nRF51/components/libraries/bootloader_dfu/dfu_init_template.c:58: first defined here 1> Debug/dfu_init_template_signing.o: In function 'dfu_init_prevalidate': 1>\nRF51\components\libraries\bootloader_dfu\experimental\dfu_init_template_signing.c(184): error VGDB1001: multiple definition of 'dfu_init_postvalidate' 1> Debug/dfu_init_template.o:/nRF51/components/libraries/bootloader_dfu/dfu_init_template.c:133: first defined here
Looks like there are issues with specifying which bootloader to use, and whether it is in a single or dual bank configuration. I’m not sure how to proceed with resolving it, though; Nordic’s own documentation regarding using DFU with GCC is rather lacking, which is why I’m hoping to use a VisualGDB template.
-
AuthorPosts
Viewing 1 post (of 1 total)