<?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>Another MCBSTM32E board/software problem</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/25833/another-mcbstm32e-board-software-problem</link><description> 
Hi, 

 
newbie getting a little tired of ARM and this hardware/software
thing... 

 
Using uVision4 with the MCBSTM32E board with a STM32F103ZE
processor. 

 
Besides the startup problem if I download some other example
(RTX_Blinky) from the installation</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/146581?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2010 12:07:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:faf3bb98-8982-4c61-95db-d914a10cf7c4</guid><dc:creator>doubt that my ISP Al Bradford</dc:creator><description>&lt;p&gt;&lt;p&gt;
Congrats! Thanks for the update.&lt;br /&gt;
Bradford&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/144934?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 23:58:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:59f4906a-009d-49d7-9b3a-6321a242dc20</guid><dc:creator>Daniel Moelle</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi all,&lt;/p&gt;

&lt;p&gt;
problem solved. Here&amp;#39;s how:&lt;/p&gt;

&lt;p&gt;
As I learnt from the LCD datasheet, the display controller is an
ILI9320. Datatsheets for that one are easy to find on the web. So I
cross-checked the register values in the GLCD_init() function with
the list from the datasheet.&lt;/p&gt;

&lt;p&gt;
There is a GS bit (&amp;quot;gate scan [direction]&amp;quot;?) in register 0x60
(&amp;quot;driver output control 2&amp;quot;). It was set to 0 by the init code
(&amp;quot;wr_reg(0x60, 0x2700);&amp;quot;). By flipping it to 1 (&amp;quot;wr_reg(0x60,
0xA700);&amp;quot;), the display got flipped as well - along the axis
intended, fortunately. :)&lt;/p&gt;

&lt;p&gt;
Thanks everyone, this helped!&lt;br /&gt;
Dan&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/144933?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 23:28:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:325b47e6-34cb-4678-8228-0e3493ae9ce3</guid><dc:creator>Daniel Moelle</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks Al! There seems to be a sufficient datasheet on the web
(&lt;a href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=AM240320L8TNQW+datasheet"&gt;www.google.com/search&lt;/a&gt;
- check the hit at &lt;a href="http://www.dema.net"&gt;http://www.dema.net&lt;/a&gt;). Interestingly enough,
this datasheet contains a preliminary stating that the document is
confidential and may not be disclosed to third parties, so it&amp;#39;s
surprising to find it on a public product page in a freely accessible
web shop (rather than in the starter kit box including the
super-secret LCD hardware).&lt;/p&gt;

&lt;p&gt;
Anyway. At a first glance, the registers and command bytes listed
in the datasheet seem to match the GLCD code, so this seems to be a
good point to start from. Thanks again!&lt;/p&gt;

&lt;p&gt;
Cheers&lt;br /&gt;
Dan&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/142680?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 21:58:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1da16643-162a-4a4c-9cdb-ed6aabb59722</guid><dc:creator>while ();</dc:creator><description>&lt;p&gt;&lt;p&gt;
Please install the latest MDK v4.13 as examples have been updated
for both older and newer displays and you should not have mirrored
problems.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/142683?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 18:52:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:37bca5e7-011c-4b98-a662-d728f86fdb07</guid><dc:creator>doubt that my ISP Al Bradford</dc:creator><description>&lt;p&gt;&lt;p&gt;
I really have no answer for your problem but the LCD is the Ampire
AM240320L8TNQW. I gooogled a couple of websites that said they have
the data sheets but I found no user&amp;#39;s guide.&lt;br /&gt;
Good luck and keep us informed on your progress.&lt;br /&gt;
Bradford&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/142679?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 15:00:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5806ec2a-addb-4a24-8e1f-81dd118cfdae</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Yes, sorry - just trying to understand exactly what it is that you
have!&lt;/p&gt;

&lt;p&gt;
Shame we can&amp;#39;t upload photos to this site...&lt;/p&gt;

&lt;p&gt;
Have you tried searching the ST forum?&lt;br /&gt;
I&amp;#39;m sure there&amp;#39;s been discussion there about reversed graphics on
DevKits...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/139675?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 12:51:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4e8a629e-f3ff-4f92-b46b-5073ffe68b2b</guid><dc:creator>Daniel Moelle</dc:creator><description>&lt;p&gt;&lt;p&gt;
Andy -&lt;/p&gt;

&lt;p&gt;
excuse the confusion, but all the things I have in front of me -
the order, the invoice, and the actual box - sport exactly that name,
&amp;quot;STM3210E-SK&amp;quot;.&lt;/p&gt;

&lt;p&gt;
You are absolutely correct that the starter kit and the board are
two different things. The board itself is an official, genuine KEIL
product (quote: &amp;quot;STMicroelectronics offers Keil&amp;#39;s evaluation boards
(single-board computers) to help you get started with the Keil
development tools&amp;quot;). The starter kit, however, is actually an ST
product involving a KEIL eval board. Amen. And yes, the eval board
itself really seems to be the MCBSTM32E. I guess this is just an ST
rewrap of the MCBSTM32E Starter Kit you referred to?&lt;/p&gt;

&lt;p&gt;
Either way, all this nomenclature war doesn&amp;#39;t help. I&amp;#39;m already
working with the MCBSTM32E examples. I already know they fit the
board except for the mirror effect. Hence, there is nothing to learn
from the above discussion. All I&amp;#39;m trying to figure out is how to
flip the output horizontally, or more fundamentally, where to get a
proper data sheet for the LCD that explains the control
registers.&lt;/p&gt;

&lt;p&gt;
Cheers&lt;br /&gt;
Dan&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/136230?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 09:04:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:97d9268d-0bce-4c53-9cbe-1f8a571acc61</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
All the &lt;b&gt;Keil&lt;/b&gt; boards listed on the products page have names
beginning &amp;quot;MCB...&amp;quot; - there is nothing listed as &amp;quot;STM3210E-SK&amp;quot;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/boards/"&gt;http://www.keil.com/boards/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
The only STM32-based boards appear to be MCBSTM32, MCBSTM32E, and
MCBSTM32C:&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/boards/cortexm.asp"&gt;http://www.keil.com/boards/cortexm.asp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Does &amp;quot;STM3210E-SK&amp;quot; refer to the &lt;b&gt;starter &lt;i&gt;kit&lt;/i&gt;&lt;/b&gt;
consisting of the MCBSTM32E &lt;b&gt;board&lt;/b&gt; plus uLink and Eval
software?&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/mcbstm32e/starterkit.asp"&gt;http://www.keil.com/mcbstm32e/starterkit.asp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
If it is a genuine Keil product, you should be able to contact
Keil support direct...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/126328?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 08:41:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:68958fd0-d0ba-4fbf-ab3b-bcfe37608323</guid><dc:creator>Daniel Moelle</dc:creator><description>&lt;p&gt;&lt;p&gt;
The board at hand is a KEIL STM3210E-SK. The directory
&amp;quot;Keil\ARM\Boards\Keil&amp;quot; lists a lot of board-specific example subdirs
ranging from the MCB1000 to the MCBZ32AN. The best match I saw was
the example directory MCBSTM32E (both in terms of peripherals and
MCU/SK name), and indeed, the example code works pretty well (LEDs,
ADC/POT1, GLCD).&lt;/p&gt;

&lt;p&gt;
That is, I agree to all you say, but the example code I mentioned
was the best hit so far: It works perfectly except for the mirroring
issue. That, and the code clearly shows that there are things like
direction flags for the GLCD. So I allow myself some hope that this
is a point to start from. At least it&amp;#39;s the best I know as of now. In
fact, given a proper datasheet for the GLCD, I bet the issue would be
trivial to fix.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/119045?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 08:11:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:30397a4c-350f-42be-bc64-7e4624575aab</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;we&amp;#39;ve got exactly (sic) the same problem here - mirrored GLCD
output on an STM3210E-SK -, but unfortunately, your solution doesn&amp;#39;t
apply because there are different files and projects in our MCBSTM32E
examples folder&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
The MCBSTM32E is a different product from a different
manufacturer, so you shouldn&amp;#39;t expect its examples to work on an
STM3210E-SK - should you?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/84710?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2010 07:50:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:91c33345-432b-434b-a9bc-b4cc53de7564</guid><dc:creator>Daniel Moelle</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;/p&gt;

&lt;p&gt;
we&amp;#39;ve got exactly the same problem here - mirrored GLCD output on
an STM3210E-SK -, but unfortunately, your solution doesn&amp;#39;t apply
because there are different files and projects in our MCBSTM32E
examples folder. Even worse, I cannot find any documentation on the
control registers and configuration of the display (MB895?) mounted
on the board. The documentation and software that comes with the kit
really seems a bit poor here?&lt;/p&gt;

&lt;p&gt;
Can anyone clearly describe the fix? Maybe one just has to change
some of the &amp;quot;write direction&amp;quot; control bits?&lt;/p&gt;

&lt;p&gt;
Cheers&lt;br /&gt;
Dan&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/104147?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2010 09:39:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:beb2ff2c-2798-4492-8869-c67691d05bd5</guid><dc:creator>edPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
But the big question is: What documentation did you get with the
board?&lt;/p&gt;

&lt;p&gt;
Since it is a development board and the same company ships sample
code for it, your board should have had some documentation about hw
revision and how you must take this into account when developing for
it or when running the sample applications.&lt;/p&gt;

&lt;p&gt;
QA is not just electrically working hardware. It also includes
that the hardware does what the documentation says.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/78538?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2010 06:28:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:589f7246-79b6-475a-a740-d781a8b2a4dd</guid><dc:creator>Henk van Winkoop</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;/p&gt;

&lt;p&gt;
Thanks All! My thrust in Keil Hardware/Software is back!&lt;/p&gt;

&lt;p&gt;
I opened both projects (A)Blinky and (B)RTX_Blinky.&lt;/p&gt;

&lt;p&gt;
(A) contains a driver file: GLCD_16bitIF_STM32.c&lt;br /&gt;
(B) contains a driver file: GLCD.c&lt;/p&gt;

&lt;p&gt;
I copied the contents of (A) into (B). Rebuild, download and the
display runs normal.&lt;/p&gt;

&lt;p&gt;
Thanks to all.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/58516?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2010 04:10:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f7ce9db7-73a2-4b51-9b64-cfc51b066c38</guid><dc:creator>while ();</dc:creator><description>&lt;p&gt;&lt;p&gt;
The thing is that different displays are put on the boards then
ones that were initially produced, so the examples were not yet
updated.&lt;/p&gt;

&lt;p&gt;
You can look for reference at LCB_Blinky example for MCBSTM32C
board in folder: \ARM\Boards\Keil\MCBSTM32C\LCD_Blinky\ you can look
at file GLCD_SPI_STM32.c&lt;br /&gt;
routine&lt;/p&gt;

&lt;pre&gt;
void GLCD_Init (void)
&lt;/pre&gt;

&lt;p&gt;
has support for both LCD displays old and new and you can analyze
it to change init routine to fit new display on MCBSTM32E board.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Another MCBSTM32E board/software problem</title><link>https://community.arm.com/thread/58519?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2010 02:24:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:10db0ccb-c73f-4813-8b1c-b96d2dbb946f</guid><dc:creator>edPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Maybe soon time to contact Keil support. Their hw designs is
normally good, but sometimes the factory testing is not stellar.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>