<?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>Trying to turn an LED on</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/28437/trying-to-turn-an-led-on</link><description> 
hi 

 
I have a STM32F103RB based board that im trying to write code for
to test the board. Previously i have only used 8 bit micros (8051 and
pic&amp;#39;s) so this is a step up. I have tried using the exam code found
in this thread ( http://www.keil.com/forum</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Trying to turn an LED on</title><link>https://community.arm.com/thread/104625?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2011 07:01:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8ee50cfb-783a-427e-91ff-a2cbf0ea5e81</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
So you have an unfamiliar processor with unknown software
&lt;i&gt;&lt;b&gt;and&lt;/b&gt;&lt;/i&gt; unknown hardware.&lt;/p&gt;

&lt;p&gt;
Do you not think it would be a better idea to at least start with
a known-good hardware platform?&lt;/p&gt;

&lt;p&gt;
Then, once you know you&amp;#39;ve understood how to do the software side,
you can move on to the custom hardware.&lt;/p&gt;

&lt;p&gt;
You can get an STM32 devkit - the STM32 Discovery board - for
under $10.&lt;br /&gt;
It comes complete with LEDs, and an example of how to drive those
LEDs.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.st.com/internet/evalboard/product/250863.jsp"&gt;www.st.com/.../250863.jsp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
$10 well spent, I&amp;#39;d say...&lt;/p&gt;

&lt;p&gt;
(if you speak nicely to your friendly local distributor, they
might even &lt;i&gt;give&lt;/i&gt; you one for free!)&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to turn an LED on</title><link>https://community.arm.com/thread/79056?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2011 02:43:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bc0cf964-a296-429b-a3bb-6c15769894bd</guid><dc:creator>jason edwards</dc:creator><description>&lt;p&gt;&lt;p&gt;
the board is a custom board based on the reference design from the
STM32F103 datasheet. the LED that im trying to turn on is connected
to pin PA0, but if i can get the above example working i can then
change the code to port a.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to turn an LED on</title><link>https://community.arm.com/thread/66313?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2011 22:55:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:217d38cb-39ef-45a4-92ca-667a7f8eaf71</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Which board, exactly?&lt;/p&gt;

&lt;p&gt;
Does it not come with any examples?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>