<?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>Manually writing firmware images to mcuboot slots - how to access the flags and meta information?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112454/manually-writing-firmware-images-to-mcuboot-slots---how-to-access-the-flags-and-meta-information</link><description>Hi, I need a little help with mcuboot. 
 We want to transfer firmware updates via CAN (MCP2515), which is already implemented. Was we are short of time, and we want to integrate the update process into our existing CAN based service software, we didn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Jun 2024 07:00:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112454/manually-writing-firmware-images-to-mcuboot-slots---how-to-access-the-flags-and-meta-information" /><item><title>RE: Manually writing firmware images to mcuboot slots - how to access the flags and meta information?</title><link>https://devzone.nordicsemi.com/thread/490998?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 07:00:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ae36ff9-98cb-46be-a936-eedf80a813d3</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;Here are the comments to the two previous questions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Can update both at the same time but netcore is unrevertable(current implementation will copy garbage from RAM into network core if you enable it).&lt;/li&gt;
&lt;li&gt;It won&amp;#39;t be automatically recognized, you could do mcuboot_primary_1 and mcuboot_secondary_1 and have number of images 3 but support is a bit hard coded so a few new defines needs to be made.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Good luck to your development. Just let me know if you need more help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manually writing firmware images to mcuboot slots - how to access the flags and meta information?</title><link>https://devzone.nordicsemi.com/thread/490831?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 09:50:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88c1bb10-5cc2-40a7-97fa-a36792b05959</guid><dc:creator>puz_md</dc:creator><description>&lt;p&gt;Hi Charlie&lt;/p&gt;
&lt;p&gt;Thanks for the links&lt;/p&gt;
[quote userid="93921" url="~/f/nordic-q-a/112454/manually-writing-firmware-images-to-mcuboot-slots---how-to-access-the-flags-and-meta-information/490828"]These two are complicated. I will do more investigation and come back to you later.[/quote]
&lt;p&gt;For now, it would be sufficient to know how I have to create my pm_static (and probably NET core partitioning) to be able to add OTA DFU in the future.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manually writing firmware images to mcuboot slots - how to access the flags and meta information?</title><link>https://devzone.nordicsemi.com/thread/490828?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 09:46:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baed6d11-4a6b-4254-b61f-8ca30f16538f</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;You can find the following discussion for a similar&amp;nbsp;request to do DFU via SPI.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/109637/hardware-spi-dfu-from-one-nrf52840-to-another-nrf52840"&gt;Hardware SPI DFU from one nRF52840 to another nRF52840. - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Most of the specifics you ask about is here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/mcuboot/design.html"&gt;Bootloader (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
[quote user=""]&lt;ul&gt;&lt;li&gt;I have read that it is possible to update both NET core and APP core at the same time (using two update slots), reverting both images if either of them fails (which is important when performing updates via Bluetooth/OTA). Do I have to manually set up the dependency of the image pair? How do I do it?&lt;/li&gt;
&lt;li&gt;(Update) How can I create a third slot (beside mcuboot_primary and mcuboot_secondary) for the NET core update? I couldn&amp;#39;t find a CONFIG_* option. Can I just manually reserve some space for the third slot in pm_static.yml? Will it be automatically recognized by mcuboot if I call it mcuboot_tertiary or so?&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;These two are complicated. I will do more investigation and come back to you later.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>