Re: Re: Re:Re: mm/mm_heap assertion error

2024-03-12 Thread Alan C. Assis
gt; > > > > The "StackMax" above is 0x7093000 (118042624). But how can this work > for the short-lived threads like "AppBringUp" thread? > > > > Regards, > yf > > > > > Original > > > > From:"Alan C. Assis"&

Re: Re:Re: mm/mm_heap assertion error

2024-03-12 Thread Nathan Hartman
One possibility is stack was too small before and overflowed. Another possibility is that stack size is OK but some code makes an out-of-bound write to an array on the stack. Try Alan's suggestion to use stack monitor, and that will help understand if there is something wrong. (If it shows that

Re: Re:Re: mm/mm_heap assertion error

2024-03-12 Thread Alan C. Assis
You can use the stack monitor to see the stack consumption. Best Regards, Alan On Tue, Mar 12, 2024 at 7:38 AM yfliu2008 wrote: > Dear experts, > > > > After enlarging the stack size of "AppBringUp" thread, the remote > node can boot NSH on RPMSGFS now. I am sorry for not trying this earlier.