<?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>Problem with custom signed images and mcuboot swap</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94219/problem-with-custom-signed-images-and-mcuboot-swap</link><description>Hi, 
 We are using a custom board with nrf52840 and just started using our own generated keys to sign images with NRF SDK v1.9.1. 
 We ran into issues when trying to swap images using mcuboot with our generated keys. 
 When using the default keys everything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Dec 2022 10:25:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94219/problem-with-custom-signed-images-and-mcuboot-swap" /><item><title>RE: Problem with custom signed images and mcuboot swap</title><link>https://devzone.nordicsemi.com/thread/398505?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2022 10:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9fd21ab-1379-4942-a2e6-4ceecaa4bfe2</guid><dc:creator>Oscar Nilsson</dc:creator><description>&lt;p&gt;Hi, we found the issue. There was a difference in CONFIG_MAIN_STACK_SIZE between our boards. This caused unpredictable behaviour resulting in a static varible being overwritten and mcuboot getting stuck in a infinite loop. Increasing the stack size in mcuboot.conf for the faulty board resolved the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with custom signed images and mcuboot swap</title><link>https://devzone.nordicsemi.com/thread/397504?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2022 17:33:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46c398b5-85ab-435e-97cd-563eeaf46873</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Check if fixing this&amp;nbsp;regression helps.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/43895/files"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/43895/files&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with custom signed images and mcuboot swap</title><link>https://devzone.nordicsemi.com/thread/397488?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2022 15:33:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f46bd76-ada8-4504-b585-aff850f3f15a</guid><dc:creator>Oscar Nilsson</dc:creator><description>&lt;p&gt;It&amp;#39;s completely different boards with different functionally, but both use the NRF52840. My point was that it&amp;#39;s using the same processor, same SDK and same flash memory.&lt;/p&gt;
&lt;p&gt;We have done some debugging during the day using breakpoints in MCUBOOT, and have found that mcuboot is stuck in anomaly_122_uninit, while loop nrfx_qspi_mem_busy_check and never exits from there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with custom signed images and mcuboot swap</title><link>https://devzone.nordicsemi.com/thread/397441?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2022 13:19:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e16c86bb-c6ac-4ac5-9871-b968d97f4176</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]We have another custom board that is using NRF52840 with the exact same flash which works with our own generated keys, also built using the same SDK with mcuboot_secondary on external flash aswell.[/quote]
&lt;p&gt;So you have 2 custom boards, and you are seeing this issue only on 1 board? correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>