K3 Firmware upload

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

K3 Firmware upload

Don Rasmussen
Ut-Oh - the beans have been spilled!

.NET, and version 2 no less. I do some .NET coding for
work in VB es C#.

It is not trivial getting your computer setup on this,
it is, however free - courtesy of M. Bill Gates,
esquire. ;-)

This is kind of an elephant gun approach, I assumed
some small file that gets stuffed through the serial
port from any DOS or Windows PC directly into the K3
memory.

Nonetheless, it's a very elegent solution and it opens
up the host computer to many other .NET applications
and even some programming if you care to do it.

I'd suggest backing up the system before and after the
update - YMMV...


[Elecraft] K3 Firmware upload
Lyle Johnson kk7p at wavecable.com
Wed Jul 25 17:13:08 EDT 2007

Previous message: [Elecraft] K3 Firmware upload

>  > The PC interfaces to the K3 also needs an
Internet connection.
>
> Does PC mean Windows, or are other operating systems
supported? Which
> Windows versions are supported?

More specifically, the program which updates the K3
needs access to the updated files.  If the computer
that is used to update the K3 is also on
the Internet, then the process is very simple - the
program automatically looks in the right place on the
'net.

If not, you have to copy the files from the 'net -- or
wherever else they may be found -- to the computer
that will be used to update the K3.

The *current* version of the update application
requires Windows XP with .NET 2.0.  This has been the
standard distribution of Windows since  2001, and is
still an available distribution.  .NET 2.0 is
available for free from Microsoft via their website
and is already loaded on a very large percentage of
Windows XP computers already.

This was the most expedient way to get the update
application written and deployed to the development
team and field testers.  Support is planned for other
Windows versions, as well as other OSes, but right now

the engineering effort is going into making the K3
better.

However, I doubt there will ever be a version for my
Acorn RISC PC  running RISCOS 3.70...

73,

Lyle KK7P


_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: K3 Firmware upload

wayne burdick
Administrator
Don,

It's possible that we'll rewrite the K3 Downloader software application
in VB6, etc., so that .NET won't be needed. The only reason we use .NET
now is that I'm a C programmer, and the quickest way for me to get the
downloader working was to use Microsoft's C# programming environment.

In fact I hope to turn the downloader project in its entirety over to
someone else  ;)   Want to write some VB6 code?

73,
Wayne
N6KR


On Jul 25, 2007, at 2:33 PM, Don Rasmussen wrote:

> Ut-Oh - the beans have been spilled!
>
> .NET, and version 2 no less.

---

http://www.elecraft.com

_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: K3 Firmware upload

Don Rasmussen
In reply to this post by Don Rasmussen
Correction - elegant not elegent. ;-)

And not elegant in the manner of the .NET Framework
which is typical MS bloat, but with respect to VB or
C# code which is clear and concise. That's why it
should be a very good port.!!
_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: Re: K3 Firmware upload

Matthew D. Pitts
In reply to this post by wayne burdick
Wayne,

Given a choice, I'd leave it in C#, since with the existence of .NET
compatible libraries on alternative OS's, you'll have a better chance to
encourage people that Elecraft cares about giving people a choice of how
they set up their stations.

Matthew Pitts
N8OHU
K2 #5956

----- Original Message -----
From: "wayne burdick" <[hidden email]>
To: "Don Rasmussen" <[hidden email]>
Cc: "Elecraft List" <[hidden email]>
Sent: Wednesday, July 25, 2007 5:41 PM
Subject: [Elecraft] Re: K3 Firmware upload


> Don,
>
> It's possible that we'll rewrite the K3 Downloader software application in
> VB6, etc., so that .NET won't be needed. The only reason we use .NET now
> is that I'm a C programmer, and the quickest way for me to get the
> downloader working was to use Microsoft's C# programming environment.
>
> In fact I hope to turn the downloader project in its entirety over to
> someone else  ;)   Want to write some VB6 code?
>
> 73,
> Wayne
> N6KR
>
>
> On Jul 25, 2007, at 2:33 PM, Don Rasmussen wrote:
>
>> Ut-Oh - the beans have been spilled!
>>
>> .NET, and version 2 no less.
>
> ---
>
> http://www.elecraft.com
>
> _______________________________________________
> Elecraft mailing list
> Post to: [hidden email]
> You must be a subscriber to post to the list.
> Subscriber Info (Addr. Change, sub, unsub etc.):
> http://mailman.qth.net/mailman/listinfo/elecraft
> Help: http://mailman.qth.net/subscribers.htm
> Elecraft web page: http://www.elecraft.com
>

_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: Re: K3 Firmware upload

dj7mgq
In reply to this post by wayne burdick
> It's possible that we'll rewrite the K3 Downloader software application
> in VB6, etc., so that .NET won't be needed. The only reason we use .NET
> now is that I'm a C programmer, and the quickest way for me to get the
> downloader working was to use Microsoft's C# programming environment.

NO - Please *not* in VB6! The only reason for this might be to support
old versions of Windows, but for modern platforms there are better
solutions, e.g. C#, VB.Net, etc. together with .Net technology. I want
to be able to run the loader under systems other than Windows!

For a multi-platform solution with serial communication one ought to use
the .Net System.IO.Ports classes, which according to Mono status
<http://mono.ximian.com/class-status/mono-HEAD-vs-fx-2/class-status-System.html>
are almost complete.

Also see the following <http://www.mono-project.com/HowToSystemIOPorts>.

In other words, serial communications should not really be a problem. I
have not tried this in Mono yet.


If System.IO.Ports is in GNU's PNet, I don't know.


I do fair amount of .Net stuff at work, and it is one of the few
Microsoft developments which I actually think is good.

vy 73 de toby
--
DD5FZ, 4N6FZ (ex dj7mgq, dg5mgq, dd5fz)
K2 #885, K2/100 #3248
K3/100 #??? (< #200)
DOK C12, BCC, DL-QRP-AG
_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: Re: K3 Firmware upload

Leigh L. Klotz Jr WA5ZNU
Administrator
In reply to this post by wayne burdick
Even if Mono isn't up to the task, a simple command-line version for
Linux and Mac would likely be a fairly easy community project if you
provide the C# code.

Borrowing a Windows box isn't hard for Linux or Mac users, but it would
probably be nicer for some folks.

Leigh/WA5ZNU
On Wed, 25 Jul 2007 2:40 pm, wayne burdick wrote:

> Don,
>
> It's possible that we'll rewrite the K3 Downloader software application
> in VB6, etc., so that .NET won't be needed. The only reason we use .NET
> now is that I'm a C programmer, and the quickest way for me to get the
> downloader working was to use Microsoft's C# programming environment.
>
> In fact I hope to turn the downloader project in its entirety over to
> someone else  ;)   Want to write some VB6 code?
>
> 73,
> Wayne
> N6KR
>
_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Fwd: Re: K3 Firmware upload

Stephen Przepiora
Will code Linux or Windows, C#, C++ or C for a K3 :)

Also know php, perl, a little VB, a little scheme and have been known
to dabble with Atmel cpu's in C.

Steve - KC2QXE

On 7/25/07, Leigh L Klotz, Jr. <[hidden email]> wrote:

> Even if Mono isn't up to the task, a simple command-line version for
> Linux and Mac would likely be a fairly easy community project if you
> provide the C# code.
>
> Borrowing a Windows box isn't hard for Linux or Mac users, but it would
> probably be nicer for some folks.
>
> Leigh/WA5ZNU
> On Wed, 25 Jul 2007 2:40 pm, wayne burdick wrote:
> > Don,
> >
> > It's possible that we'll rewrite the K3 Downloader software application
> > in VB6, etc., so that .NET won't be needed. The only reason we use .NET
> > now is that I'm a C programmer, and the quickest way for me to get the
> > downloader working was to use Microsoft's C# programming environment.
> >
> > In fact I hope to turn the downloader project in its entirety over to
> > someone else  ;)   Want to write some VB6 code?
> >
> > 73,
> > Wayne
> > N6KR
> >
> _______________________________________________
> Elecraft mailing list
> Post to: [hidden email]
> You must be a subscriber to post to the list.
> Subscriber Info (Addr. Change, sub, unsub etc.):
> http://mailman.qth.net/mailman/listinfo/elecraft
>
> Help: http://mailman.qth.net/subscribers.htm
> Elecraft web page: http://www.elecraft.com
>
>
_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: Re: K3 Firmware upload

Alan Biocca
In reply to this post by Don Rasmussen
Do it in Python, make it really portable, and lower cost to maintain.

-- Alan, wb6zqz

-------------- Original message --------------
From: wayne burdick <[hidden email]>

> Don,
>
> It's possible that we'll rewrite the K3 Downloader software application
> in VB6, etc., so that .NET won't be needed. The only reason we use .NET
> now is that I'm a C programmer, and the quickest way for me to get the
> downloader working was to use Microsoft's C# programming environment.
>
> In fact I hope to turn the downloader project in its entirety over to
> someone else ;) Want to write some VB6 code?
>
> 73,
> Wayne
> N6KR
>
>
> On Jul 25, 2007, at 2:33 PM, Don Rasmussen wrote:
>
> > Ut-Oh - the beans have been spilled!
> >
> > .NET, and version 2 no less.
_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: Re: K3 Firmware upload

Bob Nielsen
In reply to this post by wayne burdick

On Jul 25, 2007, at 2:41 PM, wayne burdick wrote:

> Don,
>
> It's possible that we'll rewrite the K3 Downloader software  
> application in VB6, etc., so that .NET won't be needed. The only  
> reason we use .NET now is that I'm a C programmer, and the quickest  
> way for me to get the downloader working was to use Microsoft's C#  
> programming environment.
>
> In fact I hope to turn the downloader project in its entirety over  
> to someone else  ;)   Want to write some VB6 code?
>

Well, C is certainly compatible with Linux and other unices  
(including OS X).

There appear to be some pretty small http servers available, as in my  
wireless router and ethernet bridge.  If something like that could be  
ported to the K3, a web interface would be pretty universal (lynx,  
anyone?)

73 - Bob, N7XY
_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: Re: K3 Firmware upload

Julian, G4ILO
In reply to this post by Alan Biocca
On 7/26/07, [hidden email] <[hidden email]> wrote:
> Do it in Python, make it really portable, and lower cost to maintain.

I would have thought a command line program written in C was the most
portable option. There are C compilers for everything from 16-bit
MS-DOS up. The two things that are platform specific are GUI code and
serial port interfacing. There is no escaping the latter, but the
former is really unnecessary, plus it's pretty easy to make a GUI
shell that could run the command line utility if it was felt
necessary.

--
Julian, G4ILO K2 s/n: 392  K3 s/n: ???
G4ILO's Shack: www.g4ilo.com
Ham-Directory: www.ham-directory.com
_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Julian, G4ILO. K2 #392  K3 #222 KX3 #110
* G4ILO's Shack - http://www.g4ilo.com
* KComm - http://www.g4ilo.com/kcomm.html
* KTune - http://www.g4ilo.com/ktune.html
Reply | Threaded
Open this post in threaded view
|

Re: Re: K3 Firmware upload

dj7mgq
In reply to this post by Alan Biocca
> Do it in Python, make it really portable, and lower cost to maintain.

One nice thing about Python, those of us who might prefer a .Net based
application could then port it to the .Net world using Iron Python.


One other comment:

While I have mucho bandwidth at home, I do not have an antenna permit, which
means my K3 will mostly live in our local club station and/or contest QTH. There
is no internet connection at either location (also no telephone), which means I
will have to download the files at home, and the use Nike-Net to get them to the
radio. It is important that one can load the firmware to the K3 from local
memory as well as directly from the Elecraft server.


vy 73 de toby
_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: Re: K3 Firmware upload

KK7P
> It is important that one can load the firmware to the K3 from local
> memory as well as directly from the Elecraft server.

The computer I use to update my K3 uses local file copies rather than
the 'net, so this is not a problem.

73,

Lyle KK7P

_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

RE: Re: K3 Firmware upload

Dan Barker
Lyle, are the images Floppy-sized, USB-Stick-sized, CD-Sized, DVD-sized or
Super-sized ($1.29 extra<g>)?

Dan / WG4S

<snip>
The computer I use to update my K3 uses local file copies rather than the
'net, so this is not a problem.
</snip>

_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

RE: Re: K3 Firmware upload

Ed Muns, W0YK
> Lyle, are the images Floppy-sized, USB-Stick-sized, CD-Sized,
> DVD-sized or Super-sized ($1.29 extra<g>)?

The MCU file is 360KB and the DSP is 103KB.

73,
Ed - W0YK

_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com

Reply | Threaded
Open this post in threaded view
|

Re: Re: K3 Firmware upload

Simon (HB9DRV)
In reply to this post by Stephen Przepiora
I have managed to stay out of this thread - but I read Dilbert the other
day.

This just about sums it all up:
http://www.dilbert.com/comics/dilbert/archive/images/dilbert2007018331803.gif

Simon Brown, HB9DRV

----- Original Message -----
From: "Stephen Przepiora" <[hidden email]>


> Will code Linux or Windows, C#, C++ or C for a K3 :)
>
> Also know php, perl, a little VB, a little scheme and have been known
> to dabble with Atmel cpu's in C.
>
> Steve - KC2QXE

_______________________________________________
Elecraft mailing list
Post to: [hidden email]
You must be a subscriber to post to the list.
Subscriber Info (Addr. Change, sub, unsub etc.):
 http://mailman.qth.net/mailman/listinfo/elecraft   

Help: http://mailman.qth.net/subscribers.htm
Elecraft web page: http://www.elecraft.com