<?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>Change DFU start address and application start address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4565/change-dfu-start-address-and-application-start-address</link><description>I changed the dfu start address to 0x00 and application start address to 0x8000.
The application use the RTC0 IRQ to count the timer,
but the RTC0 IRQ did not work correct(if the start application address is 0x00,the IRQ is work).
Are there other config</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Nov 2014 01:50:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4565/change-dfu-start-address-and-application-start-address" /><item><title>RE: Change DFU start address and application start address</title><link>https://devzone.nordicsemi.com/thread/16184?ContentTypeID=1</link><pubDate>Wed, 26 Nov 2014 01:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df4638e2-cade-4741-9439-84381ab04ac0</guid><dc:creator>Kadi Chang</dc:creator><description>&lt;p&gt;The cortex_m0&amp;#39;s Interrupt Vector Table is always fix in the 0x0000,cortex_m3 can change the vector table offset.
I will try to modify the boot interrupt function to handle the app interrupt function call.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change DFU start address and application start address</title><link>https://devzone.nordicsemi.com/thread/16183?ContentTypeID=1</link><pubDate>Wed, 26 Nov 2014 00:21:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4daaac6-38fa-47d9-9210-5c281c18aa2c</guid><dc:creator>Kadi Chang</dc:creator><description>&lt;p&gt;I used the nRF51422(not use the RF part) for the small device,the device need to update the application by the customer.
So,I try to divide  the 51422 for two part:
1.bootlader,address 0x0000,base on DFU;
2.Application,address 0x8000,for normal work,like Led and LCM display;
Our other device use the STM32,STM32 is work very good.
I try to do the same in the 51422,but it not work good as STM32.
I am know well in the IAR,but i switch the project to IAR,the application still not work.
The application may has associate with the start address,if I change the application from 0x8000 to 0x0000,the RTC0 IRQ is work.
Could you try to modify the RTC_example from 0x8000?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change DFU start address and application start address</title><link>https://devzone.nordicsemi.com/thread/16182?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2014 15:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d485912d-be3f-40b6-98eb-29a5dfc0b756</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I am still quite puzzled about what you are trying to achieve. If you want to make an RTC IRQ work, then there is an example for that in the rtc_example in the nRF51 SDK and e.g. &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples/tree/master/rtc0-triggering-adc-sample"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change DFU start address and application start address</title><link>https://devzone.nordicsemi.com/thread/16181?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2014 00:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8462184b-ad22-4cae-890f-5f221e2a5b32</guid><dc:creator>Kadi Chang</dc:creator><description>&lt;p&gt;Hi
I had modify the dfu_types.h and keil,it still not correct.
I check the RTC0 &amp;#39;s register, it has correct interrupt event,
but the main loop did not jump to RTC0 IRQ.
I also check the map file from keil,the RTC0 IRQ is local in the correct address(after the 0x8000)&lt;/p&gt;
&lt;p&gt;Map file info
startup_arm_nrf51.o(RESET) refers to nrf51_it.o(i.RTC0_IRQHandler) for RTC0_IRQHandler&lt;/p&gt;
&lt;p&gt;i.RTC0_IRQHandler                        0x00008184   Section        0  nrf51_it.o(i.RTC0_IRQHandler)&lt;/p&gt;
&lt;p&gt;RTC0_IRQHandler                          0x00008185   Thumb Code    34  nrf51_it.o(i.RTC0_IRQHandler)&lt;/p&gt;
&lt;p&gt;0x00008184   0x0000002c   Code   RO          254    i.RTC0_IRQHandler   nrf51_it.o&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change DFU start address and application start address</title><link>https://devzone.nordicsemi.com/thread/16180?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2014 14:23:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c2f3520-a763-4d25-a530-5868edb98040</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am not exactly sure what you are trying to do but you can change the start address for the bootloader by modifying the BOOTLOADER_REGION_START constant in dfu_types.h file in the bootloader project in the nRF51 SDK. You should also modify the IROM Start and Size addresses accordingly in KEIL -&amp;gt;Options for Target -&amp;gt; Target&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>