The system crashed after running for a long time (about two weeks or a month).

你好,采用52840工艺,已经量产,但是运行一个多月,有两三个设备崩溃了。重新上电无法解决,重新烧写协议栈才能解决。连接jlink后查看logs,发现最后崩溃的文件是FDS源文件,nrfjprog工具读取hex文件和正常运行读取的hex文件大小一样(内容不一样)。
想问这个问题如何确定FDS为什么导致crash,
除了蓝牙操作不能操作FDS,没有其他原因导致flash导致crash。
In addition, I have a question, when APP_ERROR_CHECK is generated, it does not reset, do I need to open any configuration?

Parents
  • Hi,
    Please let us know what code is located at line 70 in your board_flash_fds.c 

    If you don't do any DFU update or change the fds configuration, the FDS_ERR_NO_PAGES  error come when the FDS module couldn't find the correct metadata in the flash pages, most likely at the initialization phase. This can come from corrupted flash pages or wrong configuration. 
    We don't know what exactly the cause of the error without stepping in the code. You can try to do so on your side if you can reproduce the issue. 
    Do you have a reason you want to set the flash page size to 2048 words ? By default it's 1024. 

    In addition, I have a question, when APP_ERROR_CHECK is generated, it does not reset, do I need to open any configuration?

    If you have the configuration DEBUG set (in project setting -> Preprocessor definitions) then it will not reset in APP_ERROR_CHECK. But I don't think a reset there would make any difference, the chip will just get stuck in a reset loop. 

  • Hello, I'm sorry for only seeing the message now. Thank you very much for your answer. I have already updated the latest config firmware and restored the page size to the default 1024. Currently, it is in the aging test.

Reply Children
No Data
Related