<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/42699/simulate-data-bus-width-of-16-bit-for-external-memory</link><description> Is it possible to simulate external memory with a DBW of 16-bit? My external memory is setup so that 2 chips with 8-bit memory are sharing the same memory location. I would like to be able to simulate this with the uVision debugger. I enabled the memory</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/130004?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2005 09:05:30 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bc3d3bd8-f23b-466a-bf84-415bb2b74989</guid><dc:creator>Richard Nigro</dc:creator><description>&lt;p&gt;Ok, forgetting data bus width, I don&amp;#39;t think data bus width is my problem. I have 32k worth of addresses (0x000 - 0x7FFF) and each addresses can hold 2 bytes (16 bits) worth of data. That&amp;#39;s 64kBytes worth of data from 0x1000000 to 0x10007FFF. How can I get the simulator to reflect that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/97671?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2005 09:04:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e84aa6e4-225b-448f-8d89-c8db43a0b344</guid><dc:creator>Richard Nigro</dc:creator><description>&lt;p&gt;Ok, forgetting data bus width, I don&amp;#39;t think data bus width is my problem.  I have 32k worth of addresses (0x000 - 0x7FFF) and each addresses can hold 2 bytes (16 bits) worth of data.  That&amp;#39;s 64kBytes worth of data from 0x1000000 to 0x10007FFF.  How can I get the simulator to reflect that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/123068?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2005 07:45:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a0bab350-8720-4b61-b2fa-6cdcd9520243</guid><dc:creator>Richard Nigro</dc:creator><description>&lt;p&gt;Okay, thanks.  I was beginning to suspect that my concept of the data bus width was not correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/111800?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2005 07:34:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:990ac57e-67bd-44d1-9ba5-898d4a51d039</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;The memory windows shows addresses. Each address correspons to a single byte.&lt;br /&gt;
&lt;br /&gt;
Maybe you take a look to ARM hardware manuals to see how this is mapped to physcial memory.  However these basics are really hard to explain in words.  The memory width does not change the physicall address behaviour at all.&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/97672?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2005 07:28:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4487c4fc-260c-4481-8c8d-c0647bdfe164</guid><dc:creator>Richard Nigro</dc:creator><description>&lt;p&gt;I have 2 32k x 8 EEPROM chips.  One is connected to AD0 - AD7 and the other is connected to AD8 - AD15.  Both are mapped to the same memory location.  ADuC7026 maps the external memory selection 0 to 0x10000000 to 0x1000FFFF.&lt;br /&gt;
&lt;br /&gt;
Say I were execute the following function :&lt;pre&gt; void writeMem (void) {
   float *ptr = 0x10000000;

   *ptr++ = 32.65;
   *ptr   = 45.76;
}&lt;/pre&gt; In external memory the 32-bit float number should take up 2 memory addresses (2 x 16).  When I open up the &amp;quot;Memory Window&amp;quot; I see that the float number has taken up address 0x10000000 to 0x10000003 (4 x 8).&lt;br /&gt;
&lt;br /&gt;
Now maybe I&amp;#39;m mistaken about how a 16-bit data bus is used, but it looks to me like only AD0 - AD7 were used in this example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/97660?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2005 02:29:00 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ce1e74b9-8e84-4977-9bed-f7f7dc4db69a</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;Just one more side note.  The Keil uVision Simulator fully simulates all the external bus timings like bus width and wait states.&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/97659?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2005 02:28:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ab30c0af-acfd-4e76-8ba3-d234cdec49eb</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;Just one more side note.  The Keil uVision Simulator fully simulates all the external bus timings like bus width and wait states.&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/87482?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2005 02:14:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:feaf27dd-4c0b-4221-b427-14f8b9b4c397</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;data bus width has no impact to &amp;#39;float&amp;#39; size.  Maybe you can be a little more precise in describing your problem.&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/73647?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2005 07:47:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1caf2284-fdb8-4bbe-a93d-0639d7deae00</guid><dc:creator>Richard Nigro</dc:creator><description>&lt;p&gt;Sorry, I&amp;#39;m simulating an ADuC7026.  I configure it in the following manner.&lt;br /&gt;
&lt;pre&gt; GP2CON = 0x02222000; // WS, RS, AE, MS0
 GP3CON = 0x22222222; // AD0 - AD7
 GP4CON = 0x22222222; // AD8 - AD15

 XMCFG = 1;       // Enable external memory access
 XM0CON = 3;      // 16-bit DBW, Enable memory region 0
 XM0PAR = 0xA722; // Enable byte write strobe&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulate Data Bus Width of 16-bit for External Memory</title><link>https://community.arm.com/thread/45094?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2005 04:41:38 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9b9a5ba5-2e02-4ce7-8f44-c9fcf5fb75ba</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;Which device are you simulating?&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>