Hi,
I tried building and loading the blinky and bleprph apps on the Arduino 101
using 1_0_0_b1_dev branch. The bootloader and the app image are combined using
“dd” utility and the combined image uploaded using "dfu-util”. The board did
not blink (with blinky app) or advertise (with bleprph app). Hard reset did not
help.
Overwriting the flash with 0xff before loading each image did not work either.
Creating an image padded with 0xff and loading it did not work.
Has anyone tested Arduino 101 recently with Mynewt?
thanks,
aditi
——trying blinky——
$ newt target show arduino101_boot
targets/arduino101_boot
app=@apache-mynewt-core/apps/boot
bsp=@apache-mynewt-core/hw/bsp/nrf51-arduino_101
build_profile=optimized
$ newt target show blinky_101
targets/blinky_101
app=apps/blinky
bsp=@apache-mynewt-core/hw/bsp/nrf51-arduino_101
build_profile=optimized
$ newt build arduino101_boot
<snip>
Target successfully built: targets/arduino101_boot
$ newt build blinky_101
<snip>
Target successfully built: targets/blinky_101
$ newt create-image blinky_101 0.0.1
App image succesfully generated:
/Users/aditihilbert/dev/myproj/bin/targets/blinky_101/app/apps/blinky/blinky.img
$ cat bin/targets/arduino101_boot/app/apps/boot/boot.elf.bin /dev/zero | dd
of=ble_core.img bs=1k count=256
$ dd if=bin/targets/blinky_101/app/apps/blinky/blinky.img of=ble_core.img bs=1
seek=32768
$ dfu-util -a ble_core -D ble_core.img
dfu-util 0.9
<snip>
state(2) = dfuIDLE, status(0) = No error condition is present
Done!