On Sun, Jul 22, 2012 at 2:03 PM, Kuba <kubaraczkow...@gmail.com> wrote:
> Dear Peter,
>
> Thank you for your answer. I do understand that my question only touches
> mspgcc toolchain, however I decided to give it a try since people reading
> this list have also quite some "toolset" knowledge.
>
> Thank you for the __P1DIR hint! It is already close to what I would like,
> but is there still a command to show all available symbols? (these are
> symbols, right?)
>
dump the symbol table after compiling.
I use: msp430-nm -an objectfile > output.sym
you should see things like __PADIR (I'm using a 5438a so have __PADIR
rather
than __P1DIR and __P2DIR).
> Concerning eclipse... Would a tool I described be available in the eclipse
> (without CCS) ? It sounds too good to be true, but perhaps? Not a big fan
> of eclipse for the moment, I rather have the total vim+make control till I
> properly learn what to do :)
>
> Regards,
> Kuba
>
> On Sun, Jul 22, 2012 at 4:44 PM, Peter Bigot <big...@acm.org> wrote:
>
> > mspgcc as a toolchain does not provide an integrated development
> > environment, nor any functionality like you describe. To examine the
> > contents of a peripheral register within msp430-gdb you have to
> > reference the name with two underscores prepended, e.g:
> >
> > (gdb) x __P1DIR
> >
> > The sort of thing you describe is probably only going to be provided
> > by an IDE. I believe there are solutions that integrate the toolchain
> > into Eclipse (reference google), one of which is described on the wiki
> > at
> >
> http://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Setting_up_an_IDE
> > .
> > However, those instructions are from a couple years ago, and are not
> > currently linked to from the main page (where the IDE page is
> > undefined), so I don't know if they're still relevant.
> >
> > If somebody would like to review the Eclipse instructions and, if they
> > are still accurate, update the main page to reference them, I'd
> > appreciate it. If you need wiki editing rights, submit a support
> > request as described on the wiki main page. Then follow-up if it
> > turns out that the resulting environment does provide a device tree
> > view.
> >
> > Anybody wishing to write such a tool can find helpful information
> > about what peripherals are available on what chips within the analysis
> > subdirectory of the msp430mcu package.
> >
> > Peter
> >
> > On Sun, Jul 22, 2012 at 8:46 AM, Kuba <kubaraczkow...@gmail.com> wrote:
> > > Hi,
> > >
> > > A bit of a noob question perhaps concerning inspecting the settings of
> > > peripherals during debugging session.
> > >
> > > Let me explain: in Code Composer Studio when debugging is launched,
> you
> > > get a window with a tree of all settings of the chip (like for example
> > > P1OUT or BCSCTL1, etc.). This is quite handy to check in the middle of
> > > something whether the settings are okay...
> > >
> > > Is there something similar in the tool chain and environment of mspgcc?
> > And
> > > by similar I also mean easy to use :-) I guess dumping the memory and
> > > mapping to the datasheet is doable, but perhaps there is already a
> tool
> > > that I have missed...
> > >
> > > Thank you for your help!
> > > Kuba
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Live Security Virtual Conference
> > > Exclusive live event will cover all the ways today's security and
> > > threat landscape has changed and how IT managers can respond.
> Discussions
> > > will include endpoint security, mobile security and the latest in
> malware
> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > _______________________________________________
> > > Mspgcc-users mailing list
> > > Mspgcc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> > >
> >
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>
--
Eric B. Decker
Senior (over 50 :-) Researcher
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users