How did you smoke test these?
I am trying to do the same this morning, and have run into problems.
DSimmons-Pro:arduino_zero dsimmons$ newt load arduino_boot -v
Loading bootloader
Load command: BOOT_LOADER="1" FEATURES="BASELIBC_PRESENT BOOT_LOADER
BSP_ARDUINO_ZERO_PRO CLOCK_FREQ FLASH_MAP_MAX_AREAS MSYS_1_BLOCK_COUNT
MSYS_1_BLOCK_SIZE OS_CPUTIME_FREQ SANITY_INTERVAL SPI_0_TYPE SPI_1_TYPE TIMER_0
UART_0 WATCHDOG_INTERVAL" FLASH_OFFSET="0x0" IMAGE_SLOT="0"
CORE_PATH="/Users/dsimmons/dev/arduino_zero/repos/apache-mynewt-core"
BSP_PATH="/Users/dsimmons/dev/arduino_zero/repos/mynewt_arduino_zero/hw/bsp/arduino_zero"
BIN_BASENAME="/Users/dsimmons/dev/arduino_zero/bin/targets/arduino_boot/app/apps/boot/boot"
/Users/dsimmons/dev/arduino_zero/repos/mynewt_arduino_zero/hw/bsp/arduino_zero/arduino_zero_download.sh
/Users/dsimmons/dev/arduino_zero/repos/mynewt_arduino_zero/hw/bsp/arduino_zero
/Users/dsimmons/dev/arduino_zero/bin/targets/arduino_boot/app/apps/boot/boot
Error: Downloading
/Users/dsimmons/dev/arduino_zero/bin/targets/arduino_boot/app/apps/boot/boot.elf.bin
to 0x0
Open On-Chip Debugger 0.9.0 (2015-11-15-05:39)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: JTAG Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 01.1F.0118
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 500 kHz
Info : SWD IDCODE 0x0bc11477
Info : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints
Error: Target not halted
load - Load app image to target for <target-name>.
Usage:
newt load <target-name> [flags]
Flags:
-j, --extrajtagcmd string extra commands to send to JTAG software
Global Flags:
-l, --loglevel string Log level (default "WARN")
-o, --outfile string Filename to tee 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
DSimmons-Pro:arduino_zero dsimmons$
Just to make sure, I checked all my repository sources, and newt is up to date:
DSimmons-Pro:newt dsimmons$ newt version
Apache Newt (incubating) version: 1.0.0-develop
DSimmons-Pro:newt dsimmons$ pwd
/Users/dsimmons/dev/go/src/mynewt.apache.org/newt
DSimmons-Pro:newt dsimmons$ git status -v
On branch 1_0_0_b1_dev
nothing to commit, working tree clean
And the repos in the project are up to date:
DSimmons-Pro:arduino_zero dsimmons$ cd repos/apache-mynewt-core/
DSimmons-Pro:apache-mynewt-core dsimmons$ git status -v
On branch 1_0_0_b1_dev
Your branch is up-to-date with 'origin/1_0_0_b1_dev'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: apps/boot/syscfg.yml
no changes added to commit (use "git add" and/or "git commit -a")
DSimmons-Pro:apache-mynewt-core dsimmons$ cd ../mynewt_arduino_zero/
DSimmons-Pro:mynewt_arduino_zero dsimmons$ git status -v
On branch 1_0_0_b1_dev
Your branch is up-to-date with 'origin/1_0_0_b1_dev'.
nothing to commit, working tree clean
So all looks good on the git front (for once).
Ive used the Arduino IDE to re-flash the bootloader to the board, and I can
succesfully download and run Arduino sketches on the board, but it steadfastly
refuses to take the Mynewt boot loader.
I've beaten my head against this wall long enough. Any ideas?
dg
> On Nov 10, 2016, at 9:19 PM, will sanfilippo <[email protected]> wrote:
>
> olimex and arduino zero good too.
>
>> On Nov 10, 2016, at 6:01 PM, will sanfilippo <[email protected]> wrote:
>>
>> All:
>>
>> Just wanted to note I smoke tested the following boards/bps. The smoke test
>> is basically erasing the flash, loading the bootloader and blinky (and
>> making sure it blinks!)
>>
>> nrf52dk
>> nrf51dk
>> nrf51dk-16kb
>> bmd300
>> arduino mkr1000
>> nucleo-f401
>>
>> We had a snafu with the arduino zero if the flash was erased but that should
>> now be fixed. Going to re-test the arduino and olimex boards in a sec.
>>
>
--
David G. Simmons
(919) 534-5099
Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • Linkedin
<http://linkedin.com/in/davidgsimmons> • Twitter
<http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs>
/** Message digitally signed for security and authenticity.
* If you cannot read the PGP.sig attachment, please go to
* http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!!
* Public key available at keyserver.pgp.com <http://keyserver.pgp.com/>
**/
♺ This email uses 100% recycled electrons. Don't blow it by printing!
There are only 2 hard things in computer science: Cache invalidation, naming
things, and off-by-one errors.