This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ASSERTION FAIL [net_buf_simple_tailroom(buf) >= len] @ WEST_TOPDIR/zephyr/subsys/net/buf.c:800

Hi everybody, i get this error on a nrf53 with hr_coded on network coded, and UART example modified with multilink and coded_phy, tested by me on an nrf52.

The issue is, later of add the Kconfig necessary (copying the same as nrf52840 of my last project) i get this error when the code enter on filter_match.

This is the line 800 of buf.c

Debugging output is this:

Searching that line 46 on my assert.c:

What i can do to solve it??

Thank you,

regards.

Parents
  • Hi 

    A common problem with the nRF5340 is to forget to configure the network core correctly, since the Bluetooth stack is split between the application and network cores. 

    Can you share the config files you use for the application and network cores?
    Normally the network core configuration is stored in the child_image/hci_rpmsg.conf file. 

    Also, could you share the zephyr.map file with me?
    These kind of fatal errors are often caused by a stack overflow in a thread, and the map file should show which thread the error is related to. 

    Best regards
    Torbjørn

  • Hi, I am not sure of what is the way to configure network core properly, i use child image of hr_coded because of that supports long range. Could you share a link of tutorial for how to custom this child image?

    And for configure other parameters i am used to use Kconfig. But i am desiring learn whats is the correct way to do it

    I will update the files that you ask for on a couple of days.

    Thank you for the support,

    regards.

  • Exactly that main with the Kconfig displayed before is working on nrf52840 nut no on nrf5340

  • Hi

    Just a quick update from my end: I am working to reproduce your issues, but I have encountered some issues on my end as well so progress has been slow. I will try to provide an update later this week. 

    Best regards
    Torbjørn

  • Thanks for the patience Slight smile

    If there have been any developments on your end, please let me know. 

  • Hi again

    Sorry for the slow response, it has been very busy here lately. 

    I ported your main file into an existing sample, and I was able to run it. I don't appear to get the error you mentioned, you can see my log output below:

    Are you still having issues to run the project? 

    If so, can you zip and send me the entire project folder, including the source and .conf files?

    Best regards
    Torbjørn

Reply
  • Hi again

    Sorry for the slow response, it has been very busy here lately. 

    I ported your main file into an existing sample, and I was able to run it. I don't appear to get the error you mentioned, you can see my log output below:

    Are you still having issues to run the project? 

    If so, can you zip and send me the entire project folder, including the source and .conf files?

    Best regards
    Torbjørn

Children
No Data
Related