David:

It seems like, from this email, that things are now working for you. Are you 
still going to vote -1 or are you going to change your vote?


> On Feb 8, 2017, at 5:33 AM, David G. Simmons <[email protected]> wrote:
> 
> 
>> On Feb 7, 2017, at 2:38 PM, marko kiiskila <[email protected]> wrote:
>> 
>> can you get a backtrace of that crash?
> 
> Sorry, I was not able to get a backtrace ... my shell history didn't go back 
> far enough and I've been playing around with stuff for hours. 
> 
>> 
>> Develop branch and the 1.0.0 beta2 release branches have diverged a bit, so 
>> we
>> should see what this assert() is about.
> 
> I did get the 1.0.0B2 branch installed, and things seem to be better ... at 
> least with the bundled apps. I *did* finally have to completely erase the 
> chip and start over before it all went away.
> 
>> One issue I ran across a month back with nrf52 and sys/reboot package. The 
>> flash area
>> containing FCB was holding some other data. This was causing fcb_init() on 
>> that region to
>> return non-zero. Thereby causing sys/reboot package init to assert() during 
>> sysinit().
>> I think I had been playing around with boot loader with was bigger in size, 
>> and
>> had trailing part of my big bootloader in that area.
>> 
>> The way I sorted that out was by erasing the flash, and then reinstalled 
>> bootloader
>> and my app again.
> 
> I will try this as I'm seeing the ADC malfunctioning and getting the same 
> error
> __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");
> from an assert() 
> 
> ...
> 
> Forgot to hit send yesterday ... And I found the culprit here as well. 
> 
> 
> 
> --
> David G. Simmons
> (919) 534-5099
> Web • Blog • Linkedin • Twitter • GitHub
> /** Message digitally signed for security and authenticity.  
> * If you cannot read the PGP.sig attachment, please go to 
>  * http://www.gnupg.com/ Secure your email!!!
>  * Public key available at 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.
> 
> 

Reply via email to