You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by Aditya Xavier <ad...@me.com> on 2018/04/17 07:48:54 UTC

Problem with starting up nRF Custom Board

Hi Team,

Am stuck at trying to install Blinky firmware on a custom nRF52832 board (not using any peripherals apart from 1 GPIO (LED_1)).

The sequence of events which am doing and the results are as follows.

1.	Connect Segger and Erase Device.
2.	Load nrf52_boot
3.	Load nrf52_blinky
4.	nRF starts blinking the LED.
5.	Restart ( remove power and reconnect power )
6.	nRF is no longer blinking the LED.

1.	Connect Segger and Erase Device
2.	Load nRF SDK Blinky
3.	nRF starts blinking the LED
4.	Restart ( remove power and reconnect power )
5.	nRF starts blinking the LED.

Am I missing something?

Thanks,
Aditya Xavier.

Re: Problem with starting up nRF Custom Board

Posted by aditi hilbert <ad...@runtime.io>.
Hi all,

FYI: We have a FAQ on the develop branch of the documentation in the Apache Mynewt. The issue below is captured there. 
We’d love to build up the FAQ. If you have an issue and resolution to add, click on the “Edit on GitHub” button at the top and contribute!

https://mynewt.apache.org/develop/mynewt_faq.html#issues-running-image-on-boot <https://mynewt.apache.org/develop/mynewt_faq.html#issues-running-image-on-boot>

thanks,
aditi


> On Apr 17, 2018, at 7:46 AM, Aditya Xavier <ad...@me.com> wrote:
> 
> That worked!
> 
> Thank you so much!
> 
> Sent from my iPhone
> 
>> On 17-Apr-2018, at 7:43 PM, Alvaro Prieto <al...@verily.com> wrote:
>> 
>> Aditya,
>> 
>> Have you tried disabling the DCDC (if you don't have the DC DC inductors)?
>> 
>> MCU_DCDC_ENABLED: 0
>> 
>> I've had problems like these that were caused by that.
>> 
>> Cheers,
>> 
>> Alvaro
>> 
>>> On Tue, Apr 17, 2018 at 7:09 AM, Aditya Xavier <ad...@me.com> wrote:
>>> 
>>> Sorry for spamming you all.
>>> 
>>> However found one curious issue.
>>> 
>>> Apache is able to boot and start Blinky, if I do Connect (Target ->
>>> Connect) from Segger.
>>> 
>>> The moment I disconnect from Segger i.e (Target -> Disconnect ), apache
>>> doesn’t work anymore.
>>> 
>>> 
>>> Thanks,
>>> Aditya Xavier.
>>> 
>>> 
>>>> On 17-Apr-2018, at 6:19 PM, Aditya Xavier <ad...@me.com> wrote:
>>>> 
>>>> Some more information for sake of clarity.
>>>> 
>>>> I used the nrf52dk in apache, nrf52_pca10040 in zephyr and pca10040 in
>>> Nordic SDK.
>>>> 
>>>> Hardware wise its very similar to nrf52dk without the Programmer part.
>>>> 
>>>> Thanks,
>>>> Aditya Xavier.
>>>> 
>>>>> On 17-Apr-2018, at 4:05 PM, Aditya Xavier <ad...@me.com> wrote:
>>>>> 
>>>>> Just tested Zephyr SDK Blinky too.
>>>>> 
>>>>> It works similar to the Nordic SDK, so now its only Mynewt SDK which is
>>> not booting.
>>>>> 
>>>>> Do I need to make any changes to BSP ?
>>>>> 
>>>>> How do I figure out where the problem is ?
>>>>> 
>>>>> Thanks,
>>>>> Aditya Xavier.
>>>>> 
>>>>> 
>>>>>> On 17-Apr-2018, at 1:18 PM, Aditya Xavier <ad...@me.com> wrote:
>>>>>> 
>>>>>> Hi Team,
>>>>>> 
>>>>>> Am stuck at trying to install Blinky firmware on a custom nRF52832
>>> board (not using any peripherals apart from 1 GPIO (LED_1)).
>>>>>> 
>>>>>> The sequence of events which am doing and the results are as follows.
>>>>>> 
>>>>>> 1.  Connect Segger and Erase Device.
>>>>>> 2.  Load nrf52_boot
>>>>>> 3.  Load nrf52_blinky
>>>>>> 4.  nRF starts blinking the LED.
>>>>>> 5.  Restart ( remove power and reconnect power )
>>>>>> 6.  nRF is no longer blinking the LED.
>>>>>> 
>>>>>> 1.  Connect Segger and Erase Device
>>>>>> 2.  Load nRF SDK Blinky
>>>>>> 3.  nRF starts blinking the LED
>>>>>> 4.  Restart ( remove power and reconnect power )
>>>>>> 5.  nRF starts blinking the LED.
>>>>>> 
>>>>>> Am I missing something?
>>>>>> 
>>>>>> Thanks,
>>>>>> Aditya Xavier.
>>>>> 
>>>> 
>>> 
>>> 


Re: Problem with starting up nRF Custom Board

Posted by Aditya Xavier <ad...@me.com>.
That worked!

Thank you so much!

Sent from my iPhone

> On 17-Apr-2018, at 7:43 PM, Alvaro Prieto <al...@verily.com> wrote:
> 
> Aditya,
> 
> Have you tried disabling the DCDC (if you don't have the DC DC inductors)?
> 
> MCU_DCDC_ENABLED: 0
> 
> I've had problems like these that were caused by that.
> 
> Cheers,
> 
> Alvaro
> 
>> On Tue, Apr 17, 2018 at 7:09 AM, Aditya Xavier <ad...@me.com> wrote:
>> 
>> Sorry for spamming you all.
>> 
>> However found one curious issue.
>> 
>> Apache is able to boot and start Blinky, if I do Connect (Target ->
>> Connect) from Segger.
>> 
>> The moment I disconnect from Segger i.e (Target -> Disconnect ), apache
>> doesn’t work anymore.
>> 
>> 
>> Thanks,
>> Aditya Xavier.
>> 
>> 
>>> On 17-Apr-2018, at 6:19 PM, Aditya Xavier <ad...@me.com> wrote:
>>> 
>>> Some more information for sake of clarity.
>>> 
>>> I used the nrf52dk in apache, nrf52_pca10040 in zephyr and pca10040 in
>> Nordic SDK.
>>> 
>>> Hardware wise its very similar to nrf52dk without the Programmer part.
>>> 
>>> Thanks,
>>> Aditya Xavier.
>>> 
>>>> On 17-Apr-2018, at 4:05 PM, Aditya Xavier <ad...@me.com> wrote:
>>>> 
>>>> Just tested Zephyr SDK Blinky too.
>>>> 
>>>> It works similar to the Nordic SDK, so now its only Mynewt SDK which is
>> not booting.
>>>> 
>>>> Do I need to make any changes to BSP ?
>>>> 
>>>> How do I figure out where the problem is ?
>>>> 
>>>> Thanks,
>>>> Aditya Xavier.
>>>> 
>>>> 
>>>>> On 17-Apr-2018, at 1:18 PM, Aditya Xavier <ad...@me.com> wrote:
>>>>> 
>>>>> Hi Team,
>>>>> 
>>>>> Am stuck at trying to install Blinky firmware on a custom nRF52832
>> board (not using any peripherals apart from 1 GPIO (LED_1)).
>>>>> 
>>>>> The sequence of events which am doing and the results are as follows.
>>>>> 
>>>>> 1.  Connect Segger and Erase Device.
>>>>> 2.  Load nrf52_boot
>>>>> 3.  Load nrf52_blinky
>>>>> 4.  nRF starts blinking the LED.
>>>>> 5.  Restart ( remove power and reconnect power )
>>>>> 6.  nRF is no longer blinking the LED.
>>>>> 
>>>>> 1.  Connect Segger and Erase Device
>>>>> 2.  Load nRF SDK Blinky
>>>>> 3.  nRF starts blinking the LED
>>>>> 4.  Restart ( remove power and reconnect power )
>>>>> 5.  nRF starts blinking the LED.
>>>>> 
>>>>> Am I missing something?
>>>>> 
>>>>> Thanks,
>>>>> Aditya Xavier.
>>>> 
>>> 
>> 
>> 

Re: Problem with starting up nRF Custom Board

Posted by Alvaro Prieto <al...@verily.com>.
Aditya,

Have you tried disabling the DCDC (if you don't have the DC DC inductors)?

MCU_DCDC_ENABLED: 0

I've had problems like these that were caused by that.

Cheers,

Alvaro

On Tue, Apr 17, 2018 at 7:09 AM, Aditya Xavier <ad...@me.com> wrote:

> Sorry for spamming you all.
>
> However found one curious issue.
>
> Apache is able to boot and start Blinky, if I do Connect (Target ->
> Connect) from Segger.
>
> The moment I disconnect from Segger i.e (Target -> Disconnect ), apache
> doesn’t work anymore.
>
>
> Thanks,
> Aditya Xavier.
>
>
> > On 17-Apr-2018, at 6:19 PM, Aditya Xavier <ad...@me.com> wrote:
> >
> > Some more information for sake of clarity.
> >
> > I used the nrf52dk in apache, nrf52_pca10040 in zephyr and pca10040 in
> Nordic SDK.
> >
> > Hardware wise its very similar to nrf52dk without the Programmer part.
> >
> > Thanks,
> > Aditya Xavier.
> >
> >> On 17-Apr-2018, at 4:05 PM, Aditya Xavier <ad...@me.com> wrote:
> >>
> >> Just tested Zephyr SDK Blinky too.
> >>
> >> It works similar to the Nordic SDK, so now its only Mynewt SDK which is
> not booting.
> >>
> >> Do I need to make any changes to BSP ?
> >>
> >> How do I figure out where the problem is ?
> >>
> >> Thanks,
> >> Aditya Xavier.
> >>
> >>
> >>> On 17-Apr-2018, at 1:18 PM, Aditya Xavier <ad...@me.com> wrote:
> >>>
> >>> Hi Team,
> >>>
> >>> Am stuck at trying to install Blinky firmware on a custom nRF52832
> board (not using any peripherals apart from 1 GPIO (LED_1)).
> >>>
> >>> The sequence of events which am doing and the results are as follows.
> >>>
> >>> 1.  Connect Segger and Erase Device.
> >>> 2.  Load nrf52_boot
> >>> 3.  Load nrf52_blinky
> >>> 4.  nRF starts blinking the LED.
> >>> 5.  Restart ( remove power and reconnect power )
> >>> 6.  nRF is no longer blinking the LED.
> >>>
> >>> 1.  Connect Segger and Erase Device
> >>> 2.  Load nRF SDK Blinky
> >>> 3.  nRF starts blinking the LED
> >>> 4.  Restart ( remove power and reconnect power )
> >>> 5.  nRF starts blinking the LED.
> >>>
> >>> Am I missing something?
> >>>
> >>> Thanks,
> >>> Aditya Xavier.
> >>
> >
>
>

Re: Problem with starting up nRF Custom Board

Posted by Aditya Xavier <ad...@me.com>.
Sorry for spamming you all.

However found one curious issue.

Apache is able to boot and start Blinky, if I do Connect (Target -> Connect) from Segger.

The moment I disconnect from Segger i.e (Target -> Disconnect ), apache doesn’t work anymore.


Thanks,
Aditya Xavier.


> On 17-Apr-2018, at 6:19 PM, Aditya Xavier <ad...@me.com> wrote:
> 
> Some more information for sake of clarity.
> 
> I used the nrf52dk in apache, nrf52_pca10040 in zephyr and pca10040 in Nordic SDK.
> 
> Hardware wise its very similar to nrf52dk without the Programmer part.
> 
> Thanks,
> Aditya Xavier.
> 
>> On 17-Apr-2018, at 4:05 PM, Aditya Xavier <ad...@me.com> wrote:
>> 
>> Just tested Zephyr SDK Blinky too.
>> 
>> It works similar to the Nordic SDK, so now its only Mynewt SDK which is not booting.
>> 
>> Do I need to make any changes to BSP ?
>> 
>> How do I figure out where the problem is ?
>> 
>> Thanks,
>> Aditya Xavier.
>> 
>> 
>>> On 17-Apr-2018, at 1:18 PM, Aditya Xavier <ad...@me.com> wrote:
>>> 
>>> Hi Team,
>>> 
>>> Am stuck at trying to install Blinky firmware on a custom nRF52832 board (not using any peripherals apart from 1 GPIO (LED_1)).
>>> 
>>> The sequence of events which am doing and the results are as follows.
>>> 
>>> 1.	Connect Segger and Erase Device.
>>> 2.	Load nrf52_boot
>>> 3.	Load nrf52_blinky
>>> 4.	nRF starts blinking the LED.
>>> 5.	Restart ( remove power and reconnect power )
>>> 6.	nRF is no longer blinking the LED.
>>> 
>>> 1.	Connect Segger and Erase Device
>>> 2.	Load nRF SDK Blinky
>>> 3.	nRF starts blinking the LED
>>> 4.	Restart ( remove power and reconnect power )
>>> 5.	nRF starts blinking the LED.
>>> 
>>> Am I missing something?
>>> 
>>> Thanks,
>>> Aditya Xavier.
>> 
> 


Re: Problem with starting up nRF Custom Board

Posted by Aditya Xavier <ad...@me.com>.
Some more information for sake of clarity.

I used the nrf52dk in apache, nrf52_pca10040 in zephyr and pca10040 in Nordic SDK.

Hardware wise its very similar to nrf52dk without the Programmer part.

Thanks,
Aditya Xavier.

> On 17-Apr-2018, at 4:05 PM, Aditya Xavier <ad...@me.com> wrote:
> 
> Just tested Zephyr SDK Blinky too.
> 
> It works similar to the Nordic SDK, so now its only Mynewt SDK which is not booting.
> 
> Do I need to make any changes to BSP ?
> 
> How do I figure out where the problem is ?
> 
> Thanks,
> Aditya Xavier.
> 
> 
>> On 17-Apr-2018, at 1:18 PM, Aditya Xavier <ad...@me.com> wrote:
>> 
>> Hi Team,
>> 
>> Am stuck at trying to install Blinky firmware on a custom nRF52832 board (not using any peripherals apart from 1 GPIO (LED_1)).
>> 
>> The sequence of events which am doing and the results are as follows.
>> 
>> 1.	Connect Segger and Erase Device.
>> 2.	Load nrf52_boot
>> 3.	Load nrf52_blinky
>> 4.	nRF starts blinking the LED.
>> 5.	Restart ( remove power and reconnect power )
>> 6.	nRF is no longer blinking the LED.
>> 
>> 1.	Connect Segger and Erase Device
>> 2.	Load nRF SDK Blinky
>> 3.	nRF starts blinking the LED
>> 4.	Restart ( remove power and reconnect power )
>> 5.	nRF starts blinking the LED.
>> 
>> Am I missing something?
>> 
>> Thanks,
>> Aditya Xavier.
> 


Re: Problem with starting up nRF Custom Board

Posted by Aditya Xavier <ad...@me.com>.
Just tested Zephyr SDK Blinky too.

It works similar to the Nordic SDK, so now its only Mynewt SDK which is not booting.

Do I need to make any changes to BSP ?

How do I figure out where the problem is ?

Thanks,
Aditya Xavier.


> On 17-Apr-2018, at 1:18 PM, Aditya Xavier <ad...@me.com> wrote:
> 
> Hi Team,
> 
> Am stuck at trying to install Blinky firmware on a custom nRF52832 board (not using any peripherals apart from 1 GPIO (LED_1)).
> 
> The sequence of events which am doing and the results are as follows.
> 
> 1.	Connect Segger and Erase Device.
> 2.	Load nrf52_boot
> 3.	Load nrf52_blinky
> 4.	nRF starts blinking the LED.
> 5.	Restart ( remove power and reconnect power )
> 6.	nRF is no longer blinking the LED.
> 
> 1.	Connect Segger and Erase Device
> 2.	Load nRF SDK Blinky
> 3.	nRF starts blinking the LED
> 4.	Restart ( remove power and reconnect power )
> 5.	nRF starts blinking the LED.
> 
> Am I missing something?
> 
> Thanks,
> Aditya Xavier.