Downloading /home/nges/tproj/bin/arduino_boot/apps/boot/boot.elf.bin
to 0x00000000
Open On-Chip Debugger 0.8.0 (2014-10-25-15:24)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'cmsis-dap'
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: JTAG Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
Info : CMSIS-DAP: FW Version = 01.1F.0118
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : DAP_SWJ Sequence (reset: 50+ '1' followed by 0)
Info : CMSIS-DAP: Interface ready
Info : clock speed 500 kHz
Info : IDCODE 0x0bc11477
Info : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x81000000 pc: 0x000028f4 msp: 0x20002c00
at91samd bootloader 0: command requires more arguments
in procedure 'at91samd'
Error: exit status 1
load - Load app image to target for <target-name>.
Usage:
newt load [flags]
Examples:
newt load <target-name>
Global Flags:
-l, --loglevel string Log level, defaults to WARN. (default "WARN")
-o, --outfile string Filename to tee log output to
-q, --quiet Be quiet; only display error output.
-s, --silent Be silent; don't output anything.
-v, --verbose Enable verbose output when executing commands.
On 4/12/16, Nges B <[email protected]> wrote:
> On 4/12/16, marko kiiskila <[email protected]> wrote:
>> If you’re plugged in to right port, and the device does not show up,
>> maybe the cable is to blame.
>>
>> IF the microUSB cable you have is for phone charging only, it
>> might not have USB data lines connected. Just the power.
>>
>> If you have different cable try that, or you can try a different device
>> with
> Great , +1 the board reads now as Bus 002 Device 007: ID 03eb:2111 Atmel
> Corp.
>
> But it stilll does not load.
> it complains now of xPSR: 0x81000000 pc: 0x000028f4 msp: 0x20002c00
> at91samd bootloader 0: command requires more arguments
> in procedure 'at91samd'
> Error: exit status 1
>
> Please I do not even understand the error, thanks
>
>> same cable. Does that other device show up in output of lsusb.
>>
>>> On Apr 12, 2016, at 9:29 AM, marko kiiskila <[email protected]> wrote:
>>>
>>> Hi Nges,
>>>
>>>> On Apr 12, 2016, at 9:24 AM, Nges B <[email protected]
>>>> <mailto:[email protected]>> wrote:
>>>>
>>>> On 4/12/16, [email protected] <mailto:[email protected]> <[email protected]
>>>> <mailto:[email protected]>> wrote:
>>>>> I have seen this error in two circumstances
>>>>>
>>>>> 1) my arduino was plugged in via the production USB port and not the
>>>>> debug
>>>>> port
>>>>
>>>> How do you know whether the USB is production port or Debug port???
>>>> sorry if the question seems too obvious .THanks
>>>>
>>>
>>> This board is easy, as there’s so much documentation online.
>>> https://www.arduino.cc/en/Guide/ArduinoZero
>>> <https://www.arduino.cc/en/Guide/ArduinoZero> has a picture.
>>>
>>>
>>>>> 2) my pc had a stale process using the USB device
>>>>>
>>>>> Given that you lsusb doesn't show the device, we can probably rule out
>>>>> the
>>>>> second one.
>>>>>
>>>>>> On Apr 11, 2016, at 6:11 PM, Nges B <[email protected]
>>>>>> <mailto:[email protected]>> wrote:
>>>>>>
>>>>>> hello Chris, sorry for late response.
>>>>>> Yes I run Unbuntu15.04
>>>>>> Yes I have the above command utilities. Using 'lsusb', it do not show
>>>>>> the arduino board.
>>>>>> I have followed the connection mechanism given in the manual.
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On 4/11/16, Christopher Collins <[email protected]
>>>>>>> <mailto:[email protected]>> wrote:
>>>>>>> Hi Nges,
>>>>>>>
>>>>>>> That might be a problem with your USB connection to the Arduino
>>>>>>> Zero.
>>>>>>> Which Linux distribution are you running (e.g., Ubuntu)? If you
>>>>>>> have
>>>>>>> the "usb-devices" or "lsusb" command line utilities, they may
>>>>>>> provide
>>>>>>> some useful information.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Chris
>>>>>>>
>>>>>>>> On Mon, Apr 11, 2016 at 02:58:14AM +0100, Nges B wrote:
>>>>>>>> $ newt load arduino_boot
>>>>>>>> Downloading
>>>>>>>> /home/nges/myproj/bin/arduino_boot/apps/boot/boot.elf.bin
>>>>>>>> to 0x00000000
>>>>>>>> Open On-Chip Debugger 0.8.0 (2014-10-25-15:24)
>>>>>>>> Licensed under GNU GPL v2
>>>>>>>> For bug reports, read
>>>>>>>> http://openocd.sourceforge.net/doc/doxygen/bugs.html
>>>>>>>> <http://openocd.sourceforge.net/doc/doxygen/bugs.html>
>>>>>>>> Info : only one transport option; autoselect 'cmsis-dap'
>>>>>>>> Error: unable to open CMSIS-DAP device
>>>>>>>> Error: unable to init CMSIS-DAP driver
>>>>>>>> Error: Error selecting 'cmsis-dap' as transport
>>>>>>>> Runtime Error:
>>>>>>>> /usr/share/openocd/scripts/interface/cmsis-dap.cfg:7:
>>>>>>>> in procedure 'script'
>>>>>>>> at file "embedded:startup.tcl", line 58
>>>>>>>> at file
>>>>>>>> "/home/nges/myproj/repos/mynewt_arduino_zero/hw/bsp/arduino_zero//arduino_zero.cfg",
>>>>>>>> line 24
>>>>>>>> in procedure 'interface' called at file
>>>>>>>> "/usr/share/openocd/scripts/interface/cmsis-dap.cfg", line 7
>>>>>>>> Error: exit status 1
>>>>>>>>
>>>>>>>> load - Load app image to target for <target-name>.
>>>>>>>>
>>>>>>>> Usage:
>>>>>>>> newt load [flags]
>>>>>>>>
>>>>>>>> Examples:
>>>>>>>> newt load <target-name>
>>>>>>>>
>>>>>>>>
>>>>>>>> Global Flags:
>>>>>>>> -l, --loglevel string Log level, defaults to WARN. (default
>>>>>>>> "WARN")
>>>>>>>> -o, --outfile string Filename to tee log output to
>>>>>>>> -q, --quiet Be quiet; only display error output.
>>>>>>>> -s, --silent Be silent; don't output anything.
>>>>>>>> -v, --verbose Enable verbose output when executing
>>>>>>>> commands.
>>>>>>>>
>>>>>>>>
>>>>>>>>> On 4/11/16, Nges B <[email protected]
>>>>>>>>> <mailto:[email protected]>> wrote:
>>>>>>>>> Ji All ,
>>>>>>>>> I am trying to blink my arduino zero pr board.
>>>>>>>>>
>>>>>>>>> when I run the command newt load arduino_boot
>>>>>>>>> I get an error saying that unable to open CMSIS-DAP device ,
>>>>>>>>> unable
>>>>>>>>> to init CMSIS-DAP driver and Error selecting 'cmsis-dap' as
>>>>>>>>> transport.
>>>>>>>>>
>>>>>>>>> I do not know what to do, please can someone help me???
>>>>>>>>> thanks
>>>>>>>>> --
>>>>>>>>> "A Goal is a Dream with a Plan and a Dateline"
>>>>>>>>> Do On to Others what you will like them to do on to you.'The
>>>>>>>>> Golden
>>>>>>>>> Rule'
>>>>>>>>> Firefox Student Ambassadors Regional Lead Cameroon.
>>>>>>>>> Software Developer,
>>>>>>>>> Web Designer and Developer.
>>>>>>>>> Music DJ . Artiste at Casky Black's Record
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> "A Goal is a Dream with a Plan and a Dateline"
>>>>>>>> Do On to Others what you will like them to do on to you.'The Golden
>>>>>>>> Rule'
>>>>>>>> Firefox Student Ambassadors Regional Lead Cameroon.
>>>>>>>> Software Developer,
>>>>>>>> Web Designer and Developer.
>>>>>>>> Music DJ . Artiste at Casky Black's Record
>>>>>>
>>>>>>
>>>>>> --
>>>>>> "A Goal is a Dream with a Plan and a Dateline"
>>>>>> Do On to Others what you will like them to do on to you.'The Golden
>>>>>> Rule'
>>>>>> Firefox Student Ambassadors Regional Lead Cameroon.
>>>>>> Software Developer,
>>>>>> Web Designer and Developer.
>>>>>> Music DJ . Artiste at Casky Black's Record
>>>>>
>>>>
>>>>
>>>> --
>>>> "A Goal is a Dream with a Plan and a Dateline"
>>>> Do On to Others what you will like them to do on to you.'The Golden
>>>> Rule'
>>>> Firefox Student Ambassadors Regional Lead Cameroon.
>>>> Software Developer,
>>>> Web Designer and Developer.
>>>> Music DJ . Artiste at Casky Black's Record
>>>
>>
>>
>
>
> --
> "A Goal is a Dream with a Plan and a Dateline"
> Do On to Others what you will like them to do on to you.'The Golden Rule'
> Firefox Student Ambassadors Regional Lead Cameroon.
> Software Developer,
> Web Designer and Developer.
> Music DJ . Artiste at Casky Black's Record
>
--
"A Goal is a Dream with a Plan and a Dateline"
Do On to Others what you will like them to do on to you.'The Golden Rule'
Firefox Student Ambassadors Regional Lead Cameroon.
Software Developer,
Web Designer and Developer.
Music DJ . Artiste at Casky Black's Record