Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #107983

Re: Need help fixing a "previously defined" error

From David Brown <david.brown@hesbynett.no>
Newsgroups comp.lang.c
Subject Re: Need help fixing a "previously defined" error
Date 2017-04-10 09:07 +0200
Organization A noiseless patient Spider
Message-ID <ocfaqa$ebg$1@dont-email.me> (permalink)
References <20170408-130720.9.0@Peabody.ssl.astraweb.com> <ocd2pc$pe6$1@dont-email.me> <20170409-125235.994.0@Peabody.ssl.astraweb.com> <ocdi7s$9q8$1@dont-email.me> <20170409-232046.377.0@Peabody.ssl.astraweb.com>

Show all headers | View raw


On 10/04/17 01:20, Peabody wrote:
> David Brown says...
> 
>  > I find C an excellent language for its purpose - and use
>  > it extensively at work (such as for programming msp430
>  > devices).  But for a task such as this, involving
>  > reading, parsing and manipulating text files such as the
>  > program files here, a high level language makes life
>  > much, much easier.
> 
> The problem is that I just told you everything I know about
> the Windows API.  But Silabs, the maker of the CP2102 that
> I'm using, has an excellent app note containing all the
> calls needed to deal with COM ports in Windows.  And it's
> all in C.  Without that, I would have been dead in the
> water.

But rather than any of that, you could have used the Python tools as-is.
 They support the DTR inversion already.

<https://pypi.python.org/pypi/python-msp430-tools>
<http://pythonhosted.org/python-msp430-tools/>

There is a ready-to-run command line Python script "msp430-bsl" that has
a switch "--invert-reset" to invert the DTR line (used to reset the
msp430 microcontroller, for those that are not familiar with the chip).

<http://pythonhosted.org/python-msp430-tools/commandline_tools.html#msp430-bsl>

The Python code here is written and maintained by Chris Liechti, who has
been developing open source msp430 tools for a decade or so - it is good
quality stuff.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 08:07 -0500
  Re: Need help fixing a "previously defined" error James Kuyper <jameskuyper@verizon.net> - 2017-04-08 10:47 -0400
    Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 12:51 -0500
      Re: Need help fixing a "previously defined" error Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-04-08 20:03 +0100
      Re: Need help fixing a "previously defined" error Spiros Bousbouras <spibou@gmail.com> - 2017-04-08 19:06 +0000
      Re: Need help fixing a "previously defined" error James Kuyper <jameskuyper@verizon.net> - 2017-04-08 15:17 -0400
  Re: Need help fixing a "previously defined" error Spiros Bousbouras <spibou@gmail.com> - 2017-04-08 15:29 +0000
  Re: Need help fixing a "previously defined" error Barry Schwarz <schwarzb@dqel.com> - 2017-04-08 09:21 -0700
    Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 13:04 -0500
      Re: Need help fixing a "previously defined" error James Kuyper <jameskuyper@verizon.net> - 2017-04-08 15:33 -0400
        Re: Need help fixing a "previously defined" error Spiros Bousbouras <spibou@gmail.com> - 2017-04-08 19:51 +0000
        Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 16:24 -0500
    Re: Need help fixing a "previously defined" error Keith Thompson <kst-u@mib.org> - 2017-04-08 18:45 -0700
  Re: Need help fixing a "previously defined" error bartc <bc@freeuk.com> - 2017-04-08 17:46 +0100
    Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-08 13:19 -0500
  Re: Need help fixing a "previously defined" error David Brown <david.brown@hesbynett.no> - 2017-04-09 12:38 +0200
    Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-09 07:52 -0500
      Re: Need help fixing a "previously defined" error David Brown <david.brown@hesbynett.no> - 2017-04-09 17:02 +0200
        Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-09 18:20 -0500
          Re: Need help fixing a "previously defined" error James Kuyper <jameskuyper@verizon.net> - 2017-04-09 22:06 -0400
          Re: Need help fixing a "previously defined" error David Brown <david.brown@hesbynett.no> - 2017-04-10 09:07 +0200
            Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-10 09:11 -0500
              Re: Need help fixing a "previously defined" error David Brown <david.brown@hesbynett.no> - 2017-04-10 17:31 +0200
                Re: Need help fixing a "previously defined" error Peabody <waybackNO584SPAM44@yahoo.com> - 2017-04-10 12:48 -0500

csiph-web