Jan 13, 2021
05:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 13, 2021
05:58 AM
Hi guys,
while developing a firmware on the XMC1404 I noticed a bug in the ADC_QUEUE app which can be exposed from the ADC_MEASUREMENT_ADV app. Is there a better place to submit bugs than this forum?
About the bug itself:
When clearing the queue with the ADC_QUEUE_ResetListContents function the internal list of callback function pointers is cleared but not the counter of how many callbacks are registered. Thus, when later adding a new entry to the ADC queue, the callback is registered at the end of the list. When the AD conversion has finished, the ADC_QUEUE calls those erased pointers, crashing the controller. I am not sure if there is a more recent version of the module available, mine is v4.0.20 from 2016-08-18.
Best regards,
Tobi
while developing a firmware on the XMC1404 I noticed a bug in the ADC_QUEUE app which can be exposed from the ADC_MEASUREMENT_ADV app. Is there a better place to submit bugs than this forum?
About the bug itself:
When clearing the queue with the ADC_QUEUE_ResetListContents function the internal list of callback function pointers is cleared but not the counter of how many callbacks are registered. Thus, when later adding a new entry to the ADC queue, the callback is registered at the end of the list. When the AD conversion has finished, the ADC_QUEUE calls those erased pointers, crashing the controller. I am not sure if there is a more recent version of the module available, mine is v4.0.20 from 2016-08-18.
Best regards,
Tobi
Solved! Go to Solution.
1 Solution
Jan 14, 2021
03:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 14, 2021
03:43 AM
1 Reply
Jan 14, 2021
03:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 14, 2021
03:43 AM
Thanks for reporting the issue. We will fix it in the next release.