OK.. Thanks so much for keeping on this with me.
Im on nrf51dk-16kbram, so I swapped to that. Based on your numbers Id
still be running out of ram for the so I shrunk MSYS_1_BLOCK_SIZE as has
been discussed:
MSYS_1_BLOCK_SIZE: 76
text data bss dec hex filename
4936 112 15024 20072 4e68
/Users/jacobrosenthal/Downloads/mynewt-hr-observer/bin/targets/split-nrf51dk/app/apps/splitty/splitty.elf
Size of Loader Image: loader
110364 1172 10920 122456 1de58
/Users/jacobrosenthal/Downloads/mynewt-hr-observer/bin/targets/split-nrf51dk/loader/apps/bleprph/bleprph.elf
Looks better, but newtmgr image list seems to be hanging or timing out...
so I enable the shell
STATS_NEWTMGR: 0
CONFIG_NEWTMGR: 0
SHELL_TASK: 1
LOG_CLI: 1
text data bss dec hex filename
1424 0 15104 16528 4090
/Users/jacobrosenthal/Downloads/mynewt-hr-observer/bin/targets/split-nrf51dk/app/apps/splitty/splitty.elf
Size of Loader Image: loader
112356 1268 11048 124672 1e700
/Users/jacobrosenthal/Downloads/mynewt-hr-observer/bin/targets/split-nrf51dk/loader/apps/bleprph/bleprph.elf
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?
Also I was digging and found someone already PRed a ble transport for
newtmgr https://github.com/apache/incubator-mynewt-core/pull/73/files
but the api is a bit different now.. Anyone using that?
Thanks again. As Im sure you know, Hardly anyone else has a ble stack, and
nobody else's configures for 16kb targets, so this is pretty amazing.
On Thu, Jan 12, 2017 at 10:03 AM, Christopher Collins <[email protected]>
wrote:
> 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 two. In the meantime, please feel free to ask any follow up
> > questions.
>
> FYI - The split image documentation has been updated on the Mynewt site:
> http://mynewt.apache.org/latest/os/modules/split/split/
>
> Chris
>