nRF connect SDK ,Matter OTA

Hi,

We are debugging the OTA function of Matter and using nrf52840 IC, but our board is relatively small, so we cannot use the Flash IC of the example; We are using IS25LP080D;

We have modified the relevant configuration of QSPI and the program can run correctly, but we encountered a problem during OTA,

The UART printing information is as follows:

May I ask what error this may be? Thank you for your help

I: 448320 [EM]>>> [E:33130i S:45885 M:240345016 (Ack:209591795)] (S) Msg RX from 1:0000000000000001 [CFC8] --- Type 0001:09 (IM:InvokeCommandResponse)
I: 448333 [DMG]Received Command Response Data, Endpoint=0 Cluster=0x0000_0029 Command=0x0000_0001
D: 448342 [SWU]QueryImageResponse:
D: 448345 [SWU]  status: 0
D: 448348 [SWU]  imageURI: bdx://0000000000000001/../xlc-matter/build_1/zephyr/matter.ota
D: 448356 [SWU]  softwareVersion: 12
D: 448359 [SWU]  softwareVersionString: R1.2
D: 448363 [SWU]  updateToken: 32
D: 448366 [SWU]  userConsentNeeded: 0
D: 448369 [SWU]Update available from version 11 to 12
I: 448375 [EM]<<< [E:33130i S:45885 M:209591796 (Ack:240345016)] (S) Msg TX to 1:0000000000000001 [CFC8] --- Type 0000:10 (SecureChannel:StandaloneAck)
I: 448388 [IN](S) Sending msg 209591796 on secure session with LSID: 45885
D: 448397 [SWU]Establishing session to provider node ID 0x0000000000000001 on fabric index 1
I: 448406 [DIS]Found an existing secure session to [1:0000000000000001]!
D: 448412 [DIS]OperationalSessionSetup[1:0000000000000001]: State change 1 --> 5
D: 448419 [SWU]BDX::SendMessage
I: 448423 [EM]<<< [E:33131i S:45885 M:209591797] (S) Msg TX to 1:0000000000000001 [CFC8] --- Type 0002:04 (BDX:ReceiveInit)
I: 448434 [IN](S) Sending msg 209591797 on secure session with LSID: 45885
I: 448542 [EM]>>> [E:33131i S:45885 M:240345017 (Ack:209591797)] (S) Msg RX from 1:0000000000000001 [CFC8] --- Type 0002:05 (BDX:ReceiveAccept)
D: 448555 [SWU]BDX::SendMessage
I: 448558 [EM]<<< [E:33131i S:45885 M:209591798 (Ack:240345017)] (S) Msg TX to 1:0000000000000001 [CFC8] --- Type 0002:10 (BDX:BlockQuery)
I: 448571 [IN](S) Sending msg 209591798 on secure session with LSID: 45885
I: 448924 [EM]>>> [E:33131i S:45885 M:240345018 (Ack:209591798)] (S) Msg RX from 1:0000000000000001 [CFC8] --- Type 0002:11 (BDX:Block)
E: Failed to get device for area '"mcuboot_secondary"'
E: ***** BUS FAULT *****
E:   Instruction bus error
E: r0/a1:  0x00000000  r1/a2:  0x200315b8  r2/a3:  0x200315bc
E: r3/a4:  0x843901b1 r12/ip:  0x000d1838 r14/lr:  0x000a2223
E:  xpsr:  0x410f0000
E: s[ 0]:  0x00000000  s[ 1]:  0x00000000  s[ 2]:  0x00000000  s[ 3]:  0x00000000
E: s[ 4]:  0x00000000  s[ 5]:  0x00000000  s[ 6]:  0x00000000  s[ 7]:  0x00000000
E: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x00000000
E: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000000  s[15]:  0x00000000
E: fpscr:  0x00000000
E: Faulting instruction address (r15/pc): 0x843901b0
E: >>> ZEPHYR FATAL ERROR 27: Unknown error on CPU 0
E: Current thread: 0x200145b0 (CHIP)
E: Halting system

Parents
  • Hi again

    How are your partitions set up when you use the IS25 versus when using the MX25 chip? Since it doesn't say specifically in the datasheet that the IS25LP doesn't support QSPI, but only SPI or QPI. Can you try using regular SPI instead of QSPI, by using the SPI3 instance instead of QSPI and not set the quad enable bit for the IS25. That's the only thing I can think of at this point.

    Best regards,

    Simon

Reply
  • Hi again

    How are your partitions set up when you use the IS25 versus when using the MX25 chip? Since it doesn't say specifically in the datasheet that the IS25LP doesn't support QSPI, but only SPI or QPI. Can you try using regular SPI instead of QSPI, by using the SPI3 instance instead of QSPI and not set the quad enable bit for the IS25. That's the only thing I can think of at this point.

    Best regards,

    Simon

Children
No Data
Related