<?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>Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15066/hard-fault-in-nrf51422-using-softdevice-310-sdk9-0</link><description>100835_Rev1.PDF SRU532.pdf n5_starterkit.h 
 main.c 
 Hi,
i am currently working on the Nrf51422 chip with s310 softdevice . The problem i am facing is that when i dump the application code with s310 soft device i have seen the indication of ANT+ broadcasting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jul 2016 09:19:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15066/hard-fault-in-nrf51422-using-softdevice-310-sdk9-0" /><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57520?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2016 09:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0e30ae5-74a7-43e0-a695-1d3d0c781930</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Have you followed the &lt;a href="https://devzone.nordicsemi.com/tutorials/25/"&gt;PCB design guidelines&lt;/a&gt; for the nRF51?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57521?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2016 14:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0ff4cfe-74be-4ba3-aad6-a21fc86b2b06</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;I have tried to make the  32 KHZ Crystal guaranteed after every power cycle by adding delay but it is not working can you suggest how i should make it operation perfect ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57519?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 15:29:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03def185-5516-44b0-a3e5-7cb4ebcd3fd3</guid><dc:creator>Harrison Chin</dc:creator><description>&lt;p&gt;No, ANT requires +/-50PPM or better for its coexistence mechanisms to function properly. Using the internal oscillator will result in degraded RF performance (timeslots will not align within tolerance), and it will not properly coexist with other ANT transmitters (out of spec timeslot adaptation).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57518?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 14:43:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd7e645c-e9d4-438a-9386-a7aa715756ad</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;yes it is
&lt;a href="http://datasheet.octopart.com/ABS07-32.768KHZ-T-Abracon-datasheet-8326266.pdf"&gt;datasheet.octopart.com/ABS07-32.768KHZ-T-Abracon-datasheet-8326266.pdf&lt;/a&gt;
plz chk the link&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57517?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 14:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0754542b-9f43-457c-b025-ed2b87a4d90e</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;hi&lt;br /&gt;
now in the new board both ANT and BLE start working  but the problem i am facing still with the  32khz external crystal the system is not working at all with external crystal i have changed it to 32KHZ internal
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION, NULL);
this is resolution i have used is it going to work properly plz suggest .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57516?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 14:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dadc7614-7e48-4c24-a4f6-4a1b0e3c3e53</guid><dc:creator>Harrison Chin</dc:creator><description>&lt;p&gt;My apologies, I just noticed your main.c hiding on my screen. Is the crystal +/-20PPM? NRF_CLOCK_LFCLKSRC_XTAL_20_PPM is what&amp;#39;s configured here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57515?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 05:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20ff80c7-21f5-4bc2-9e0f-60d7f692b86d</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;Plz find the attachment of the schematic for the ANT+/BLE module we are using . The external crystal of 32khz is there and it is working fine&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57514?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 17:13:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3514331-df7f-4831-830b-d2f4d38325f1</guid><dc:creator>Harrison Chin</dc:creator><description>&lt;p&gt;That module may have one onboard after some additional research; you should try initializing the SoftDevice using the external crystal configuration parameters instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57500?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 16:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d960ca4a-e042-408b-acd4-8fec5bc0c392</guid><dc:creator>Harrison Chin</dc:creator><description>&lt;p&gt;Sorry to butt in, but according to the datasheet, that module does not have a 32.768kHz crystal on board. Do you have an external one connected? ANT requires a tolerance of +/- 50ppm or better for proper operation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57513?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 14:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96e7e7fc-65ae-455f-8705-4c291ae6145b</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;Hi,
the BLE start working after adding the 32mhz crystal code but ANT+ is still not working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57511?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 13:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70686062-ecc8-42b8-a3f6-1721a0594eb5</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;i have attached the module data sheet i am using plz chk the same&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57510?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 13:30:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73295607-d35a-4e0b-8059-75db61823261</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The nRF51 will default to 16 MHz crystal, so you need to specify in the application that you are using a 32 MHz crystal, please see &lt;a href="https://devzone.nordicsemi.com/question/33972/use-external-32mhz-crystal/"&gt;this&lt;/a&gt; question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57512?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 13:26:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8649d3f1-3e14-4616-b10c-ea5a86aa568a</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;Plz  chk the screen shot attached  regarding the setting of the project and let me know your answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57509?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 12:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0399c0ee-3c14-40a0-ad2e-d0a2c9f5adff</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;without any change the s310 soft-device working fine with the nRF51422_XXAA device with 16MHZ and 32khz crystal and both the communication ANT+ and BLE working fine . But when i used the same project with device nRF51422_XXAC with 32MHZ and 32khz crystal non of the WL communication working i have tried with the S210 device with simple ANT+ Tx project that also not working . But all the prepherla example without soft-device working like Blinky blank,USART application etc  . And Regarding break point when i run the application in debug mode and i have not able to see the Tx and Rx buffer update used in WL communication i have stopped the debug and found the pointer is in the SVC location.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57508?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 11:40:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f33969b-f40e-445e-a0ec-1f4e87016757</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You cannot step/run over a breakpoint when the SoftDevice is enabled. See &lt;a href="https://devzone.nordicsemi.com/question/81/how-can-i-debug-a-softdevice-application/"&gt;this&lt;/a&gt; for more information. Have you tried one of the unmodifed BLE examples from our SDK? Is it working?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57506?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 13:14:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a59bc94e-e76d-49f5-ba91-1be81fe699a9</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;The LED operation working fine without any issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57505?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 13:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73933e54-f36e-494e-960a-109cc78a9876</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;I have found one thing the device i am using is nRF54122-xx-AC  but the set up i have done in the keil is nRF54122_XX_AA  i have changed the same but still i am stuck in the function ant_and_adv_start[] with the SVC . One thing just i want to ask can i use the N5DK1 driver file for the device nRF51422_xx_AC which is actual for AA?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57502?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 07:52:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b036e4f2-8d32-477c-b7d5-0f8665bfc3a5</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;I have attached the main.c file and staterkit.h file plz review the same and let me know your answer The complete laser mark on the IC    N51422-QFACA1-1511AF&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57504?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 07:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fce5f25-4d16-4b6a-8c0d-659f36b82639</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;i have tried to upload the file not getting done i will try once more. yes the code execution reaching to the  ant_and_adv_start() but when i tried to debug this function the debug line go the Hard fault or some time SVC with PC  showing vale 0xffffff like value&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57507?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 05:44:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a401f78-57f2-4f34-b7ab-b2eeff191581</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I recommend to start of by getting examples\peripheral\blinky to work, then move over to a BLE example, then to a BLE+ANT example. What are the complete laser markings on the nRF51422 chip? You didn&amp;#39;t upload any project, edit your question and add it there. When you use the debugger, are you getting to ant_and_adv_start()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57503?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 15:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87b3ad73-a2c4-4a8c-8f3d-82e997ef1b46</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;Dear Sir,
i am using the Multiprotcol example using s310 soft-device i have tried with other application using s210 soft-device and ANT Tx and Rx example but they are all not working. I have done the modification in the LED configuration and USART configuration to match my H/W i am attaching here the project file plz review the same and let me know you thought. The code is not compiling properly and always stuck in the Hard-fault.&lt;/p&gt;
&lt;p&gt;Dear Sir,
i am using the Multiprotcol example using s310 soft-device i have tried with other application using s210 soft-device and ANT Tx and Rx example but they are all not working. I have done the modification in the LED configuration and USART configuration to match my H/W i am attaching here the project file plz review the same and let me know you thought. The code is not compiling properly and always stuck in the Hard-fault.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hard fault in nrf51422 using softdevice 310(SDK9.0)</title><link>https://devzone.nordicsemi.com/thread/57501?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 14:33:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8db7f33b-f777-4a06-8584-88ad90ed27cd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What example are you using? Have you tried any other only BLE or only ANT examples? Are they working? Could you upload your complete project so I can test it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>