Other Parts Discussed in Thread: CC3220SF, UNIFLASH,
I have two CC3220SF Launhcxl boards doing the same thing, both revert to the OOB project evry time reset or PUR occurs, even though a new project has been running in Debug using CCS7.2. The jumpers are as per Figure 9 in the OOB application PDF ref SWRU473. The code is happily posting to an mqtt broker before the reset, see the back channel log below:
*******************************
CC3220 Publishes the following message
Topic: /cc3220/Sensor2/Temperature
Data: 123
C: FH-B1 0x35 to net 0, Sent (41 Bytes) [@ 28]
Data received: C: Rcvd msg Fix-Hdr (Byte1) 0x50 from net 0 [@ 29]
C: FH-B1 0x62 to net 0, Sent (4 Bytes) [@ 29]
C: Msg w/ ID 0x0019, processing status: Good
Data received: C: Rcvd msg Fix-Hdr (Byte1) 0x70 from net 0 [@ 29]
C: Msg w/ ID 0x0019, processing status: Good
CC3220 Publishes the following message
Topic: /cc3220/Sensor2/Relative Humidity
Data: 99
CC3220SF LAUNCHXL RESET AT THIS POINT - here the application reverts to OOB!
Data received:
============================================
out of box Example Ver: 1.00.00.09
============================================
CHIP: 0x30000019
MAC: 2.0.0.0
PHY: 2.2.0.5
NWP: 3.4.0.0
ROM: 0
HOST: 2.0.1.18
MAC address: 98:84:e3:4f:29:4f
============================================
[Provisioning task] Wake up on Power ON
[Provisioning task] detected device is CC3220SF
Data received: [Provisioning task] Cannot connect to AP or profile does not exist
Data received: [NETAPP EVENT] IP Acquired: IP=10.123.45.1 , Gateway=10.123.45.1
Data received: [Provisioning task] Device is configured in default state
Data received: [Provisioning task] Device started in AP role
[NETAPP EVENT] IP Acquired: IP=10.123.45.1 , Gateway=10.123.45.1
[Provisioning task] Host Driver Version: 2.0.1.18
[Provisioning task] Build Version 3.4.0.0.31.2.0.0.0.2.2.0.5
[Provisioning task] Starting Provisioning - [Provisioning task] in mode 2 (0 = AP, 1 = SC, 2 = AP+SC)
Data received: [Provisioning task] Provisioning Started. Waiting to be provisioned..!!
**************************
I have at some point possibly erased an area of flash on these EVK's as at one point they would not work at all, they also receive an update for the programming interface section.
I have tried re flashing the factory OOB image using Uniflash as per section 5 in the OOB application PDF ref SWRU473, this works as OOB. I can then re program my mqtt application, but still every time there is a reset or PUR the board goes back to OOB application.
Clearly it needs to retain the program flashed from CCS7.2 to be of use for development. What is wrong?
David