Re: Arduino zero Blinky : build bootloader error

2016-05-15 Thread Pradeep Sanjeewa
Hi Sterling,

Thanks for pointing out. I haven't played with SWD interface either.
Arduino M0 was the only board which was available locally which roughly
matches the BSPs supported by MyNewt.

I already have given my address to Aditi. Anyway, I'll send it to you as
well.

Regards,
Sanjeewa


On Mon, May 16, 2016 at 7:05 AM, Sterling Hughes 
wrote:

> Hi Pradeep,
>
> It looks like CN2 brings out the SWD interface (here:
> http://download.arduino.org/products/M0/arduino-M0-schematic.pdf),
> although I haven't played with one myself.  I'll give it a try Monday, when
> I have access to a Segger to play with.
>
> Either way, if you ping me or Aditi privately with your address, we can
> arrange to ship you a non-M0 board to play with Mynewt.
>
> Best,
>
> Sterling
>
>
> On 5/15/16 6:24 PM, Pradeep Sanjeewa wrote:
>
>> Hi Sterling,
>>
>> It just has an SPI header. No pin-out for jtag :(
>> Looks like I'm in bit of a trouble here.
>>
>> Regards,
>> Sanjeewa
>>
>> On Sun, May 15, 2016 at 11:11 PM, Sterling Hughes <
>> sterling.hughes.pub...@gmail.com> wrote:
>>
>> Hi Pradeep:
>>>
>>> Welcome!
>>>
>>> Unfortunately the M0 does not have built in debugger access like the M0
>>> Pro, Zero and Zero Pro, which is why we haven't yet added support for it.
>>>
>>> I believe it does bring out pins that allows you to connect a jtag
>>> debugger, so if you have one handy: that should help you get going.
>>>
>>> Sterling
>>>
>>> On May 15, 2016, at 10:05 AM, Pradeep Sanjeewa 

>>> wrote:
>>>

 Hi Christopher,

 Somehow I had missed that part. Thanks for noting.
 But still there is a error : Error: unable to find CMSIS-DAP device.
 Please note that I'm not using Docker

 Regards,
 Sanjeewa

 On Sun, May 15, 2016 at 9:26 PM, Christopher Collins <

>>> ccoll...@apache.org>
>>>
 wrote:

 Hi Pradeep,
>
> On Sun, May 15, 2016 at 06:47:29PM +0530, Pradeep Sanjeewa wrote:
>> But when I try to download the bootloader (newt load arduino_boot) ,
>> it
>> gives an error.
>>
>> line 61: openocd: command not found
>> Error: exit status 127
>>
>
> Did you see the documentation for getting started in Linux?
>
>
>
>>> http://mynewt.apache.org/os/get_started/cross_tools/#install-arm-cross-arm-tools-for-linux
>>>

> I think the "Install OpenOCD" step should solve this problem.
>
> Thanks,
> Chris
>
>
>>>
>>


Re: Arduino zero Blinky : build bootloader error

2016-05-15 Thread Sterling Hughes

Hi Pradeep,

It looks like CN2 brings out the SWD interface (here: 
http://download.arduino.org/products/M0/arduino-M0-schematic.pdf), 
although I haven't played with one myself.  I'll give it a try Monday, 
when I have access to a Segger to play with.


Either way, if you ping me or Aditi privately with your address, we can 
arrange to ship you a non-M0 board to play with Mynewt.


Best,

Sterling

On 5/15/16 6:24 PM, Pradeep Sanjeewa wrote:

Hi Sterling,

It just has an SPI header. No pin-out for jtag :(
Looks like I'm in bit of a trouble here.

Regards,
Sanjeewa

On Sun, May 15, 2016 at 11:11 PM, Sterling Hughes <
sterling.hughes.pub...@gmail.com> wrote:


Hi Pradeep:

Welcome!

Unfortunately the M0 does not have built in debugger access like the M0
Pro, Zero and Zero Pro, which is why we haven't yet added support for it.

I believe it does bring out pins that allows you to connect a jtag
debugger, so if you have one handy: that should help you get going.

Sterling


On May 15, 2016, at 10:05 AM, Pradeep Sanjeewa 

wrote:


Hi Christopher,

Somehow I had missed that part. Thanks for noting.
But still there is a error : Error: unable to find CMSIS-DAP device.
Please note that I'm not using Docker

Regards,
Sanjeewa

On Sun, May 15, 2016 at 9:26 PM, Christopher Collins <

ccoll...@apache.org>

wrote:


Hi Pradeep,


On Sun, May 15, 2016 at 06:47:29PM +0530, Pradeep Sanjeewa wrote:
But when I try to download the bootloader (newt load arduino_boot) , it
gives an error.

line 61: openocd: command not found
Error: exit status 127


Did you see the documentation for getting started in Linux?



http://mynewt.apache.org/os/get_started/cross_tools/#install-arm-cross-arm-tools-for-linux


I think the "Install OpenOCD" step should solve this problem.

Thanks,
Chris







Re: Arduino zero Blinky : build bootloader error

2016-05-15 Thread Pradeep Sanjeewa
Hi Sterling,

It just has an SPI header. No pin-out for jtag :(
Looks like I'm in bit of a trouble here.

Regards,
Sanjeewa

On Sun, May 15, 2016 at 11:11 PM, Sterling Hughes <
sterling.hughes.pub...@gmail.com> wrote:

> Hi Pradeep:
>
> Welcome!
>
> Unfortunately the M0 does not have built in debugger access like the M0
> Pro, Zero and Zero Pro, which is why we haven't yet added support for it.
>
> I believe it does bring out pins that allows you to connect a jtag
> debugger, so if you have one handy: that should help you get going.
>
> Sterling
>
> > On May 15, 2016, at 10:05 AM, Pradeep Sanjeewa 
> wrote:
> >
> > Hi Christopher,
> >
> > Somehow I had missed that part. Thanks for noting.
> > But still there is a error : Error: unable to find CMSIS-DAP device.
> > Please note that I'm not using Docker
> >
> > Regards,
> > Sanjeewa
> >
> > On Sun, May 15, 2016 at 9:26 PM, Christopher Collins <
> ccoll...@apache.org>
> > wrote:
> >
> >> Hi Pradeep,
> >>
> >>> On Sun, May 15, 2016 at 06:47:29PM +0530, Pradeep Sanjeewa wrote:
> >>> But when I try to download the bootloader (newt load arduino_boot) , it
> >>> gives an error.
> >>>
> >>> line 61: openocd: command not found
> >>> Error: exit status 127
> >>
> >> Did you see the documentation for getting started in Linux?
> >>
> >>
> http://mynewt.apache.org/os/get_started/cross_tools/#install-arm-cross-arm-tools-for-linux
> >>
> >> I think the "Install OpenOCD" step should solve this problem.
> >>
> >> Thanks,
> >> Chris
> >>
>


Re: Arduino zero Blinky : build bootloader error

2016-05-15 Thread Sterling Hughes
Hi Pradeep:

Welcome!

Unfortunately the M0 does not have built in debugger access like the M0 Pro, 
Zero and Zero Pro, which is why we haven't yet added support for it.  

I believe it does bring out pins that allows you to connect a jtag debugger, so 
if you have one handy: that should help you get going. 

Sterling 

> On May 15, 2016, at 10:05 AM, Pradeep Sanjeewa  wrote:
> 
> Hi Christopher,
> 
> Somehow I had missed that part. Thanks for noting.
> But still there is a error : Error: unable to find CMSIS-DAP device.
> Please note that I'm not using Docker
> 
> Regards,
> Sanjeewa
> 
> On Sun, May 15, 2016 at 9:26 PM, Christopher Collins 
> wrote:
> 
>> Hi Pradeep,
>> 
>>> On Sun, May 15, 2016 at 06:47:29PM +0530, Pradeep Sanjeewa wrote:
>>> But when I try to download the bootloader (newt load arduino_boot) , it
>>> gives an error.
>>> 
>>> line 61: openocd: command not found
>>> Error: exit status 127
>> 
>> Did you see the documentation for getting started in Linux?
>> 
>> http://mynewt.apache.org/os/get_started/cross_tools/#install-arm-cross-arm-tools-for-linux
>> 
>> I think the "Install OpenOCD" step should solve this problem.
>> 
>> Thanks,
>> Chris
>> 


Re: Arduino zero Blinky : build bootloader error

2016-05-15 Thread Pradeep Sanjeewa
Hi Christopher,

Somehow I had missed that part. Thanks for noting.
But still there is a error : Error: unable to find CMSIS-DAP device.
Please note that I'm not using Docker

Regards,
Sanjeewa

On Sun, May 15, 2016 at 9:26 PM, Christopher Collins 
wrote:

> Hi Pradeep,
>
> On Sun, May 15, 2016 at 06:47:29PM +0530, Pradeep Sanjeewa wrote:
> > But when I try to download the bootloader (newt load arduino_boot) , it
> > gives an error.
> >
> > line 61: openocd: command not found
> > Error: exit status 127
>
> Did you see the documentation for getting started in Linux?
>
> http://mynewt.apache.org/os/get_started/cross_tools/#install-arm-cross-arm-tools-for-linux
>
> I think the "Install OpenOCD" step should solve this problem.
>
> Thanks,
> Chris
>


Re: Arduino zero Blinky : build bootloader error

2016-05-15 Thread Christopher Collins
Hi Pradeep,

On Sun, May 15, 2016 at 06:47:29PM +0530, Pradeep Sanjeewa wrote:
> But when I try to download the bootloader (newt load arduino_boot) , it
> gives an error.
> 
> line 61: openocd: command not found
> Error: exit status 127

Did you see the documentation for getting started in Linux?
http://mynewt.apache.org/os/get_started/cross_tools/#install-arm-cross-arm-tools-for-linux

I think the "Install OpenOCD" step should solve this problem.

Thanks,
Chris


Arduino zero Blinky : build bootloader error

2016-05-15 Thread Pradeep Sanjeewa
Hi All,

I am in the process of implementing blinky on Arduino M0(which is not
supported yet).
I am following the tutorial "Blinky on Arduino Zero"
.

There was an error when trying to build the bootloader.

Command : $ newt build arduino_boot
Error : Error: sh: 1: arm-none-eabi-gcc: not found

Can someone help me?

BTW, I'm Sanjeewa from Sri Lanka participating GSoC this time.
My project is porting mynewt to pic32 bluetooth starter kit

.

Thanks

Regards,
Sanjeewa