Other Parts Discussed in Thread: UNIFLASH
Hi! Thanks for your help previously (e2e.ti.com/.../3622730
I've read all documentation I can find and went through the SimpleLink Academy "BLE Enhanced OAD". As seen in my previous thread I'm applying BIM + OAD to a project that lacks wireless connectivity, I will receive the OAD-image over 4G/UART. But that is another topic.
SDK: simplelink_cc13x2_26x2_sdk_4_40_04_04
BIM project: bim_offchip_CC1352P1_LAUNCHXL_nortos_ccs
I'm now following "Task 3 - Add OAD to Multi Role" (but adding it to my non-BLE-application). I will use external flash for images but is is currently empty.
Current state:
Challenge:
- Make BIM jump to my application
This works:
- BIM + simple_peripheral_oad_offchip_CC13X2P1_LAUNCHXL_tirtos_ccs
I can create a production image (using SRecord) with the two above and BIM can jump to application.
So I know BIM implementation is OK. - myCustomApplication: I can debug it standalone and I can flash the .out-file with UniFlash, so I know the application is working.
This happens:
- BIM + myCustomApplication
BIM can read the OAD header (I modified it to verify this) so It finds the header, but ends up in an faultISR when jumping. - I get a Linker warning that I suspect has something to do with my issues.
#10247-D creating output section ".ccfg" without a SECTIONS specification
While modifying myCustomApplication I used the .cmd-file cc13x2_cc26x2_app.cmd which has the .ccfg section commented out. But there is an entry in the .map file
.ccfg 0 00015a48 00000058
00015a48 00000058 ti_devices_config.obj (.ccfg:retain)
How would I remove the ccfg from my project entirely?
If it gives you any information - Output from oad_image_tool for myCustomApplication
____________________________
OAD IMG HDR
____________________________
Field | Value
imgID | b'CC13x2R1'
CRC | 0x6E6C0580
bimVer | 3
metaVer | 1
techType | 0xFFFE
imgCpStat | 0xFF
crcStat | 0xFF
imgType | 0x7
imgNo | 0x0
imgVld | 0xFFFFFFFF
len | 0x15D2C
prgEntry | 0x8C
softVer | 0x31303030
imgEndAddr | 0x15D2B
hdrLen | 0x2C
____________________________
Segment HDR
____________________________
Field | Value
Segment Type | Contiguous Image Segment
Wireless Tech | [BLE]
Segment Length | 0x15D00
Start Address | 0x0
Output from oad_image_tool for simple_peripheral_oad_offchip_CC13X2P1_LAUNCHXL_tirtos_ccs
____________________________
OAD IMG HDR
____________________________
Field | Value
imgID | b'CC13x2R1'
CRC | 0x49511BFE
bimVer | 3
metaVer | 1
techType | 0xFFFE
imgCpStat | 0xFF
crcStat | 0xFF
imgType | 0x7
imgNo | 0x0
imgVld | 0xFFFFFFFF
len | 0x1E8E4
prgEntry | 0x90
softVer | 0x31303030
imgEndAddr | 0x1E8E3
hdrLen | 0x2C
____________________________
Segment HDR
____________________________
Field | Value
Segment Type | Security Segment
Wireless Tech | [BLE]
Segment Length | 0x55
Security Version | 0x1
Timestamp | 0x6040D495
Signer Info | 0x8B10EC1D517D17B0
Signature | 0xC22407C1C04A38CB2DDC844A02BB5D20F79D765D8985FADE40E5CC9B475B94E9328DD2AFC90E50107E6672C45E6AEC73B38C6BA317BD3FB27B0332EFD5137DA1
____________________________
Segment HDR
____________________________
Field | Value
Segment Type | Contiguous Image Segment
Wireless Tech | [BLE]
Segment Length | 0x1E863
Start Address | 0x0
