<?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>Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112748/trying-to-connect-nrf52833-with-bg95-via-ppp-and-creating-a-socket-to-ping-google-com</link><description>I am trying to ping google.com using PPP connection using BG95 interfaced with nrf52833. I have used the gsm_modem sample code for PPP connection and when &amp;quot;Network connected&amp;quot; event occurs, creating a socket connection for http request. But when connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jul 2024 13:29:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112748/trying-to-connect-nrf52833-with-bg95-via-ppp-and-creating-a-socket-to-ping-google-com" /><item><title>RE: Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/thread/493445?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 13:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9c7b39b-5780-4572-92b8-b892a5e46ae9</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="pulkit"]I have configured by setting both&amp;nbsp;&lt;span&gt;NRF_MODEM_LIB and AT_MONITOR to &amp;quot;y&amp;quot;. And again&amp;nbsp;it shows dependency on other configuration.&lt;/span&gt;[/quote]
&lt;p&gt;Did you continue to implement the dependencies that were required? You can use&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html&lt;/a&gt;&amp;nbsp;to help you finding dependencies&lt;/p&gt;
&lt;p&gt;Did it work despite of the warnings? What did you see?&lt;/p&gt;
&lt;p&gt;Kind regards;&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/thread/493443?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 13:24:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c509b267-910d-4775-bedc-ec26434003f3</guid><dc:creator>pulkit</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;I have added below config in prj.conf, It is showing warning on compile time.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_PDN_DEFAULTS_OVERRIDE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_PDN=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-from-2024_2D00_07_2D00_11-18_2D00_50_2D00_34.png" /&gt;&lt;/p&gt;
&lt;p&gt;It shows PDN dependency on&amp;nbsp;NRF_MODEM_LIB and AT_MONITOR as they are by default set to &amp;quot;n&amp;quot;.&lt;br /&gt;I have configured by setting both&amp;nbsp;&lt;span&gt;NRF_MODEM_LIB and AT_MONITOR to &amp;quot;y&amp;quot;. And again&amp;nbsp;it shows dependency on other configuration.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/thread/493315?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 08:08:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed65ccee-161e-4539-b9ed-c6826a5c417b</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To my understanding the following the following resources should contain what you need:&lt;/p&gt;
&lt;p&gt;To configure the username and password for the SIM card along with the APN name for PPP, you can use the Kconfig settings provided by the PDN library.&lt;/p&gt;
&lt;p&gt;Here are the relevant Kconfig options:&lt;/p&gt;
&lt;p&gt;- `CONFIG_PDN_DEFAULTS_OVERRIDE`: This option is used to override the default PDP context configuration. Set this option to `y` to override the default PDP context configuration. &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/pdn.html#configuration"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/pdn.html#configuration&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- `CONFIG_PDN_DEFAULT_APN`: This option is used for manual configuration of the APN. For example, you can set it as `apn.example.com`. &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/http_server/README.html#overview"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/http_server/README.html#overview&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- `CONFIG_PDN_DEFAULT_USERNAME` and `CONFIG_PDN_DEFAULT_PASSWORD`: These options are used to set the authentication credentials. &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/pdn.html#configuration"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/pdn.html#configuration&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that the default PDP context configuration must be overridden before the device is registered with the network.&lt;/p&gt;
&lt;p&gt;For GSM modem support, you can use the following Kconfig options:&lt;/p&gt;
&lt;p&gt;- `CONFIG_MODEM_GSM_PPP`: This option enables GSM PPP support. &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98170/mqtt-with-gsm-ppp-and-tls"&gt;MQTT With GSM PPP and TLS&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- `CONFIG_MODEM_GSM_APN`: This option is used to set the APN for the GSM modem. &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98170/mqtt-with-gsm-ppp-and-tls"&gt;MQTT With GSM PPP and TLS&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please refer to the respective documentation for more details on how to use these options.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/thread/493235?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 17:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db5a23cd-2729-4a5c-8565-bbf513e470d4</guid><dc:creator>pulkit</dc:creator><description>&lt;p&gt;Thanks for the support,&lt;/p&gt;
&lt;p&gt;I want to ask one more question, How can we configure the username and password(for sim card) along with the APN name for PPP.&lt;br /&gt;Like&amp;nbsp;if we need to set APN name,&amp;nbsp;we can change that using CONFIG_MODEM_GSM_APN.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/thread/492369?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 07:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b565e72-f434-479b-baf8-6856d5fc2536</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Thank you for providing this.&lt;/p&gt;
&lt;p&gt;Can you follow the steps in the debugging lesson I sent you to trace back to which thread and which function calls it is that triggers the MPU fault? Another thought is that you&amp;#39;re trying to access something that is outside of the legal memory address range (i.e physical access range).&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/thread/492358?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 06:14:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1974193c-60eb-4bf1-ae88-2b23a12581ae</guid><dc:creator>pulkit</dc:creator><description>&lt;p&gt;I am using this prj.conf file. I have also attached the project folder zip file &amp;quot;kodiak-fw.zip&amp;quot;. You can check that also.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/04162.prj.conf"&gt;devzone.nordicsemi.com/.../04162.prj.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here are the device logs&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-from-2024_2D00_07_2D00_05-11_2D00_39_2D00_33.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/thread/492279?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 13:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f006a4a-3ca0-4bca-8174-ebcabfcc6666</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Noted, thank you for checking&lt;br /&gt;&lt;br /&gt;Please attach your prj.conf as well as the device log and I&amp;#39;ll have a look&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/thread/492263?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 12:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24e62c1a-13c2-454e-975a-ea55de4c5750</guid><dc:creator>pulkit</dc:creator><description>&lt;p&gt;Even after increasing the size to 8192 and 16384, still the error is same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com</title><link>https://devzone.nordicsemi.com/thread/492257?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 12:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e87740ca-d5c0-4f32-8e7c-0330211dcdc4</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you increase your stack sizes? As the Error suggests in the image you attached, &amp;quot;Stack overflow on CPU 0&amp;quot; means that the stack size is too small. Try with 8192 or 16384 (whatever you can spare on the nRF52833).&lt;/p&gt;
&lt;p&gt;I would also recommend that you have a look at this lesson in the intermediate course for some tips and tricks for debugging:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>