Topic : How to examine VIC0, VIC1, UART1 in Ride7

Forum : ARM

Original Post
Post Information Post
June 11, 2010 - 6:23pm
Guest

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.

Replies
Post Information Post
+1
0
-1
June 30, 2010 - 5:54pm
Raisonance Support Team

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

+1
0
-1
June 30, 2010 - 11:33pm
Guest

VincentC wrote:

These views are not implemented. I can't say if they will ever be...If you have time you could add these views yourself. Look at the \sim\ARM\STR911FW42.sim file...

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.

+1
0
-1
July 1, 2010 - 9:58am
Raisonance Support Team

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

+1
0
-1
July 8, 2010 - 2:14pm
Guest

VincentC wrote:
I will send you the draft of the doc in a few days. It is being modified right now.

Is the doc ready?

+1
0
-1
July 8, 2010 - 3:22pm
Raisonance Support Team

Yes, a few hours ago. ;)

I will send it to you.

Best Regards,

Vincent

+1
0
-1
July 8, 2010 - 3:37pm
Guest

Received. Thanks.

+1
0
-1
February 20, 2012 - 12:51pm
Guest

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!