Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need clarification on ASSERT.TXT file appearing on K64F rev 0241 #102

Closed
VeliMattiLahtela opened this issue May 10, 2016 · 2 comments
Closed
Labels

Comments

@VeliMattiLahtela
Copy link

Is this something major that we should be concerned about or is it something trivial that does not affect behaviour of the board.

No documentation on this issue.

The contents of the file:

cat /media/pi/DAPLINK1/ASSERT.TXT
Assert
File: ..\..\..\source\usb\msc\usbd_msc.c
Line: 237
Source: Application

Source application, does that tell that the application has hard faulted or something?

@VeliMattiLahtela VeliMattiLahtela changed the title Need clarification on ASSERT.TXT file appearing on K64F Need clarification on ASSERT.TXT file appearing on K64F rev 0241 May 10, 2016
@c1728p9
Copy link
Contributor

c1728p9 commented May 11, 2016

Hi @VeliMattiLahtela, this assert indicates that more data than expected was buffered on a write event. In this case this was a recoverable error, so the device didn't crash or hard fault. If you can provide steps to reproduce this problem it would greatly help me in fixing this.

Here is the line this error corresponds to:
https://github.com/mbedmicro/DAPLink/blob/34182e2cce4ca99073443ef29fbcfaab9e18caec/source/usb/msc/usbd_msc.c#L237

@c1728p9
Copy link
Contributor

c1728p9 commented Jan 9, 2017

I was able to reproduce this locally and found the root cause to be a logic error in the assert. This should be fixed by #219.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants