Forum : ARM
Post Information | Post |
---|---|
June 11, 2010 - 6:23pm
|
One Sentence Summary: What is the best way to look at the UART and VIC modules in the debugger? I have Ride7 v7.28.10.0075 and RKit-ARM v1.26.10.0130. My target processor is the STR911FW42. In the Debug Explorer window, there is a Peripherals list: CP15, SCU, CAN, I2C{0,1}, Watchdog, GPIO{0..5}, USB And each is very handy for inspecting the bits in the registers of those modules because the meaning of each bit and setting is spelled out. Is there any way I can get that functionality for the VIC and UART registers? -- Also, in my code I have "#include <91x_lib.h>" which allows me to have code like this: VIC1->INTER = someValue; However, when I add a watch for things like VIC1, GPIO6, or UART1, I get this message in the watch window: "error(3): Undefined symbol". I noticed the libraries also defines symbols like _VIC1 (which is in the map file). Is there a way to get the debugger to recognize any of the VIC1, _VIC1, _VIC1_BASE, etc symbols so I can add watches for them? Many thanks. |
Hi,
These views are not implemented. I can't say if they will ever be. (STR9 is low priority now)
So the only way to view the values is in the data dump, and the interpretation must be done "at hand" with the device reference manual.
If you have time you could add these views yourself. Look at the \sim\ARM\STR911FW42.sim file to see how they are done for the other peripherals. (search for "[GPIO0]" to see how the GPIO0 view is done, etc.)
If you feel like trying that, I can send you the draft of a more complete doc about it.
Best Regards,
Vincent
If I add some peripherals to the STR911FW42.sim file, what is the likelihood I can get those changes into the next version of RKit-ARM?
Thank you very much for your response; it was very helpful.
Hi,
It would be easy for us to include such changes from you into the official release, if you are willing to share your work with the community.
I will send you the draft of the doc in a few days. It is being modified right now.
Best Regards,
Vincent
Is the doc ready?
Yes, a few hours ago. ;)
I will send it to you.
Best Regards,
Vincent
Received. Thanks.
Sorry to resurrect an old thread but is it possible to get the document mentioned above - or if an updated sim file is available, that would be even better!