Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Christopher Collins
Hi Jacob, If that reboot log entry is recent, it looks like your device is crashing. A reason of "SOFT" indicates a firmware crash [*]. I would say the quickest way to debug this is to run the code in gdb. You can do this with the "newt run" command: newt run 0 When gdb comes up, type c

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Jacob Rosenthal
turned off a ton more bluetooth shit for more ram both still hang: newtmgr -c serial1 logs log_list newtmgr -c serial1 image list but log in shell now has: newtmgr 4976:Dumping log reboot_log On Thu, Jan 12, 2017 at 8:33 PM, Jacob Rosenthal wrote: > log on shell

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Jacob Rosenthal
log on shell shows lots of these 9050:[0] rsn:SOFT, cnt:1, img:0.0.0.0 On Thu, Jan 12, 2017 at 8:28 PM, Jacob Rosenthal wrote: > All newtmgr commands on serial are hanging indefinitely. > Jacobs-MacBook-Air:mynewt-hr-observer jacobrosenthal$ newtmgr -c serial1 > image

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Jacob Rosenthal
All newtmgr commands on serial are hanging indefinitely. Jacobs-MacBook-Air:mynewt-hr-observer jacobrosenthal$ newtmgr -c serial1 image list ^C Jacobs-MacBook-Air:mynewt-hr-observer jacobrosenthal$ newtmgr conn show Connection profiles: serial1: type=serial, connstring='/dev/tty.usbmodem1411'

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Christopher Collins
On Thu, Jan 12, 2017 at 07:06:37PM -0700, Jacob Rosenthal wrote: > Still ok... and Im able to interact with shell over serial and I think its > advertising!? Not sure why my newtmgr wont connect then.. Ideas to > troubleshoot? So you are sending newtmgr commands over serial? Do all commands

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Christopher Collins
Hi Jacob, On Thu, Jan 12, 2017 at 07:19:11PM -0700, Jacob Rosenthal wrote: > OH really interesting.. In the updated documentation the biggest change > from what I was doing was splitty is the app and bleprph is the loader. Is > that intentional? Yes - the loader needs to contain everything

[RFC] nimble/l2cap: Add LE L2CAP COC API

2017-01-12 Thread Ɓukasz Rymanowski
This patch adds API for LE Connection Oriented Channels. Note that implementation is hided behind BLE_L2CAP_COC_MAX_NUM flag which defines maximum number of supported dynamic channels Overview: Idea is that credits are hidden from the user and controlled by the stack. User creates its own memory

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-12 Thread Christopher Collins
On Mon, Jan 09, 2017 at 10:48:48AM -0800, Christopher Collins wrote: > The boot sequence and upgrade procedure for the split image setup is a > bit complicated. I have been working on some documentation for this > area, but haven't quite finished it. I hope to have something ready in > a day or

newt target set bug

2017-01-12 Thread David G. Simmons
I created a JIRA Bug report on this (MYNEWT-543 ) but here's the TL;DR If you have anything already in your project's syscfg.yml and you use newt target set syscfg=SOME_VAL=0 it will wipe out your existing values already set in syscfg.yml You