We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is apparently not related to #789
Jacobs-Air:chippd3 jacobrosenthal$ newt target show split-thingy * Warning: failed to read repo "mynewt-nordic": open /Users/jacobrosenthal/Downloads/chippd3/repos/mynewt-nordic: no such file or directory targets/split-thingy app=@apache-mynewt-core/apps/blesplit bsp=@apache-mynewt-core/hw/bsp/nrf52-thingy build_profile=optimized loader=@apache-mynewt-core/apps/bleprph syscfg=CONSOLE_ECHO=0:CONSOLE_INPUT=0:CONSOLE_MAX_INPUT_LEN=0:CONSOLE_RTT=1:CONSOLE_UART=0:LOG_LEVEL=0:SHELL_TASK=0 Jacobs-Air:chippd3 jacobrosenthal$ echo -ne "erase all\nq\n" | JLinkExe -if SWD -device nRF52 -speed 1000 SEGGER J-Link Commander V6.30b (Compiled Feb 2 2018 18:41:11) DLL version V6.30b, compiled Feb 2 2018 18:41:01 Connecting to J-Link via USB...O.K. Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46 Hardware version: V8.00 S/N: 268006294 License(s): FlashBP, GDB OEM: SEGGER-EDU VTref = 3.274V Type "connect" to establish a target connection, '?' for help Target connection not established yet but required for command. Device "NRF52" selected. Connecting to target via SWD Found SW-DP with ID 0x2BA01477 Found SW-DP with ID 0x2BA01477 Scanning AP map to find all available APs AP[2]: Stopped AP scan as end of AP map has been reached AP[0]: AHB-AP (IDR: 0x24770011) AP[1]: JTAG-AP (IDR: 0x02880000) Iterating through AP map to find AHB-AP to use AP[0]: Core found AP[0]: AHB-AP ROM base: 0xE00FF000 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM) Found Cortex-M4 r0p1, Little endian. FPUnit: 6 code (BP) slots and 2 literal slots CoreSight components: ROMTbl[0] @ E00FF000 ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM Cortex-M4 identified. Erasing device ((null))... Comparing flash [100%] Done. Erasing flash [100%] Done. Verifying flash [100%] Done. J-Link: Flash download: Total time needed: 0.321s (Prepare: 0.049s, Compare: 0.000s, Erase: 0.266s, Program: 0.000s, Verify: 0.000s, Restore: 0.006s) Erasing done. Jacobs-Air:chippd3 jacobrosenthal$ newt build boot-thingy && newt load boot-thingy * Warning: failed to read repo "mynewt-nordic": open /Users/jacobrosenthal/Downloads/chippd3/repos/mynewt-nordic: no such file or directory Building target targets/boot-thingy Compiling bin/targets/boot-thingy/generated/src/boot-thingy-sysinit-app.c Compiling bin/targets/boot-thingy/generated/src/boot-thingy-sysflash.c Compiling repos/apache-mynewt-core/boot/bootutil/src/bootutil_misc.c Compiling repos/apache-mynewt-core/apps/boot/src/boot.c Compiling repos/apache-mynewt-core/boot/bootutil/src/image_ec.c Compiling repos/apache-mynewt-core/boot/bootutil/src/image_ec256.c Compiling repos/apache-mynewt-core/boot/bootutil/src/image_rsa.c Compiling repos/apache-mynewt-core/boot/bootutil/src/image_validate.c Compiling repos/apache-mynewt-core/boot/bootutil/src/loader.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/aes.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/aesni.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/arc4.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/asn1parse.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/asn1write.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/base64.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/bignum.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/blowfish.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/camellia.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ccm.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/certs.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/cipher.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/cipher_wrap.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/cmac.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ctr_drbg.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/debug.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/des.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/dhm.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ecdh.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ecjpake.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ecdsa.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ecp.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ecp_curves.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/entropy.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/entropy_poll.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/error.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/gcm.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/havege.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/hmac_drbg.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/md.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/md2.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/md4.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/md5.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/md_wrap.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/memory_buffer_alloc.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/net.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/net_sockets.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/oid.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/padlock.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/pem.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/pk.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/pk_wrap.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/pkcs11.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/pkcs12.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/pkcs5.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/pkparse.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/pkwrite.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ripemd160.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/platform.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/rsa.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/sha1.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/sha256.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/sha512.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ssl_cache.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ssl_ciphersuites.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ssl_cli.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ssl_cookie.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ssl_srv.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ssl_ticket.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/ssl_tls.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/threading.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/timing.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/version.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/version_features.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/x509.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/x509_create.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/x509_crl.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/x509_crt.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/x509write_crt.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/x509_csr.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/x509write_csr.c Compiling repos/apache-mynewt-core/crypto/mbedtls/src/xtea.c Compiling repos/apache-mynewt-core/hw/bsp/nrf52-thingy/src/hal_bsp.c Compiling repos/apache-mynewt-core/hw/bsp/nrf52-thingy/src/sbrk.c Assembling repos/apache-mynewt-core/hw/bsp/nrf52-thingy/src/arch/cortex_m4/gcc_startup_nrf52.s Assembling repos/apache-mynewt-core/hw/bsp/nrf52-thingy/src/arch/cortex_m4/gcc_startup_nrf52_split.s Compiling repos/apache-mynewt-core/hw/cmsis-core/src/cmsis_nvic.c Compiling repos/apache-mynewt-core/hw/drivers/uart/src/uart.c Compiling repos/apache-mynewt-core/hw/drivers/uart/uart_hal/src/uart_hal.c Compiling repos/apache-mynewt-core/hw/hal/src/hal_common.c Compiling repos/apache-mynewt-core/hw/hal/src/hal_flash.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/drivers/src/prs/nrfx_prs.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/drivers/src/nrfx_pwm.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/drivers/src/nrfx_saadc.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/hal/nrf_adc.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/hal/nrf_ecb.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/src/ext/nrfx/hal/nrf_nvmc.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_flash.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_gpio.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_i2c.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_reset_cause.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_os_tick.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_system_start.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_system.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_spi.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_timer.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_uart.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_watchdog.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/nrf52_hw_id.c Compiling repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/system_nrf52.c Compiling repos/apache-mynewt-core/kernel/os/src/endian.c Compiling repos/apache-mynewt-core/kernel/os/src/os.c Compiling repos/apache-mynewt-core/kernel/os/src/os_callout.c Compiling repos/apache-mynewt-core/kernel/os/src/os_cputime_1mhz.c Compiling repos/apache-mynewt-core/kernel/os/src/os_cputime.c Compiling repos/apache-mynewt-core/kernel/os/src/os_cputime_high.c Compiling repos/apache-mynewt-core/kernel/os/src/os_cputime_pwr2.c Compiling repos/apache-mynewt-core/kernel/os/src/os_dev.c Compiling repos/apache-mynewt-core/kernel/os/src/os_eventq.c Compiling repos/apache-mynewt-core/kernel/os/src/os_heap.c Compiling repos/apache-mynewt-core/kernel/os/src/os_mbuf.c Compiling repos/apache-mynewt-core/kernel/os/src/os_mempool.c Compiling repos/apache-mynewt-core/kernel/os/src/os_msys_init.c Compiling repos/apache-mynewt-core/kernel/os/src/os_mutex.c Compiling repos/apache-mynewt-core/kernel/os/src/os_sanity.c Compiling repos/apache-mynewt-core/kernel/os/src/os_sched.c Compiling repos/apache-mynewt-core/kernel/os/src/os_sem.c Compiling repos/apache-mynewt-core/kernel/os/src/os_task.c Compiling repos/apache-mynewt-core/kernel/os/src/os_time.c Compiling repos/apache-mynewt-core/kernel/os/src/arch/cortex_m4/os_arch_arm.c Compiling repos/apache-mynewt-core/kernel/os/src/arch/cortex_m4/os_fault.c Assembling repos/apache-mynewt-core/kernel/os/src/arch/cortex_m4/m4/HAL_CM4.s Assembling repos/apache-mynewt-core/kernel/os/src/arch/cortex_m4/m4/SVC_Table.s Compiling repos/apache-mynewt-core/libc/baselibc/src/asprintf.c Compiling repos/apache-mynewt-core/libc/baselibc/src/atoi.c Compiling repos/apache-mynewt-core/libc/baselibc/src/atol.c Compiling repos/apache-mynewt-core/libc/baselibc/src/atoll.c Compiling repos/apache-mynewt-core/libc/baselibc/src/bsearch.c Compiling repos/apache-mynewt-core/libc/baselibc/src/bzero.c Compiling repos/apache-mynewt-core/libc/baselibc/src/calloc.c Compiling repos/apache-mynewt-core/libc/baselibc/src/fgets.c Compiling repos/apache-mynewt-core/libc/baselibc/src/inline.c Compiling repos/apache-mynewt-core/libc/baselibc/src/jrand48.c Compiling repos/apache-mynewt-core/libc/baselibc/src/lrand48.c Compiling repos/apache-mynewt-core/libc/baselibc/src/malloc.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memccpy.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memchr.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memcmp.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memcpy.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memfile.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memmem.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memmove.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memrchr.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memset.c Compiling repos/apache-mynewt-core/libc/baselibc/src/memswap.c Compiling repos/apache-mynewt-core/libc/baselibc/src/mrand48.c Compiling repos/apache-mynewt-core/libc/baselibc/src/mynewt.c Compiling repos/apache-mynewt-core/libc/baselibc/src/nrand48.c Compiling repos/apache-mynewt-core/libc/baselibc/src/qsort.c Compiling repos/apache-mynewt-core/libc/baselibc/src/realloc.c Compiling repos/apache-mynewt-core/libc/baselibc/src/srand48.c Compiling repos/apache-mynewt-core/libc/baselibc/src/sprintf.c Compiling repos/apache-mynewt-core/libc/baselibc/src/sscanf.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strcasecmp.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strcat.c Compiling repos/apache-mynewt-core/libc/baselibc/src/start.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strchr.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strcmp.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strcpy.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strcspn.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strdup.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strlcat.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strlcpy.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strlen.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strncasecmp.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strncat.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strncmp.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strncpy.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strndup.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strnlen.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strntoimax.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strntoumax.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strpbrk.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strrchr.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strsep.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strspn.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strstr.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strtoimax.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strtok.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strtok_r.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strtol.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strtoll.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strtoul.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strtoull.c Compiling repos/apache-mynewt-core/libc/baselibc/src/strtoumax.c Compiling repos/apache-mynewt-core/libc/baselibc/src/tinyprintf.c Compiling repos/apache-mynewt-core/libc/baselibc/src/vasprintf.c Compiling repos/apache-mynewt-core/libc/baselibc/src/vprintf.c Compiling repos/apache-mynewt-core/libc/baselibc/src/vsprintf.c Compiling repos/apache-mynewt-core/libc/baselibc/src/vsscanf.c Compiling repos/apache-mynewt-core/sys/flash_map/src/flash_map.c Compiling repos/apache-mynewt-core/sys/mfg/src/mfg.c Compiling repos/apache-mynewt-core/sys/sysinit/src/sysinit.c Compiling repos/apache-mynewt-core/util/mem/src/mem.c Archiving apps_boot.a Archiving boot-thingy-sysinit-app.a Archiving boot_bootutil.a Archiving crypto_mbedtls.a Archiving hw_bsp_nrf52-thingy.a Archiving hw_cmsis-core.a Archiving hw_drivers_uart.a Archiving hw_drivers_uart_uart_hal.a Archiving hw_hal.a Archiving hw_mcu_nordic.a Archiving hw_mcu_nordic_nrf52xxx.a Archiving kernel_os.a Archiving libc_baselibc.a Archiving sys_flash_map.a Archiving sys_mfg.a Archiving sys_sysinit.a Archiving util_mem.a Linking /Users/jacobrosenthal/Downloads/chippd3/bin/targets/boot-thingy/app/apps/boot/boot.elf Target successfully built: targets/boot-thingy * Warning: failed to read repo "mynewt-nordic": open /Users/jacobrosenthal/Downloads/chippd3/repos/mynewt-nordic: no such file or directory Loading bootloader Jacobs-Air:chippd3 jacobrosenthal$ newt run split-thingy 0.0.0.1 * Warning: failed to read repo "mynewt-nordic": open /Users/jacobrosenthal/Downloads/chippd3/repos/mynewt-nordic: no such file or directory Compiling bin/targets/split-thingy/generated/src/split-thingy-sysinit-app.c Compiling bin/targets/split-thingy/generated/src/split-thingy-sysinit-loader.c Compiling bin/targets/split-thingy/generated/src/split-thingy-sysflash.c Archiving split-thingy-sysinit-app.a Linking /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/app/apps/blesplit/blesplit_tmp.elf Compiling bin/targets/split-thingy/generated/src/split-thingy-sysinit-app.c Compiling bin/targets/split-thingy/generated/src/split-thingy-sysinit-loader.c Compiling bin/targets/split-thingy/generated/src/split-thingy-sysflash.c Archiving split-thingy-sysinit-loader.a Linking /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/loader/apps/bleprph/bleprph_tmp.elf c Linking /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/loader/apps/bleprph/bleprph.elf Generating ROM elf Linking /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/app/apps/blesplit/blesplit.elf Compiling bin/targets/split-thingy/generated/src/split-thingy-sysinit-loader.c Compiling bin/targets/split-thingy/generated/src/split-thingy-sysflash.c Compiling bin/targets/split-thingy/generated/src/split-thingy-sysinit-app.c Archiving split-thingy-sysinit-app.a Linking /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/app/apps/blesplit/blesplit_tmp.elf Compiling bin/targets/split-thingy/generated/src/split-thingy-sysinit-app.c Compiling bin/targets/split-thingy/generated/src/split-thingy-sysflash.c Compiling bin/targets/split-thingy/generated/src/split-thingy-sysinit-loader.c Archiving split-thingy-sysinit-loader.a Linking /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/loader/apps/bleprph/bleprph_tmp.elf Linking /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/loader/apps/bleprph/bleprph.elf Generating ROM elf Linking /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/app/apps/blesplit/blesplit.elf App image succesfully generated: /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/loader/apps/bleprph/bleprph.img App image succesfully generated: /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/app/apps/blesplit/blesplit.img Loading app image into slot 2 Loading loader image into slot 1 [/Users/jacobrosenthal/Downloads/chippd3/repos/apache-mynewt-core/hw/bsp/nrf52-thingy/nrf52-thingy_debug.sh /Users/jacobrosenthal/Downloads/chippd3/repos/apache-mynewt-core/hw/bsp/nrf52-thingy /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/loader/apps/bleprph/bleprph] Debugging /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/loader/apps/bleprph/bleprph.elf GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-apple-darwin10 --target=arm-none-eabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/loader/apps/bleprph/bleprph.elf...done. .gdbinit:1: Error in sourced command file: No symbol "startup" in current context. os_tick_idle (ticks=1870) at repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_os_tick.c:165 165 if (ticks > 0) { Resetting target 0x000000dc in ?? () (gdb) c Continuing. ^C Program received signal SIGTRAP, Trace/breakpoint trap. os_tick_idle (ticks=1920) at repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_os_tick.c:165 165 if (ticks > 0) { (gdb) where #0 os_tick_idle (ticks=1920) at repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_os_tick.c:165 #1 0x0000891e in os_idle_task (arg=<optimized out>) at repos/apache-mynewt-core/kernel/os/src/os.c:117 #2 0x00000000 in ?? () (gdb) p os_msys_init_1_mempool $1 = {mp_block_size = 112, mp_num_blocks = 22, mp_num_free = 18, mp_min_free = 11, mp_flags = 0 '\000', mp_membuf_addr = 536874208, mp_list = { stqe_next = 0x2000246c <ble_hci_ram_evt_hi_pool>}, {slh_first = 0x20000ea0 <os_msys_init_1_data+448>}, name = 0x25169 "msys_1"} (gdb) p ble_phy_stats $2 = {s_hdr = {s_name = 0x273f7 "ble_phy", s_size = 4 '\004', s_cnt = 13 '\r', s_pad1 = 0, s_next = {stqe_next = 0x0}}, sphy_isrs = 142238, stx_good = 47390, stx_fail = 0, stx_late = 0, stx_bytes = 347978, srx_starts = 46627, srx_aborts = 1, srx_valid = 46506, srx_crc_err = 120, srx_late = 44, sradio_state_errs = 0, srx_hw_err = 0, stx_hw_err = 0} (gdb) p ble_ll_stats $3 = {s_hdr = {s_name = 0x27046 "ble_ll", s_size = 4 '\004', s_cnt = 49 '1', s_pad1 = 0, s_next = {stqe_next = 0x20003d1c <ble_phy_stats>}}, shci_cmds = 63, shci_cmd_errs = 0, shci_events_sent = 7913, sbad_ll_state = 0, sbad_acl_hdr = 0, sno_bufs = 0, srx_adv_pdu_crc_ok = 53, srx_adv_pdu_crc_err = 0, srx_adv_bytes_crc_ok = 962, srx_adv_bytes_crc_err = 0, srx_data_pdu_crc_ok = 46453, srx_data_pdu_crc_err = 120, srx_data_bytes_crc_ok = 919564, srx_data_bytes_crc_err = 3960, srx_adv_malformed_pkts = 0, srx_adv_ind = 0, srx_adv_direct_ind = 0, srx_adv_nonconn_ind = 0, srx_adv_ext_ind = 0, srx_scan_reqs = 43, srx_scan_rsps = 0, srx_connect_reqs = 10, srx_scan_ind = 0, srx_aux_connect_rsp = 0, sadv_txg = 777, sadv_late_starts = 0, sadv_resched_pdu_fail = 0, sadv_drop_event = 0, ssched_state_conn_errs = 0, ssched_state_adv_errs = 0, sscan_starts = 0, sscan_stops = 0, sscan_req_txf = 0, sscan_req_txg = 0, sscan_rsp_txg = 43, saux_missed_adv = 0, saux_scheduled = 0, saux_received = 0, saux_fired_for_read = 0, saux_conn_req_tx = 0, saux_conn_rsp_tx = 0, saux_conn_rsp_err = 0, saux_scan_req_tx = 0, saux_scan_rsp_err = 0, saux_chain_cnt = 0, saux_chain_err = 0, sadv_evt_dropped = 0, sscan_timer_stopped = 0, sscan_timer_restarted = 0} (gdb) p ble_ll_conn_stats $4 = {s_hdr = {s_name = 0x2704d "ble_ll_conn", s_size = 4 '\004', s_cnt = 26 '\032', s_pad1 = 0, s_next = { stqe_next = 0x2000305c <ble_ll_stats>}}, scant_set_sched = 0, sconn_ev_late = 0, swfr_expirations = 873, shandle_not_found = 0, sno_conn_sm = 0, sno_free_conn_sm = 0, srx_data_pdu_no_conn = 0, srx_data_pdu_bad_aa = 0, sslave_rxd_bad_conn_req_params = 0, sslave_ce_failures = 44, sdata_pdu_rx_dup = 252, sdata_pdu_txg = 46182, sdata_pdu_txf = 261, sconn_req_txd = 0, sl2cap_enqueued = 7821, srx_ctrl_pdus = 25, srx_l2cap_pdus = 30614, srx_l2cap_bytes = 822916, srx_malformed_ctrl_pdus = 0, srx_bad_llid = 0, stx_ctrl_pdus = 19, stx_ctrl_bytes = 171, stx_l2cap_pdus = 15643, stx_l2cap_bytes = 227905, stx_empty_pdus = 30908, smic_failures = 0} (gdb) x/32wx os_main_stack 0x20000568 <os_main_stack>: 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0x20000578 <os_main_stack+16>: 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0x20000588 <os_main_stack+32>: 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0x20000598 <os_main_stack+48>: 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0x200005a8 <os_main_stack+64>: 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0x200005b8 <os_main_stack+80>: 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0x200005c8 <os_main_stack+96>: 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0x200005d8 <os_main_stack+112>: 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef (gdb)
...couple of successful uploads later **** Running: newtmgr -c nimble_bleprph image list ***** Images: slot=0 version: 0.0.0.1 bootable: true flags: active confirmed hash: a5cc4e507442d75e130f9f2ae69b569f21eb9da3e74c50a57d6a4fded31c99e0 slot=1 version: 0.0.0.2 bootable: true flags: hash: 517d45dace367a948a771e329f9efd890ef4d367f11b3a44b5104aa5455c8a56 Split status: N/A (0) **** Running: newtmgr -ldebug -c nimble_bleprph image upload /Users/jacobrosenthal/Downloads/chippd3/bin/targets/split-thingy/loader/apps/bleprph/bleprph.img ***** DEBU[2018-02-06 16:18:45.398] Using connection profile: name=nimble_bleprph type=ble connstring=peer_name=nimble-bleprph DEBU[2018-02-06 16:18:45.457] {add-oic-listener} [transceiver.go:62] token=[] DEBU[2018-02-06 16:18:45.457] Connecting to peer DEBU[2018-02-06 16:18:46.065] Exchanging MTU DEBU[2018-02-06 16:18:46.065] Exchanged MTU; ATT MTU = 104 DEBU[2018-02-06 16:18:46.065] Discovering profile DEBU[2018-02-06 16:18:46.58] Subscribing to NMP response characteristic 0 / 129192 [---------------------------------------------------------------------------------------------------------------------------] 0.00%DEBU[2018-02-06 16:18:46.61] {add-nmp-listener} [bll_sesn.go:401] seq=66 DEBU[2018-02-06 16:18:46.611] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:66 Id:5}}} to: 00000000 a0 |.| DEBU[2018-02-06 16:18:46.611] Encoded: 00000000 02 00 00 01 00 01 42 05 a0 |......B..| DEBU[2018-02-06 16:18:46.611] Tx NMP request: 00000000 02 00 00 01 00 01 42 05 a0 |......B..| DEBU[2018-02-06 16:18:46.76] Received nmp rsp: &{NmpBase:{hdr:{Op:3 Flags:0 Len:6 Group:1 Seq:66 Id:5}} Rc:0} DEBU[2018-02-06 16:18:46.76] {remove-nmp-listener} [bll_sesn.go:401] seq=66 DEBU[2018-02-06 16:18:46.761] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:67 Id:1}} Off:0 Len:129192 Data:[]} to: 00000000 a3 64 64 61 74 61 f6 63 6c 65 6e 1a 00 01 f8 a8 |.ddata.clen.....| 00000010 63 6f 66 66 00 |coff.| DEBU[2018-02-06 16:18:46.761] Encoded: 00000000 02 00 00 15 00 01 43 01 a3 64 64 61 74 61 f6 63 |......C..ddata.c| 00000010 6c 65 6e 1a 00 01 f8 a8 63 6f 66 66 00 |len.....coff.| DEBU[2018-02-06 16:18:46.761] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:68 Id:1}} Off:0 Len:129192 Data:[60 184 243 150 36 0 0 0 32 0 0 0 100 248 1 0 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 1 32 181 130 0 0 17 131 0 0 19 131 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]} to: 00000000 a3 64 64 61 74 61 58 48 3c b8 f3 96 24 00 00 00 |.ddataXH<...$...| 00000010 20 00 00 00 64 f8 01 00 02 00 00 00 00 00 00 00 | ...d...........| 00000020 02 00 00 00 00 00 00 00 00 00 01 20 b5 82 00 00 |........... ....| 00000030 11 83 00 00 13 83 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000050 63 6c 65 6e 1a 00 01 f8 a8 63 6f 66 66 00 |clen.....coff.| DEBU[2018-02-06 16:18:46.761] Encoded: 00000000 02 00 00 5e 00 01 44 01 a3 64 64 61 74 61 58 48 |...^..D..ddataXH| 00000010 3c b8 f3 96 24 00 00 00 20 00 00 00 64 f8 01 00 |<...$... ...d...| 00000020 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |................| 00000030 00 00 01 20 b5 82 00 00 11 83 00 00 13 83 00 00 |... ............| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000050 00 00 00 00 00 00 00 00 63 6c 65 6e 1a 00 01 f8 |........clen....| 00000060 a8 63 6f 66 66 00 |.coff.| DEBU[2018-02-06 16:18:46.761] {add-nmp-listener} [bll_sesn.go:401] seq=69 DEBU[2018-02-06 16:18:46.761] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:69 Id:1}} Off:0 Len:129192 Data:[60 184 243 150 36 0 0 0 32 0 0 0 100 248 1 0 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 1 32 181 130 0 0 17 131 0 0 19 131 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]} to: 00000000 a3 64 64 61 74 61 58 47 3c b8 f3 96 24 00 00 00 |.ddataXG<...$...| 00000010 20 00 00 00 64 f8 01 00 02 00 00 00 00 00 00 00 | ...d...........| 00000020 02 00 00 00 00 00 00 00 00 00 01 20 b5 82 00 00 |........... ....| 00000030 11 83 00 00 13 83 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 63 |...............c| 00000050 6c 65 6e 1a 00 01 f8 a8 63 6f 66 66 00 |len.....coff.| DEBU[2018-02-06 16:18:46.761] Encoded: 00000000 02 00 00 5d 00 01 45 01 a3 64 64 61 74 61 58 47 |...]..E..ddataXG| 00000010 3c b8 f3 96 24 00 00 00 20 00 00 00 64 f8 01 00 |<...$... ...d...| 00000020 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |................| 00000030 00 00 01 20 b5 82 00 00 11 83 00 00 13 83 00 00 |... ............| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000050 00 00 00 00 00 00 00 63 6c 65 6e 1a 00 01 f8 a8 |.......clen.....| 00000060 63 6f 66 66 00 |coff.| DEBU[2018-02-06 16:18:46.761] Tx NMP request: 00000000 02 00 00 5d 00 01 45 01 a3 64 64 61 74 61 58 47 |...]..E..ddataXG| 00000010 3c b8 f3 96 24 00 00 00 20 00 00 00 64 f8 01 00 |<...$... ...d...| 00000020 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |................| 00000030 00 00 01 20 b5 82 00 00 11 83 00 00 13 83 00 00 |... ............| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000050 00 00 00 00 00 00 00 63 6c 65 6e 1a 00 01 f8 a8 |.......clen.....| 00000060 63 6f 66 66 00 |coff.| 0 B / 126.16 KiB [---------------------------------------------------------------------------------------------------------------------] 0.00%DEBU[2018-02-06 16:18:48.943] OIC error: disconnected DEBU[2018-02-06 16:18:48.943] {remove-nmp-listener} [bll_sesn.go:401] seq=69 DEBU[2018-02-06 16:18:48.943] {remove-oic-listener} [.:0] token=[] DEBU[2018-02-06 16:18:48.943] goroutine 1 [running]: mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util.NewNewtError(0xc4200cdf10, 0xc, 0xc) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util/util.go:77 +0xe8 mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util.ChildNewtError(0x4a590c0, 0xc42015c680, 0xc4201cc000) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util/util.go:103 +0x82 mynewt.apache.org/newtmgr/newtmgr/cli.imageUploadCmd(0xc420167440, 0xc42005ba40, 0x1, 0x4) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/newtmgr/cli/image.go:202 +0x40a mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra.(*Command).execute(0xc420167440, 0xc42005e720, 0x4, 0x6, 0xc420167440, 0xc42005e720) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra/command.go:654 +0x2a2 mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc42008bb00, 0xc42012df08, 0xc42012def8, 0xc42015c170) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra/command.go:729 +0x2fe mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra.(*Command).Execute(0xc42008bb00, 0x473f830, 0xc42005e420) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra/command.go:688 +0x2b main.main() /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/newtmgr/newtmgr.go:111 +0x119 goroutine 5 [syscall]: os/signal.signal_recv(0x0) /usr/local/Cellar/go/1.9.2/libexec/src/runtime/sigqueue.go:131 +0xa7 os/signal.loop() /usr/local/Cellar/go/1.9.2/libexec/src/os/signal/signal_unix.go:22 +0x22 created by os/signal.init.0 /usr/local/Cellar/go/1.9.2/libexec/src/os/signal/signal_unix.go:28 +0x41 goroutine 7 [select, locked to thread]: runtime.gopark(0x4741a38, 0x0, 0x4719c96, 0x6, 0x18, 0x1) /usr/local/Cellar/go/1.9.2/libexec/src/runtime/proc.go:287 +0x12c runtime.selectgo(0xc420038f50, 0xc42001e240) /usr/local/Cellar/go/1.9.2/libexec/src/runtime/select.go:395 +0x1149 runtime.ensureSigM.func1() /usr/local/Cellar/go/1.9.2/libexec/src/runtime/signal_unix.go:511 +0x1fe runtime.goexit() /usr/local/Cellar/go/1.9.2/libexec/src/runtime/asm_amd64.s:2337 +0x1 goroutine 8 [chan receive]: main.main.func1(0xc42005e420) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/newtmgr/newtmgr.go:97 +0x4b created by main.main /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/newtmgr/newtmgr.go:95 +0x10f goroutine 35 [select]: mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble.trap.func1(0xc4201fa1e0, 0xc4201c0260, 0x4a61580, 0xc4201bc240) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/gatt.go:173 +0xf2 created by mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble.trap /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/gatt.go:172 +0x192 goroutine 27 [chan send]: mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble.Connect.func2(0x4a64400, 0xc4201c0830) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/gatt.go:139 +0x5e mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble.Scan.func1(0x4a64400, 0xc4201c0830) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/gatt.go:97 +0x75 created by mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/darwin.(*Device).HandleXpcEvent /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/darwin/device.go:418 +0x1b38 goroutine 52 [select]: mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb.(*ProgressBar).refresher(0xc420264000) /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb/pb.go:462 +0x109 created by mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb.(*ProgressBar).Start /Users/jacobrosenthal/dev/go/src/mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb/pb.go:123 +0xc0 Error: disconnected Jacobs-Air:chippd3 jacobrosenthal$
The text was updated successfully, but these errors were encountered:
@sjanc @andrzej-kaczmarek can you take a look at this?
Sorry, something went wrong.
andrzej-kaczmarek
sjanc
ccollins476ad
Successfully merging a pull request may close this issue.
This is apparently not related to #789
The text was updated successfully, but these errors were encountered: