hi .eveyone. i use 51822 sdk12.3.0 , i want to dfu app code with uart, but not use bootloader_secure and experimental_ble_app_buttonless_dfu. i do not know how to develop.
have some sample code to provide ,please?
hi .eveyone. i use 51822 sdk12.3.0 , i want to dfu app code with uart, but not use bootloader_secure and experimental_ble_app_buttonless_dfu. i do not know how to develop.
have some sample code to provide ,please?
i am unluckly. debug pca10028_debug is same problem..
my step:
1. burn softdevice s130_nrf51_2.0.1_softdevice
2. urfutil make setting.hex and merge pca10028_debug boot.
3. debug pca10028_debug
but can not debug..
now. i can asm ,it is in boot run. and phone can link dfutarg. why in c code can not set breakpoint ?
aatt05 said:
1. burn softdevice s130_nrf51_2.0.1_softdevice
2. urfutil make setting.hex and merge pca10028_debug boot.
3. debug pca10028_debug
in step 2: What do you merge? And is it the bootloader you are trying to debug, or an application? And how do you create your settings? With what application?
You don't need to create settings.hex, or merge anything to debug in the bootloader. Just flash the bootloader debug project and debug.
hi. step2. i try burn boot. not merge with (nrfgosutido) . i sure code run in boot. because keil asm address is boot adreess, and phone can link dfutarg. but not set breakpoint....
i do this is for debug uart boot. but i find that transport uart boot from sdk13 to sdk12.3 for 51822 is too hard. many need to change ,and not sure is ok !! could you write this sample code fo me ,please?
Sorry. I can't. It is not something that is done in one hour. If you want a serial bootloader you either need to go to SDK13.0.0, which means that you need to use nRF52, or you need to backport it to SDK12.3.0.
Why do you use nrfgostudio? I suggest that you use nrfgostudio only to erase the nRF51, and then program and debug using Keil. Did you disable optimization in your project?
aatt05 said:but not set breakpoint....
This is probably because you have optimization enabled.
OK. Thanks.. optimization have disable. thanks very much. I consider how to do .
OK. Thanks.. optimization have disable. thanks very much. I consider how to do .