*SOLVED* INV_ERROR_FIFO_FOOTER when reading second packet

By nikchu , 26 March 2012

Hello,

I have successfully ran the Teapot demo app with the AVR UC3-A3. I have also ported the embedded motion apps serial layer and OS-layer to the LPC1769 ARM Cortex M3 processor and been able to run the teapot demo app from this target as well.

But even though the Teapot demo app is working, the call to umplOnTimer() returns error code 63 - INV_ERROR_FIFO_FOOTER when reading the second packet.

The packet size is set to 42, and the first packet is read without problem. When the second packet is read, the contents of buffer[0] and buffer[1] in inv_get_fifo() does not match the contents of gFifoFooter[0] and [1] and I get INV_ERROR_FIFO_FOOTER.

What does this mean and how can I solve the problem?

EDIT:

Oops... Seems this problem is only occurring when debugging and halting program execution with breakpoints. I suspect this is because I halt the host processor, but of course the DMP is running and taking new samples anyway. This way I get a data mismatch.

When I dont halt on any break points this problem is not occurring.

Thanks anyway! :)

marcello_rubino2

13 years 11 months ago

@epsilon_mikael wrote:

I have also ported the embedded motion apps serial layer and OS-layer to the LPC1769 ARM Cortex M3 processor and been able to run the teapot demo app from this target as well.


Would you share your source?
Also did you design the M3 board yourself, or did you buy some devboard?
If the latter, please share the link.
I'm looking at exploring LPC MCUs but have to find a suitable source.
Don't want to design my own.
phpbb Post ID
19632
phpbb Topic ID
14235