Other Parts Discussed in Thread: CC2652RB, UNIFLASH, CC2652R, CC2642R
Hello,
Both cases have a similar behavior and display the same message.
Header Failed!
Header rejected with fault: Stack and
flash boundary mismatch, program
entry mismatch
This happens immediately after pairing completes. On the launchpad output I see the following:
#000105 [ 424.313 ] INFO: (project_zero.c:1417) Adv Set 0 Enabled
#000106 [ 424.424 ] INFO: (project_zero.c:1500) Encryption success
#000107 [ 424.784 ] INFO: (project_zero.c:1388) PHY Updated to 2M
#000108 [ 424.844 ] INFO: (project_zero.c:972) MTU Size: 247
#000109 [ 425.624 ] INFO: (led_service.c:419) ReadAttrCB : LED0 connHandle: 0 offset: 0 method: 0x0a
#000110 [ 425.684 ] INFO: (led_service.c:430) ReadAttrCB : LED1 connHandle: 0 offset: 0 method: 0x0a
#000111 [ 425.744 ] INFO: (button_service.c:539) WriteAttrCB (CCCD): param: 0 connHandle: 0 - OTA write
#000112 [ 425.744 ] INFO: (project_zero.c:2506) (CB) Button Svc Char config change paramID(0). Sending msg to app.
#000113 [ 425.746 ] INFO: (project_zero.c:2176) CCCD Change msg: Button Service BUTTON0: Notifications enabled
#000114 [ 425.804 ] INFO: (button_service.c:539) WriteAttrCB (CCCD): param: 1 connHandle: 0 - OTA write
#000115 [ 425.804 ] INFO: (project_zero.c:2506) (CB) Button Svc Char config change paramID(1). Sending msg to app.
#000116 [ 425.806 ] INFO: (project_zero.c:2187) CCCD Change msg: Button Service BUTTON1: Notifications enabled
#000117 [ 427.484 ] INFO: (button_service.c:539) WriteAttrCB (CCCD): param: 0 connHandle: 0 - OTA write
#000118 [ 427.484 ] INFO: (project_zero.c:2506) (CB) Button Svc Char config change paramID(0). Sending msg to app.
#000119 [ 427.485 ] INFO: (project_zero.c:2176) CCCD Change msg: Button Service BUTTON0: Noti/Ind disabled
#000120 [ 427.544 ] INFO: (button_service.c:539) WriteAttrCB (CCCD): param: 1 connHandle: 0 - OTA write
#000121 [ 427.544 ] INFO: (project_zero.c:2506) (CB) Button Svc Char config change paramID(1). Sending msg to app.
#000122 [ 427.546 ] INFO: (project_zero.c:2187) CCCD Change msg: Button Service BUTTON1: Noti/Ind disabled
#000123 [ 427.785 ] INFO: (oad.c:752) OAD event=3 next state=0
#000124 [ 427.845 ] INFO: (oad.c:752) OAD event=3 next state=0
#000125 [ 427.905 ] INFO: (oad.c:752) OAD event=3 next state=0
#000126 [ 427.966 ] INFO: (oad.c:752) OAD event=0 next state=0
#000127 [ 427.966 ] INFO: (project_zero.c:837) OAD Error: 9
#000128 [ 430.424 ] INFO: (project_zero.c:1737) Updated params for E0:33:8E:54:5E:30, interval: 30.0 ms, latency: 0, timeout: 2000 ms
This is the output when using iOS. When using Android, the application crashes after the first two "(oad.c:752) OAD event=3 next state=0" messages.
Shouldn't I be prompted to select a firmware file before the header validation process?
BTW, I have also tried with using the Simple Peripheral project with the same results.
TIA