nges@nges-Latitude-E6410:~$ cd tproj/
nges@nges-Latitude-E6410:~/tproj$ newt load arduino_boot
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:
> I ran 'newt load arduino_boot' which is to load the board with the project.
>
> On 4/12/16, Christopher Collins <[email protected]> wrote:
>> Hi Nges,
>>
>> On Tue, Apr 12, 2016 at 05:49:25PM +0100, Nges B wrote:
>>> 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
>>
>> What command are you running? From the output, it looks like you might
>> be trying to debug the bootloader, which is probably not what you want
>> to do. When you post output, could you please include the exact
>> commands that you execute?
>>
>> The standard command sequence is:
>>
>> 1. Build boot loader (newt build <boot-loader-target>)
>> 2. Upload boot loader to board (newt load <boot-loader-target>)
>> 3. Build / load / debug main application (newt run <main-target>)
>>
>> Thanks,
>> Chris
>>
>
>
> --
> "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