On 15 March 2011 13:46, JMGross <msp...@grossibaer.de> wrote:
> ----- Ursprüngliche Nachricht -----
> Von: Peter Bigot
>> I think Eric misinterpreted Crazy Casta's position on watchdog, though I'm
>> very sympathetic to the "least surprise" principle, and yes, it will waste a
>> lot of people's time if this change isn't made very clear.  But the MSP430
>> has a watchdog feature, people *should* be aware of it, and consistency with
>> TI's tools and documentation means mspgcc shouldn't pretend it's not there.
> Well, I mus tsay I was really surprised to see that the watchdog, while
> documented as being active after a reset, in fact was inactive in all my
> projects.
> It took me quite some time (I had to dig into MSP assembly) to
> figure out that MSPGCC was silently disabling it.

I believe the least surprise is not doing magic things by default that
disagree with all the common documentation. I was certainly surprised
that this GCC does that.

>> Anybody who doesn't want to deal with it in user code can put this:
>>   WDTCTL = WDTPW + WDTHOLD;                 // Stop WDT
>> at the top of main(), as is done in every TI example program I've seen
>
> That's at least conforming to the docs and what someone would expect
> wo does not know about compiler internals and just uses C.

> Indeed, this would work. But that's also 'advanced stuff'.
> Especially people who use the G line are newbies.
> Of course mspgcc could be promoted as 'expert stuff' not aimed at
> 'normal' MSP users but rather for experienced compiler-knowers,
> but I don't think this would be a good direction to go.
> Let's keep in mind that an MSP is no PC. So there is no point
> in desperately implementing things that are useless on an MSP
> 'just for conformity'.

Trying to guess at your audience instead of DTRT is a very rotten idea
IMO. Making things for your imagined "normal user" is probably what's
responsible for most of the user interface horrors out there.


-- 
I appear to be temporarily using gmail's horrible interface. I
apologise for any failure in my part in trying to make it do the right
thing with post formatting.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to