# Memory location view in Dynamic C for RCM6750.

**URL:** <https://forums.digi.com/t/memory-location-view-in-dynamic-c-for-rcm6750/14433>\
**Category:** Rabbit Software\
**Tags:** dynamicc, dynamic-c, rcm6750, sram, rabbit\
**Created:** [February 25, 2015, 11:21pm UTC](https://forums.digi.com/t/memory-location-view-in-dynamic-c-for-rcm6750/14433 "2015-02-25T23:21:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maniac84](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@maniac84](https://forums.digi.com/u/maniac84)\
**Post date:** [February 25, 2015, 11:21pm UTC](https://forums.digi.com/t/memory-location-view-in-dynamic-c-for-rcm6750/14433/1 "2015-02-25T23:21:12Z")

</div>

Hi guys,

May I ask is there anyway we are able to view the data in a specific location in the memory of RCM6750 especially the RAM?

Someone suggest me to view the .org files after compilation but it only stated the memory range and used range for a specific type of memory.

It will be very helpful if I can view the data which stored in a specific RAM location ie. 0x80000 from the Dynamic C during debugging. Is there a way?

---

<div class="post-metadata">

**Author:** ![petermcs](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@petermcs](https://forums.digi.com/u/petermcs)\
**Post date:** [February 26, 2015, 3:14am UTC](https://forums.digi.com/t/memory-location-view-in-dynamic-c-for-rcm6750/14433/2 "2015-02-26T03:14:59Z")

</div>

Unfortunately the DC IDE does not have a memory dump window to allow looking at arbitrary locations in a nice hex dump fashion.

The only thing you can do for examining arbitrary memory like that is using the watch window to enter expressions like:

\*(long \*)0x4000 which would display the contents of a root memory location as a 32 bit value location or \*(long far \*)0x80000 to display a far memory location.

\*(char \*)0x4000 and \*(short \*)0x4000 for 8 and 16 bit.

You can also use casting to structures:

_(_(struct io\_point\_config \*)0x4000 displays the root memory at 0x4000 as an io\_point\_config structure so you can examine the contents broken down into detail.

You can probably get even more creative but at least this gives you something to work with.

Regards,  
Peter

---

<div class="post-metadata">

**Author:** ![trooper2](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@trooper2](https://forums.digi.com/u/trooper2)\
**Post date:** [February 27, 2015, 11:50am UTC](https://forums.digi.com/t/memory-location-view-in-dynamic-c-for-rcm6750/14433/3 "2015-02-27T11:50:36Z")

</div>

You can use the Inspect - Dump at Address option to dump memory. See details in the DC 10 user manual.

---

<div class="post-metadata">

**Author:** ![petermcs](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@petermcs](https://forums.digi.com/u/petermcs)\
**Post date:** [February 28, 2015, 1:08am UTC](https://forums.digi.com/t/memory-location-view-in-dynamic-c-for-rcm6750/14433/4 "2015-02-28T01:08:13Z")

</div>

D’oh! I think I’ve been staring at DC for so long that I’ve forgotten about the bits I don’t automatically use!
