1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

Eclipse setup for STM32F

Discussion in 'Embedded' started by Fredxx, Feb 19, 2013.

  1. Fredxx

    Fredxx Guest

    I can get the build and basic debug working, but wondering if there was
    any easy way of viewing or manually changing CPU internal registers,
    such as SPI and GPIO?

    I'm currently stumped and wondering if this is actually achievable?
    Fredxx, Feb 19, 2013
    1. Advertisements

  2. Fredxx

    Fredxx Guest

    It may be bad form to reply to your own question, but the answer is here:
    Fredxx, Feb 19, 2013
    1. Advertisements

  3. Fredxx

    dbr Guest

    dbr, Feb 19, 2013
  4. Fredxx

    Tim Wescott Guest

    I think it's just fine -- someone raised a question, someone answered it.

    If you go asking questions just to answer them -- that's bad form. And
    kinda pitiful.

    My liberal friends think I'm a conservative kook.
    My conservative friends think I'm a liberal kook.
    Why am I not happy that they have found common ground?

    Tim Wescott, Communications, Control, Circuits & Software
    Tim Wescott, Feb 20, 2013
  5. Fredxx

    Fredxx Guest

    I am really not that sad. Just spent quite some time hunting for any
    help on the net, then stumbled across this site.
    Fredxx, Feb 20, 2013
  6. Fredxx

    Tim Wescott Guest

    I know how it goes. Sometimes it seems that you just have to expose your
    ignorance in public, then POOF! the answer drops into your lap.
    Tim Wescott, Feb 20, 2013
  7. Fredxx

    Fredxx Guest

    Well I'm now having problems in changing peripheral registers, or their
    memory locations in "memory monitor".

    I make a change and as soon as I hit return the value springs back to
    its reset value. Similarly for peripheral register values which
    similarly spring back after a step instruction!
    Fredxx, Feb 20, 2013
  8. Fredxx

    Fredxx Guest

    Strange, I deleted all of the old Eclipse and plugins and downloaded
    Juno SR1. I copied this over to the preferred directory, installed the
    necessary plugins and hey presto it works!!
    Fredxx, Feb 21, 2013
  9. Fredxx

    Ben Bradley Guest

    What's terribly, incredibly and truly bad form is asking a
    question, then later posting a short "Never mind, I found the answer!"
    and never to be heard from again.
    Ben Bradley, Feb 22, 2013
  10. Fredxx

    Fredxx Guest

    If I was a spammer, or was involved with any of the projects then I
    would agree. But there are many helpful people on Newsgroups who
    go out of there way to help others. I wouldn't want to waste their time
    if I had already found the answer.
    Fredxx, Feb 22, 2013
  11. Fredxx

    hamilton Guest

    Do you think others would have liked to see the answer,

    even if you did answer it yourself ?
    hamilton, Feb 22, 2013
  12. Fredxx

    David Brown Guest

    Yes, that's the key point.

    People often forget that Usenet archives are a major resource. When you
    google for more specialised problems, it's not uncommon to get a Usenet
    (or mailing list) archive in the result. That's why it's important to
    give the answer, even if no one seems interested at the time. And it is
    also one of the reasons why proper quoting, snipping, threading, and
    posting style (i.e., not top-posting) is important for public messages.


    David Brown, Feb 25, 2013
  13. Fredxx

    Fredxx Guest

    Many thanks for the sentiments. I had made quite a few searches before
    my request trying various keywords suited to my predicament.

    It's difficult to know when a question may be seen as being too trivial,
    and how much time one should spend looking for a solution before posting
    such a question.

    My immediate thought was to prevent anyone else from researching the
    question after I found an answer. If someone else can make use of this
    thread, then all's the better.
    Fredxx, Feb 25, 2013
  14. Fredxx

    pelrun Guest

    You need to enable the appropriate peripheral clock before you can modify it's registers - that applies both to code and to debugger access!

    - James
    pelrun, May 26, 2013
  15. Fredxx

    Mike Perkins Guest

    This was some months ago and I go the system working, so at some time I
    must have enabled the relevant peripheral clocks on the way as you
    suggested. It's been a learning curve.

    Currently revamping an older design but hope to get back to the STM32
    system soon!
    Mike Perkins, May 26, 2013
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.