<?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>beacon firmware flash struggles</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13435/beacon-firmware-flash-struggles</link><description>So I bought a &amp;quot;social retail&amp;quot; beacon device that claims to have 300foot range. After getting it I realized it uses the &amp;quot;iBeacon&amp;quot; standard, which is not compatible with my Android phone/apps. I took the board and and saw it has a nRF51822 chip with markings</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Apr 2016 04:59:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13435/beacon-firmware-flash-struggles" /><item><title>RE: beacon firmware flash struggles</title><link>https://devzone.nordicsemi.com/thread/51290?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 04:59:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bc2004a-76ba-436f-bc82-c26dfc7306ec</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Yes, the beacon kit has a xxAA chip (256k flash), while my chip is a xxAB (128k flash). Both are 16k RAM.  If I understand the compatibility matrix properly, I need to set&lt;/p&gt;
&lt;p&gt;IRAM base - 0x20002800
IRAM size(16 kB RAM) - 0x1800&lt;/p&gt;
&lt;p&gt;IROM base - 0x1C000
IROM size(128 kB Flash) - 0x4000&lt;/p&gt;
&lt;p&gt;So I installed the SDK and Keil DK and opened the ble_app_beacon. Under &amp;quot;project-&amp;gt;options&amp;quot; I selected &amp;quot;nRF51822_xxAB&amp;quot; as the device, changed the xtal to 16Mhz, and set the IROM1 and IRAM1 to the above values. I got the hex file out and programed my device, but no beacon :(&lt;/p&gt;
&lt;p&gt;I did notice that the default keil setup for the &amp;quot;ble_app_beacon&amp;quot; is&lt;/p&gt;
&lt;p&gt;IROM start: 0x0
IROM size: 0x20000
IRAM1 start: 0x0000000
IRAM1 size: 0x4000&lt;/p&gt;
&lt;p&gt;I assume those are incorrect, but an interesting artifact is the LED now comes on when I program the board with those settings. Perhaps this is just an anomaly.&lt;/p&gt;
&lt;p&gt;Thanks everyone for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: beacon firmware flash struggles</title><link>https://devzone.nordicsemi.com/thread/51289?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2016 07:35:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ed68851-d6c3-4466-922b-5637cc448d24</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Different chips have different memory configurations, likely the QFAB chip you describe is not the same chip type that the beacon kit was designed for. Consult the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51822_ic_revision_overview.html?cp=2_0_1"&gt;compatibility matrix&lt;/a&gt; to figure out which chip you have, and what RAM and ROM sizes it has.&lt;/p&gt;
&lt;p&gt;You will have to make some alterations to the IRAM and IROM settings to make everything work correctly. Some common values are shown at the bottom of &lt;a href="https://devzone.nordicsemi.com/blogs/723/rom-and-ram-management/"&gt;this blogpost&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: beacon firmware flash struggles</title><link>https://devzone.nordicsemi.com/thread/51288?ContentTypeID=1</link><pubDate>Sun, 24 Apr 2016 17:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a5c412d-6eec-40af-a8da-0315b1c5d65c</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;There is a footprint for the 32k crystal, but it&amp;#39;s not populated. I figured it was for a real time clock circuit and not critical to the firmware running correctly, but that could be a big assumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: beacon firmware flash struggles</title><link>https://devzone.nordicsemi.com/thread/51286?ContentTypeID=1</link><pubDate>Sun, 24 Apr 2016 17:26:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e2ade99-b30b-4ca0-802d-1dbdd4a41ed9</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Thanks for the reminders. Always good to cover all debugging bases. Before I re-flashed the device, I saw it as a &amp;quot;bluetooth&amp;quot; device in a regular scan, so it used to transmit. I have Android 6.0.1, and I can still view my nRF51288/pca20006 beacon. I also see my nRF app detect my wife&amp;#39;s fitbit charge HR, which I&amp;#39;m pretty sure is ble/smart.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: beacon firmware flash struggles</title><link>https://devzone.nordicsemi.com/thread/51287?ContentTypeID=1</link><pubDate>Sun, 24 Apr 2016 15:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f415898b-2f95-416e-9222-56026bd1f127</guid><dc:creator>H. Carl Ott</dc:creator><description>&lt;p&gt;Confirm your retasked hardware also has a 32khz crystal in addition to the 16mhz.&lt;/p&gt;
&lt;p&gt;You should also double check the compatibility matrix for the code you are uploading for that ver IC. QFABCO&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: beacon firmware flash struggles</title><link>https://devzone.nordicsemi.com/thread/51285?ContentTypeID=1</link><pubDate>Sun, 24 Apr 2016 07:54:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d168b1fd-a232-40a3-8246-21d284cda67b</guid><dc:creator>RichieJH</dc:creator><description>&lt;p&gt;Hi Michael, at the heart of it, &amp;quot;iBeacon&amp;quot; is still Bluetooth Smart so any BLE Sniffer on Android should be able to pick it up.  Without wanting to state the obvious, but these are important to check: Is the beacon actually transmitting (i.e., not broken)? Is your Android able to pick up other Bluetooth Smart devices.  Some Android smartphones on a later version of Android can have their BLE stack freeze under constant scanning and only work on rebooting the phone.  I know you say your Nordic app has worked fine with other beacons, but is it fine now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>