<?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>how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48942/how-to-develop-uart-boot-not-use-ble-use-51822-sdk12-3</link><description>hi .eveyone. i use 51822 sdk12.3.0 , i want to dfu app code with uart, but not use bootloader_secure and experimental_ble_app_buttonless_dfu. i do not know how to develop. 
 have some sample code to provide ,please?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jun 2019 02:00:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48942/how-to-develop-uart-boot-not-use-ble-use-51822-sdk12-3" /><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/195239?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 02:00:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25251d11-3cb9-464b-88c8-f15f3133cd70</guid><dc:creator>aatt05</dc:creator><description>&lt;p&gt;OK. Thanks.. optimization have disable. thanks very much. I consider how to do .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/195046?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 08:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a578f01-837a-40c8-905a-a521b689f74d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Sorry. I can&amp;#39;t. It is not something that is done in one hour. If you want a serial bootloader you either need to go to SDK13.0.0, which means that you need to use nRF52, or you need to backport it to SDK12.3.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Why do you use nrfgostudio? I suggest that you use nrfgostudio only to erase the nRF51, and then program and debug using Keil. Did you disable optimization in your project?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="xiongfengji"]but not set breakpoint....[/quote]
&lt;p&gt;&amp;nbsp;This is probably because you have optimization enabled.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/195030?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 07:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b392248-5114-4d1e-90ad-6eaddcb3c977</guid><dc:creator>aatt05</dc:creator><description>&lt;p&gt;hi. step2. i try burn boot. not merge with (nrfgosutido) . i sure code run in boot. because keil asm &amp;nbsp;address is boot adreess, and phone can link dfutarg. but not set breakpoint....&lt;/p&gt;
&lt;p&gt;i do this is for debug uart boot. but i find that transport uart boot from sdk13 to sdk12.3 for 51822 is too hard. many need to change ,and not sure is ok !! could you write this sample code fo me ,please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/195003?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 06:42:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02045e5a-50e6-4c21-843e-7066b31edaf7</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;[quote user="xiongfengji"][/quote]&lt;/p&gt;
&lt;p&gt;1. burn softdevice&amp;nbsp;s130_nrf51_2.0.1_softdevice&lt;/p&gt;
&lt;p&gt;2. urfutil &amp;nbsp;make setting.hex and merge &amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;pca10028_debug boot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. debug&amp;nbsp;pca10028_debug&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;in step 2: What do you merge? And is it the bootloader you are trying to debug, or an application? And how do you create your settings? With what application?&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t need to create settings.hex, or merge anything to debug in the bootloader. Just flash the bootloader debug project and debug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/194985?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 04:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:868a1a5c-df78-4382-b92b-f8a47ebc3556</guid><dc:creator>aatt05</dc:creator><description>&lt;p&gt;now. i can asm ,it is in boot run. and phone can link dfutarg. why in c code can not set breakpoint ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/194981?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 03:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b28e23d-e489-4448-b177-892b33c0a58e</guid><dc:creator>aatt05</dc:creator><description>&lt;p&gt;i am unluckly. debug&amp;nbsp;pca10028_debug is same problem..&amp;nbsp;&lt;/p&gt;
&lt;p&gt;my step:&lt;/p&gt;
&lt;p&gt;1. burn softdevice&amp;nbsp;s130_nrf51_2.0.1_softdevice&lt;/p&gt;
&lt;p&gt;2. urfutil &amp;nbsp;make setting.hex and merge &amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;pca10028_debug boot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. debug&amp;nbsp;pca10028_debug&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but can not debug..&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0624.1.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5327.2.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0121.4.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8547.5.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3364.3.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/194844?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 10:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:728cce11-7fab-4f6c-a40d-5f1af6c25ec4</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Optimization may lead to strange things while debugging. Try to turn off optimization in your project. I don&amp;#39;t think you will be able to do that in the bootloader_secure\pca10028 project due to memory restrictions. Try to use the bootloader_secure\pca10028_debug project for development. It doesn&amp;#39;t have the same restrictions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So: Use SDK\examples\dfu\bootloader_secure\pca10028_debug\arm5_no_packs\secure_dfu_secure_dfu_ble_s130_pca10028_debug.uvprojx, and turn off optimization in your project settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/194825?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 09:32:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfc18684-927d-44e5-9c96-f41d901d8a99</guid><dc:creator>aatt05</dc:creator><description>&lt;p&gt;yes, i have use 51822 ,SDK 12.3 &amp;nbsp;download softdevice ,bootloader_secure and&amp;nbsp;experimental_ble_app_buttonless_dfu. and &amp;nbsp;phone can scan link 51822 device(Nordic_Buttonless). but i want to debug&amp;nbsp;&lt;span&gt;bootloader_secure. it can not debug. i look many way of web. but do not ok.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7652.2.png" /&gt;&amp;nbsp; i think debug &amp;nbsp; softdevice do not go to boot.but i do not know why..&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/194759?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 07:01:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7f06678-d3a9-4d69-aa9f-36917418b7f3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Check out &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.api.v2.0.1%2Fstructsd__mbr__command__vector__table__base__set__t.html&amp;amp;resultof=%22%69%6e%74%65%72%72%75%70%74%22%20%22%76%65%63%74%6f%72%22%20%22%74%61%62%6c%65%22%20%22%74%61%62%6c%22%20" rel="noopener noreferrer" target="_blank"&gt;this function&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But the bootloader project will handle all of this for you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are not familiar with the bootloader for the nRF51, I suggest you try to run through &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader" rel="noopener noreferrer" target="_blank"&gt;this guide&lt;/a&gt; using the nRF51 using BLE before you start changing to a serial bootloader. Just to get familiar with how things work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/194747?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 04:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa8a4684-4fa3-4bab-8418-71fff044b430</guid><dc:creator>aatt05</dc:creator><description>&lt;p&gt;OH..THANKS . i will try. &amp;nbsp;i have one question. &amp;nbsp;have datasheet about 51822 startup&amp;nbsp;&lt;span&gt; process and&amp;nbsp; how to&amp;nbsp;Interrupt vector mapping? i want only use&amp;nbsp;softdevice and app. &amp;nbsp;and my app include my boot and my app code. so have some datasheet about these?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to develop uart boot not use ble use 51822 sdk12.3</title><link>https://devzone.nordicsemi.com/thread/194611?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 10:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8ae7184-7c9c-44ba-b8b3-843330a8234b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Unfortunately, we don&amp;#39;t have any serial bootloaders in SDK12.3.0.&lt;/p&gt;
&lt;p&gt;We do have an experimental serial bootloader in SDK13.0.0, but as you may know, the nRF51 is not supported in this SDK. What you can do is to try to port back the serial transfer layer from SDK13.0.0 to SDK12.3.0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you look in SDK13.0.0 -&amp;gt;nrf_dfu_transport.c, you will see the nrf_dfu_transports_init(). It will run the init function declared in&amp;nbsp;DFU_TRANSPORT_REGISTER() in nrf_serial_dfu.c&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You need to do the same in SDK12.3.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nrf_dfu_transports_init() will run the init function declared in DFU_TRANSPORT_REGISTER() in nrf_ble_dfu.c. Change this to the serial implementation from SDK13.0.0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>