Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #107941
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Need help fixing a "previously defined" error |
| Date | 2017-04-09 17:02 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <ocdi7s$9q8$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> |
On 09/04/17 14:52, Peabody wrote: > David Brown says... > > > For a completely different solution, you could look at > > the Python BSD program. It has been a while since I > > used it myself, but its immediate advantages for you > > over the C code here are: > > > 1. It is in Python, not C, so making a small change is > > easy. It is far easier to make a small change in a > > Python program when you don't know Python, than a small > > change in a C program when you don't know C. > > > 2. It already supports inverting the DTR line. > > > <http://processors.wiki.ti.com/index.php/Open_Source_Pro > > jects_-_MSP430#Pytho n_BSL_Module> > > Yes, I saw that. But whatever I end up with may be used by > other civilians like me who don't necessarily have Python > installed on their computers. Or Java. > Java always seems makes life more complicated - people have to have the right Java versions installed. I don't know why you bring that up here - there may be Java implementations of the BSL protocol, but Java is not any easier than C for making quick modifications. But it's usually a very simple matter to install Python. I don't know if you are interested only in Windows here, or also Linux - but any Linux system will have Python already. And if you want to make a standalone exe file from Python, there are plenty of tools for that. "py2exe" will combine your Python code with the minimal Python libraries needed to interpret it. I have used the msp430 BSL Python code along with my own project-specific Python code, and packaged it up as an exe file for Windows users - it is typically a couple of MB. 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. > They will have to have a USB-to-Serial driver installed, but > otherwise just the exe. > >
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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