Eclipse setup for STM32F

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?

Reply to
Fredxx
Loading thread data ...

It may be bad form to reply to your own question, but the answer is here:

formatting link

Reply to
Fredxx

Fred - I vote for good form.

Hul

Fredxx wrote:

Reply to
dbr

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 
http://www.wescottdesign.com
Reply to
Tim Wescott

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

Reply to
Fredxx

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 
Control system and signal processing consulting 
www.wescottdesign.com
Reply to
Tim Wescott

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!

Reply to
Fredxx

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!!

Reply to
Fredxx

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.

Reply to
Ben Bradley

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.

Reply to
Fredxx

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

even if you did answer it yourself ?

Reply to
hamilton

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.

mvh.,

David

Reply to
David Brown

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.

Reply to
Fredxx

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

Reply to
pelrun

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 
Video Solutions Ltd 
www.videosolutions.ltd.uk
Reply to
Mike Perkins

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.