Hello David: I did not attempt to re-test all the apps you mentioned below, but bletiny on the nrf52dk is working just fine.
Another note: the release is on branch 1_0_0_b2_dev. That is the branch I would use, or check out the tag (mynewt_1_0_0_b2_rc1_tag). Thanks > On Feb 7, 2017, at 8:07 AM, Christopher Collins <[email protected]> wrote: > > Hi David, > > Could your version of the newt tool be out of date? Some backwards > compatibility breaking changes were made about two weeks ago. If that > isn't the problem, could you grab a backtrace in gdb at the point of the > crash ("bt" or "where" in gdb)? > > Thanks, > Chris > > > On Tue, Feb 07, 2017 at 09:43:19AM -0500, David G. Simmons wrote: >> Having some trouble this morning with the nrf52dk board. >> >> 389 sysinit(); >> (gdb) n >> >> Program received signal SIGTRAP, Trace/breakpoint trap. >> __assert_func (file=file@entry=0x0, line=line@entry=0, func=func@entry=0x0, >> e=e@entry=0x0) at >> repos/apache-mynewt-core/kernel/os/src/arch/cortex_m4/os_fault.c:125 >> 125 asm("bkpt"); >> >> I've updated both mynewt_nordic and apache-mynewt-core to the latest develop >> branches, and >> >> int >> main(int argc, char **argv) >> { >> int rc; >> >> /* Initialize OS */ >> sysinit(); >> >> ... >> >> Fails at sysinit() >> >> I've built a new bootloader (just in case). I thought maybe it was something >> I was doing in my app, so I built and loaded core/apps/bleprph and >> >> 259 sysinit(); >> (gdb) n >> >> Program received signal SIGTRAP, Trace/breakpoint trap. >> __assert_func (file=file@entry=0x0, line=line@entry=0, func=func@entry=0x0, >> e=e@entry=0x0) at >> repos/apache-mynewt-core/kernel/os/src/arch/cortex_m4/os_fault.c:125 >> 125 asm("bkpt"); >> >> So it appears that something is broken for at least the nrf52dk dev board ... >> >> cd repos/apache-mynewt-core/ >> DSimmons-Pro:apache-mynewt-core dsimmons$ git status -v >> On branch develop >> Your branch is up-to-date with 'origin/develop'. >> cd ../mynewt_nordic/ >> DSimmons-Pro:mynewt_nordic dsimmons$ git status -v >> On branch develop >> Your branch is up-to-date with 'origin/develop'. >> nothing to commit, working tree clean >> >> dg >> -- >> David G. Simmons >> (919) 534-5099 >> Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • >> Linkedin <http://linkedin.com/in/davidgsimmons> • Twitter >> <http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs> >> /** Message digitally signed for security and authenticity. >> * If you cannot read the PGP.sig attachment, please go to >> * http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!! >> * Public key available at keyserver.pgp.com <http://keyserver.pgp.com/> >> **/ >> ♺ This email uses 100% recycled electrons. Don't blow it by printing! >> >> There are only 2 hard things in computer science: Cache invalidation, naming >> things, and off-by-one errors. >> >> > >
