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

More RTOS trace for the mc4plus board #213

Merged
merged 2 commits into from
Nov 4, 2021
Merged

More RTOS trace for the mc4plus board #213

merged 2 commits into from
Nov 4, 2021

Conversation

marcoaccame
Copy link
Contributor

@marcoaccame marcoaccame commented Nov 3, 2021

This PR builds up on the results logged with the mc4plus application generated by a former PR and adds further trace information for the RTOS according to what the analysis of the log has shown (see here).

In particular in here we trace the execution of the function osal_messagequeue_getquick().
We have added for this purpose 16 more variables in which:

  • OS00 contains a value which show the progress of execution,
  • OS01 to OS15 contain snapshots of the variables.

A companion PR is being produced in icub-firmware-build for a new binary of the mc4plus.

Tests on a dedicated setup have validate the binary of the mc4plus generated by this PR so we can safely merge this code and associated PR on icub-firmware-build.

@marcoaccame marcoaccame marked this pull request as draft November 3, 2021 13:46
@marcoaccame marcoaccame marked this pull request as ready for review November 4, 2021 07:14
@marcoaccame marcoaccame merged commit 30f979d into robotology:devel Nov 4, 2021
marcoaccame added a commit to robotology/icub-firmware-build that referenced this pull request Nov 4, 2021
also added the related .map files which tell mapping of assembly instructions
and functions into the code space. these files can be used to locate the hex
addresses contained in the diagnostics

- built:
  - mc4plus v3.40, build 02 nov 2021 @ 12:11
- main changes from previous release are:
  - the fatal error handler which forces the the restart sends even more advanced diagnostics able to trace
    further actions inside the RTOS (see robotology/icub-firmware#213).
    these diagnostics are to be decoded w/ relevant .map file.
@marcoaccame marcoaccame deleted the feat/mc4plus-trace-rtos branch January 11, 2022 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant