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

RTOS2 Debug #99

Closed
eugene345 opened this issue Oct 27, 2016 · 6 comments
Closed

RTOS2 Debug #99

eugene345 opened this issue Oct 27, 2016 · 6 comments
Labels

Comments

@eugene345
Copy link

I found that new feature was added recently. But after I choose Debug variant for Keil RTX5 component in the "manage run-time environment" window I see that new component required, which is not available from current packs:

image

And another question. Do you plan to integrate CMSIS 5 with the "Event viewer" and "System and thread viewer"? I use "Component viewer" now, but it is not so informative as tools above.

@RobertRostohar
Copy link
Collaborator

The required dependency on Event Recorder is removed now (it will be optional to use it - not yet supported).

"Component Viewer" is a replacement for "System and thread viewer" and provides much more information.

"Event Viewer" is being replaced with "Event Recorder" which will also provide more events (not just thread switches).

@eugene345
Copy link
Author

Is there any option to show in the Component viewer information about dynamically allocated objects?

I can see the new component - Event recorder. But it uses CMSIS-DAP. Does it mean that high-grade debuggers (such as ULINKpro) become useless when debugging RTOS applications? Because there is no CMSIS-DAP driver for it.
And also CMSIS-DAP doesn't support ETM. So, if driver appears, adapter will loose access to ETM.

@RobertRostohar
Copy link
Collaborator

RobertRostohar commented Nov 15, 2016

Is there any option to show in the Component viewer information about dynamically allocated objects?

Yes, dynamically allocated objects should be shown.

Event recorder. But it uses CMSIS-DAP

It does not use CMSIS-DAP but Debug Access Port (DAP) and will work with any debugger connected through DAP (JTAG/SWD). There is no need for any CMSIS-DAP driver or any other adaptation of existing debuggers.. Also it does not require SWO or ETM.

@eugene345
Copy link
Author

Thanks for the explanation.
Does RTOS2 have event annotations to work with Event recorder now?

@jankap
Copy link

jankap commented Nov 29, 2016

Thanks for the explanation.
Does RTOS2 have event annotations to work with Event recorder now?

That is interesting for me too, because with uvision 5.22, RTX5 and CMSIS-RTOS2 the event recorder remains empty (except my own test messages) and the event viewer (which is very important for us, because of the good overview in time) does not display the threads, only exceptions. The latter makes sense because I couldn't find any source code writing to ITM Port 31 anymore (HAL_CM.c has done this before). Is there a timeline when these features are expected to work again?

Thank you!

edit: I'm sorry, did not see this information: #113
Anyway, will some kind of logical analyzer be available as the event viewer is doing atm?

@ReinhardKeil
Copy link
Collaborator

released as part of CMSIS 5.0.1

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

4 participants