Re: Firmware update with MyNewt

2017-01-17 Thread aditi hilbert
Then, Have you taken a look at https://mynewt.apache.org/latest/os/modules/bootloader/bootloader/ ? thanks, aditi > On Jan 17, 2017, at 10:00 PM, then yon wrote: > > Dear Support, > > I wish to

Firmware update with MyNewt

2017-01-17 Thread then yon
Dear Support, I wish to workout with firmware update in mynewt platform. If i understand correctly the bootloader should able to do this, but i cant found any documentation on this. While i looking into bootloader coding, can you help to give me a hint/guide to start with? Appreciate on

IDE used for Mynewt Development

2017-01-17 Thread Lm Chew
Hi, Before moving to mynewt platform, I worked with Nordic SDK using Eclipse IDE and uses CDT Parser to parse the makefile output to display useful information in Eclipse. And was able to use the GDB to perform debugging in Eclipse. (https://devzone.nordicsemi.com/tutorials/7/) Tutorials -

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

2017-01-17 Thread Jacob Rosenthal
Used your settings to be sure were the same (cool override in the target) JLinkExe -if SWD -device nRF51822 -speed 1000 erase all q newt size shows were under 112238 110532 1276 10664 122472 1de68

Re: sys/stats and sys/log

2017-01-17 Thread marko kiiskila
Ok, (mostly) done. I named the full implementation and stub similarly to console. I.e. sys/log is now under sys/log/full. And stats sys/stats/full. Unfortunate side-effect of this is that the app dependencies will have to adjusted. Previously, app might not have even needed to explicitly list

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

2017-01-17 Thread Jacob Rosenthal
Thanks Chris! Tried some more with the new upstreamed code but a few more issues... Still had to add the serial transport to bleprph, not sure if you left that out of there on purpose for code size.. - mgmt/newtmgr/transport/nmgr_shell newt run split-nrf51dk 0 and it responds to newtmgr

Re: sys/stats and sys/log

2017-01-17 Thread will sanfilippo
I think the stub approach is fine as well. > On Jan 17, 2017, at 1:43 PM, Kevin Townsend wrote: > > I don't have any issues with the stub approach myself, and it's easy to > switch back and forth (no more work than changing syscfg.yml) > > > On 17/01/17 22:07, marko

Re: sys/stats and sys/log

2017-01-17 Thread Kevin Townsend
I don't have any issues with the stub approach myself, and it's easy to switch back and forth (no more work than changing syscfg.yml) On 17/01/17 22:07, marko kiiskila wrote: Hi, at the moment it is not very easy to get rid of all code related to logging and/or statistics. I ran across this

Re: Bluetooth specification question after seeing Android 7.1.1 disconnect

2017-01-17 Thread will sanfilippo
It was not a phone I was using. I think it was a Nexus 6P. And yeah, I shouldnt’t have said “Android” when I was mentioning the bug. I have used other Android phones and they dont have this issue. Well, I have used one other Android Phone (I think it was a Nexus 5x) and there was no issue.

Re: SPI/I2C on Arduino Primo

2017-01-17 Thread Kevin Townsend
You can look at the LSM303DLHC driver I implemented here as a starting point for I2C ... that should cover the basics like the I2C transactions, which is 1/2 the work already: https://github.com/apache/incubator-mynewt-core/tree/sensors_branch/hw/drivers/sensors/lsm303dlhc You have to look in