<?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>trouble with nrf9160 modem firmware in a virgin chip 9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91637/trouble-with-nrf9160-modem-firmware-in-a-virgin-chip-9160</link><description>hello, I made a custom board that mounts a virgin nrf9160; its programming takes place via a tag connected to the segger programmer. I tried copying a whole chip with JFlash from a motato 9160 to a thingy91 and then flashing to the new one. It seems to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Sep 2022 06:33:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91637/trouble-with-nrf9160-modem-firmware-in-a-virgin-chip-9160" /><item><title>RE: trouble with nrf9160 modem firmware in a virgin chip 9160</title><link>https://devzone.nordicsemi.com/thread/385425?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 06:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fae89505-2347-4acf-bedb-75c3d8fac6a1</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;No problem at all,&lt;/p&gt;
&lt;p&gt;Let me know how it works out.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble with nrf9160 modem firmware in a virgin chip 9160</title><link>https://devzone.nordicsemi.com/thread/385363?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 15:37:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fd9ec57-5fcf-4cf9-8a5d-21881004f432</guid><dc:creator>babos</dc:creator><description>&lt;p&gt;hello,&lt;br /&gt;i managed to insert modem firmware 1.3.2, via nrf connect with jlink programmer, following your suggestion.&lt;br /&gt;Now I can make it communicate via AT commands. Now it doesn&amp;#39;t seem to see the SIM Card; i need to check the hardware and i will let you know.&lt;br /&gt;Meanwhile, I thank you for your advice&lt;/p&gt;
&lt;p&gt;Babos&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble with nrf9160 modem firmware in a virgin chip 9160</title><link>https://devzone.nordicsemi.com/thread/385256?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 11:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30290c87-3804-4035-a424-a19f1a4a26d9</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello, sorry about the wait.&lt;/p&gt;
[quote user="babos"]I don&amp;#39;t understand if the chip already comes with the modem firmware and in any case[/quote][quote user="babos"] I have read some material around and I have learned that the firmware is inserted in the nrf9160 from the factory.[/quote]
&lt;p&gt;It doesn&amp;#39;t really. It just comes with a basic test FW from the factory, and you would have to update it yourself. You can do this using the nRF Connect Programmer on nRF Connect for Desktop for instance.&amp;nbsp;&lt;a href="https://youtu.be/rMvW3HXLErk?t=135"&gt;This video explains how its done, and the different files in the MFW zip file&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you allready manage to update the modem FW?&lt;/p&gt;
&lt;p&gt;What is the version of the nRF9160 you&amp;#39;re using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble with nrf9160 modem firmware in a virgin chip 9160</title><link>https://devzone.nordicsemi.com/thread/384850?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 16:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a7f820b-f317-4a6f-bea0-ab0655926514</guid><dc:creator>babos</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.0.99-ncs1  ***
Flash regions           Domain          Permissions
00 02 0x00000 0x18000   Secure          rwxl
03 31 0x18000 0x100000  Non-Secure      rwxl

Non-secure callable region 0 placed in flash region 2 with size 32.

SRAM region             Domain          Permissions
00 03 0x00000 0x08000   Secure          rwxl
04 31 0x08000 0x40000   Non-Secure      rwxl

Peripheral              Domain          Status
00 NRF_P0               Non-Secure      OK
01 NRF_CLOCK            Non-Secure      OK
02 NRF_RTC0             Non-Secure      OK
03 NRF_RTC1             Non-Secure      OK
04 NRF_NVMC             Non-Secure      OK
05 NRF_UARTE1           Non-Secure      OK
06 NRF_UARTE2           Secure          SKIP
07 NRF_TWIM2            Non-Secure      OK
08 NRF_SPIM3            Non-Secure      OK
09 NRF_TIMER0           Non-Secure      OK
10 NRF_TIMER1           Non-Secure      OK
11 NRF_TIMER2           Non-Secure      OK
12 NRF_SAADC            Non-Secure      OK
13 NRF_PWM0             Non-Secure      OK
14 NRF_PWM1             Non-Secure      OK
15 NRF_PWM2             Non-Secure      OK
16 NRF_PWM3             Non-Secure      OK
17 NRF_WDT              Non-Secure      OK
18 NRF_IPC              Non-Secure      OK
19 NRF_VMC              Non-Secure      OK
20 NRF_FPU              Non-Secure      OK
21 NRF_EGU0             Non-Secure      OK
22 NRF_EGU1             Non-Secure      OK
23 NRF_EGU2             Non-Secure      OK
24 NRF_EGU3             Non-Secure      OK
25 NRF_EGU4             Non-Secure      OK
26 NRF_EGU5             Non-Secure      OK
27 NRF_DPPIC            Non-Secure      OK
28 NRF_REGULATORS       Non-Secure      OK
29 NRF_PDM              Non-Secure      OK
30 NRF_I2S              Non-Secure      OK
31 NRF_GPIOTE1          Non-Secure      OK

SPM: NS image at 0x18200
SPM: NS MSP at 0x20022cb0
SPM: NS reset vector at 0x2dc95
SPM: prepare to jump to Non-Secure image.


BT300:~$ *** Booting Zephyr OS build v3.0.99-ncs1  ***

Version 1.2.7 UNIFIED TH 290822 1821 - BT300

BT300 version:       1.2.7 UNIFIED TH 290822 1821
BT300 build id:      custom
BT300 build variant: beta
Modem fw:            mfw-pti_nrf9160_1.1.2


thread_service: initialized successfully
leds: initialized successfully
PWM-based LED fade

main thread : intialized successfully
Fall thread : intialized successfully
AT+CNEC=16 failed, err 65536

Release 14 features disable AT-command error, type 1 err 0
AT+CNEC=16 failed, err 65536

BT300:~$ 


GNSS: Failed to start GNSS
start: starting GNSS failed, err -1

Main thread has started !
[00:00:01.568,481] &amp;lt;err&amp;gt; lte_lc: Failed to subscribe to CEREG notifications, error: 65536
[00:00:01.568,511] &amp;lt;err&amp;gt; lte_lc: Failed to enable notifications
[00:00:01.628,021] &amp;lt;err&amp;gt; lte_lc: Failed to subscribe to CEREG notifications, error: 65536
[00:00:01.628,021] &amp;lt;err&amp;gt; lte_lc: Failed to enable notifications, error: -14
[00:00:01.662,780] &amp;lt;err&amp;gt; nrf_modem: Modem error: 0xfff, PC: 0x0
Failed to send AT command, err -1
[STA]: A500000000000004
[STA]: A500000000000007
[STA]: A50000000000000B
[STA]: A50000000000000F
[STA]: A500000000000013
Failed to send AT command, err -1
[STA]: A500000000000017
[STA]: A50000000000001A
[STA]: A50000000000001E
[STA]: A500000000000022
[STA]: A500000000000026
Failed to send AT command, err -1
[STA]: A50000000000002A
[STA]: A50000000000002D
[STA]: A500000000000031
[STA]: A500000000000035
[STA]: A500000000000039
Failed to send AT command, err -1
[STA]: A50000000000003D
[STA]: A500000000000040
[STA]: A500000000000044
[STA]: A500000000000048
[STA]: A50000000000004C
Failed to send AT command, err -1
[STA]: A500000000000050
[STA]: A500000000000053&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;for completeness I have read some material around and I have learned that the firmware is inserted in the nrf9160 from the factory. So I just have to update it (now at revision 1.3.2.).&lt;br /&gt;I am sending you a piece of log to try to understand the errors I get from the modem I think. The application is the modem_shell for thingy91 modified for my uses, and obviously the connectivity_bridge on the 52840 side with BLE activated permanently.&lt;br /&gt;Everything works but I am not communicating with the modem. Could it be the firmware version that is old?&lt;/p&gt;
&lt;p&gt;I hope not to waste a lot of time&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;BABOS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble with nrf9160 modem firmware in a virgin chip 9160</title><link>https://devzone.nordicsemi.com/thread/384804?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 12:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8291ec6-aef4-4ca7-9080-758aec7ca325</guid><dc:creator>babos</dc:creator><description>&lt;p&gt;Hello Elfving,&lt;/p&gt;
&lt;p&gt;I will wait for some news thanks.&lt;br /&gt;I don&amp;#39;t understand if the chip already comes with the modem firmware and in any case, if I have the MODEM firmware file (eg. Xxx_1.3.2.zip) how can I inject it through the jlink SEGGER programmer? I tried to open it but there are more files ... I have no idea of the sequence and how to use it. My custom card is similar to thingy91 in serial port configuration so I should go from 52840 ... (???)&lt;br /&gt;a thousand thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trouble with nrf9160 modem firmware in a virgin chip 9160</title><link>https://devzone.nordicsemi.com/thread/384797?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 12:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8d2b64d-4400-4371-a8a1-17895b493fa1</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Silvio,&lt;/p&gt;
&lt;p&gt;I will have to get back to you on this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>