<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Civetweb crashes on NRF91 when larger website is requested.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78508/civetweb-crashes-on-nrf91-when-larger-website-is-requested</link><description>Hello, 
 I am currently working on an IIoT product using Zephyr and NRF SDK v1.5.1-2-g76c027893 on the NRF9160 and a WFM200 wifi chip. For this project we are using Civetweb as a webserver serving a website of about 600KB in size. 
 When this website</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Aug 2021 11:59:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78508/civetweb-crashes-on-nrf91-when-larger-website-is-requested" /><item><title>RE: Civetweb crashes on NRF91 when larger website is requested.</title><link>https://devzone.nordicsemi.com/thread/325103?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 11:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:942a5d41-94b2-47e3-9d5e-ffbedb13d3f5</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For the packet allocation, try adjusting the following configs:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NET_BUF_RX_COUNT
CONFIG_NET_BUF_TX_COUNT
CONFIG_NET_PKT_RX_COUNT
CONFIG_NET_PKT_TX_COUNT&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;As for the bus fault, the instruction that crashes doesn&amp;#39;t make much sense -&amp;nbsp;the pkt_alloc shall only proceed with the memory got allocated correctly. The actual crash might be just a result of some memory corruption caused by a different module, but it&amp;#39;s hard to tell&amp;nbsp;without a&amp;nbsp;debugger.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We&amp;#39;ll need some more information about your setup since the actual crash seems to be related to the WiFi interface you&amp;#39;re using. What driver are you using?&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have any native WiFi drivers in the tree, they&amp;#39;re all offloaded for now, and offloaded sockets don&amp;#39;t use net_pkt.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>