Hi all!
Sorry for my stupid questions. I read "CC2640 BLE OAD User's Guide" and I do not understand how to use OAD target project and to dowload imageB via OAD.
I build OAD_target project and dowload "OAD_merge.hex" via flash programmer. Then in device monitor -> program OAD select imageB (form simpleBLEPeripheral project) and program. The download is successful, target device rebooting. Then the device can not be contacted, it does not send advertising, perhaps, because the image stack in OAD_target and SBP different. I tried to do oad_target fw based on SBP project for this I added in spb_imageB project
ICALL_STACK0_ADDR=0xF000
FEATURE_OAD
FEATURE_OAD_ONCHIP
HAL_IMAGE_A
in build actions:
python "C:\Python27\Scripts\hexmerge.py" -o "$PROJ_DIR$\target\Exe\target_IMAGE.hex" -r "1000:1CFFF" --overlap=error "$PROJ_DIR$\target\Exe\target_app.hex":1000:EFFF
"$PROJ_DIR$\..\..\..\..\..\util\BIM\CC26xx\FlashOnly\Exe\BIM.hex":0000:0F5FF "$PROJ_DIR$\..\..\Stack\CC2640\FlashROM\Exe\SimpleBLEPeripheralStackFlashROM.hex":F000:1CFFF
But device with this firmware does not work, it does not send advertising.