Forums

Eclipse setup for STM32F

Started by Fredxx February 19, 2013
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?
On 19/02/2013 22:30, Fredxx wrote:
> 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?
It may be bad form to reply to your own question, but the answer is here: http://embsysregview.sourceforge.net/
Fred - I vote for good form.

Hul

Fredxx <fredxx@nospam.com> wrote:
> On 19/02/2013 22:30, Fredxx wrote: > > 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?
> It may be bad form to reply to your own question, but the answer is here: > http://embsysregview.sourceforge.net/
On Tue, 19 Feb 2013 22:52:37 +0000, Fredxx wrote:

> On 19/02/2013 22:30, Fredxx wrote: >> 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? > > It may be bad form to reply to your own question, but the answer is > here: > http://embsysregview.sourceforge.net/
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
On 20/02/2013 02:07, Tim Wescott wrote:
> On Tue, 19 Feb 2013 22:52:37 +0000, Fredxx wrote: > >> On 19/02/2013 22:30, Fredxx wrote: >>> 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? >> >> It may be bad form to reply to your own question, but the answer >> is here: http://embsysregview.sourceforge.net/ > > 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. >
I am really not that sad. Just spent quite some time hunting for any help on the net, then stumbled across this site.
On Wed, 20 Feb 2013 03:16:16 +0000, Fredxx wrote:

> On 20/02/2013 02:07, Tim Wescott wrote: >> On Tue, 19 Feb 2013 22:52:37 +0000, Fredxx wrote: >> >>> On 19/02/2013 22:30, Fredxx wrote: >>>> 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? >>> >>> It may be bad form to reply to your own question, but the answer is >>> here: http://embsysregview.sourceforge.net/ >> >> 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. >> >> > I am really not that sad. Just spent quite some time hunting for any > help on the net, then stumbled across this site.
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
On 20/02/2013 17:01, Tim Wescott wrote:
> On Wed, 20 Feb 2013 03:16:16 +0000, Fredxx wrote: > >> On 20/02/2013 02:07, Tim Wescott wrote: >>> On Tue, 19 Feb 2013 22:52:37 +0000, Fredxx wrote: >>> >>>> On 19/02/2013 22:30, Fredxx wrote: >>>>> 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? >>>> >>>> It may be bad form to reply to your own question, but the answer is >>>> here: http://embsysregview.sourceforge.net/ >>> >>> 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. >>> >>> >> I am really not that sad. Just spent quite some time hunting for any >> help on the net, then stumbled across this site. > > 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. >
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!
On 20/02/2013 21:06, Fredxx wrote:
> On 20/02/2013 17:01, Tim Wescott wrote: >> On Wed, 20 Feb 2013 03:16:16 +0000, Fredxx wrote: >> >>> On 20/02/2013 02:07, Tim Wescott wrote: >>>> On Tue, 19 Feb 2013 22:52:37 +0000, Fredxx wrote: >>>> >>>>> On 19/02/2013 22:30, Fredxx wrote: >>>>>> 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? >>>>> >>>>> It may be bad form to reply to your own question, but the answer is >>>>> here: http://embsysregview.sourceforge.net/ >>>> >>>> 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. >>>> >>>> >>> I am really not that sad. Just spent quite some time hunting for any >>> help on the net, then stumbled across this site. >> >> 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. >> > > 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!
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!!
On Tue, 19 Feb 2013 20:07:34 -0600, Tim Wescott <tim@seemywebsite.com>
wrote:

>On Tue, 19 Feb 2013 22:52:37 +0000, Fredxx wrote: > >> On 19/02/2013 22:30, Fredxx wrote: >>> 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? >> >> It may be bad form to reply to your own question, but the answer is >> here: >> http://embsysregview.sourceforge.net/ > >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.
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.
On 22/02/2013 01:38, Ben Bradley wrote:
> On Tue, 19 Feb 2013 20:07:34 -0600, Tim Wescott > <tim@seemywebsite.com> wrote: > >> On Tue, 19 Feb 2013 22:52:37 +0000, Fredxx wrote: >> >>> On 19/02/2013 22:30, Fredxx wrote: >>>> 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? >>> >>> It may be bad form to reply to your own question, but the answer >>> is here: http://embsysregview.sourceforge.net/ >> >> 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. > > 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. >
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.