Top Questions - ThingsOpen - open discussion about the STM8S-Discovery most recent 30 from http://thingsopen.com 2010-09-09T06:08:38Z http://thingsopen.com/feeds http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://thingsopen.com/questions/29/which-pins-to-use Which pins to use Douglas 2010-07-27T22:01:12Z 2010-07-27T22:01:12Z <p>I've never used a microcontroller before. I recently bought an STM8S to teach myself, and I've figured out how to do a lot of things with the onboard LED. Which pins do I use to attach more LEDs? (for example to GPIO_PIN_1 on GPIOD)</p> http://thingsopen.com/questions/18/linker-errors-cant-open-file Linker errors - can't open file... id 2010-01-07T01:36:57Z 2010-05-13T22:59:20Z <p>I got the following errors while trying to build discovery example project</p> <pre><code>Running Linker clnk -l"C:\Program Files\COSMIC\CXSTM8_16K\Lib" -o Debug\discover.sm8 -mDebug\discover.map Debug\discover.lkf #error clnk Debug\discover.lkf:27 can't open file crtsi0.sm8 #error clnk Debug\discover.lkf:47 can't open file libis0.sm8 #error clnk Debug\discover.lkf:48 can't open file libm0.sm8 The command: "clnk -l"C:\Program Files\COSMIC\CXSTM8_16K\Lib" -o Debug\discover.sm8 -mDebug\discover.map Debug\discover.lkf " has failed, the returned value is: 1 exit code=1. discover.elf - 5 error(s), 0 warning(s) </code></pre> <p>Any hints much appreciated.</p> http://thingsopen.com/questions/7/whats-the-best-way-to-connect-the-headers-to-a-seperate-prototyping-board What's the best way to connect the headers to a seperate prototyping board? Mark Wetter 2009-12-05T20:26:16Z 2010-04-14T16:13:26Z <p>I'm relatively new to this and I was curious as to how people generally connect the pins on the project board to a workspace like a breadboard for prototyping.</p> http://thingsopen.com/questions/1/best-compiler-ide-for-stm8s-discovery-on-gnu-linux Best Compiler / IDE for STM8S Discovery on GNU/Linux alangapasa 2009-12-02T11:11:42Z 2010-03-05T15:49:19Z <p>The compiler/I.D.E. downloaded from ST are Windows only.</p> <p>Do they work on Linux with Wine?</p> <p>There is some native Linux alternative?</p> http://thingsopen.com/questions/22/can-an-admin-or-moderator-please-bootstrap-the-community Can an admin or moderator please bootstrap the community? Troy J. Farrell 2010-01-21T16:14:29Z 2010-02-07T03:18:29Z <p>In order to up-vote a question or answer, a user needs 15 reputation points. We can't get these because no one can up-vote anyone. We need an administrator or moderator to get things started.</p> <p>Question: will the administrators and moderators abandon ThingsOpen or will they bootstrap the community?</p> http://thingsopen.com/questions/19/what-makes-stm8s-discovery-so-special What makes STM8S-Discovery so special? Troy J. Farrell 2010-01-11T16:31:19Z 2010-02-04T23:20:20Z <p>I've used 8-bit microcontrollers before. Specifically, I'm familiar with the PIC 18F family from Microchip. Aside from being cheap and coming with a programmer as part of the package, why should I learn the STM8S family of processors? What are the compelling features of the development package and the microcontrollers?</p> http://thingsopen.com/questions/15/how-to-use-stm32-part-of-stm8s-discovery How to use STM32 part of STM8S-Discovery Jason 2009-12-24T03:15:04Z 2010-02-04T16:27:37Z <p>The STM8S-Discovery has a JTAG port for programming the STM32F103C8T6 ST-LINK part of the board. Though there is only the USB connection, two I/O lines (for the SWIM interface) and a LED which are easily accessible (plus the JTAG lines themselves once programmed) it could still be fun to play with - a single STM32 chip costs more than the STM8S-Discovery.</p> <p>With a recoded STM32 it should be possible (with appropriate rewiring and bridging software) to USB enable the STM8S as a HID or CDC (Serial) device thru the STM32.</p> <p>Does anyone have any information or pointers to software and hardware needed to program the STM32? Is anyone using the STM8S-Discovery as an STM32 development plaform?</p> <p>If anyone can work out how to use one Discovery ST-LINK to program another that would be very useful. Ideally it would just need one ST-LINK JTAG port linking to the other.</p> http://thingsopen.com/questions/4/how-can-i-snap-apart-the-two-boards-and-still-use-them-together How can I snap apart the two boards and still use them together? nave.notnilc 2009-12-03T20:04:50Z 2010-01-31T17:27:10Z <p>The STM8S-Discovery is designed to snap apart into two boards, the programmer and the one with the MCU itself. What do I do to use them together after snapping them apart?</p> http://thingsopen.com/questions/13/how-do-i-use-ride-simulator-for-code-time-measurments How do I use Ride Simulator for code time measurments ? Jason 2009-12-17T09:13:20Z 2009-12-17T09:13:20Z <p>I am writing some bit-banged serial code which works when run on the STM8S-Discovery so I know the code's timing is correct ( within +/-5% ), but when simulating in Ride the elapsed time bears no relationship to what it is in practice. The code loop takes 208us approximately but the elapsed time shows "0s.000m.155". Running at 16MHz on the chip and in simulator.</p> <p>Does anyone know what I am doing wrong or how to get more correct timing?</p> http://thingsopen.com/questions/8/how-can-i-mix-up-assembler-and-c-in-one-project How can I mix up Assembler and C in one project? Mr Foo 2009-12-05T21:21:39Z 2009-12-05T21:21:39Z <p>Here's how - <a href="http://stm8sdiscovery.blogspot.com/" rel="nofollow">http://stm8sdiscovery.blogspot.com/</a></p>