Exactly, something is changing the memory layout and forcing the error
to happen.

I can try duplicate it later, but I think it could be specific for
your board configuration. What board/MCU are you using?

BR,

Alan

On 12/22/21, Tim <t...@jti.uk.com.invalid> wrote:
> Usb_msc_main.c
>
> If I add a "return OK" as the first line of main, msconn runs and returns.
>
> If I put a printf statement before it, I get a crash.
>
> If I do the same in an example app I've written, it is fine.
>
> If I put a breakpoint at the printf statement and step over it, into there
> it gets to "void exit(int status)", then nxtask_exithook(tcb, status,
> false), then group_leave(tcb).
>
> This is crazy...I just don't get this - surely a built in system app should
> not be crashing like this!!!
>
>
>
>

Reply via email to