Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
Boy that brought back long lost ;-) memories. I started writing assembly code in 1967 for IBM big iron. I think I still have some paper tapes and punch cards in the attic. Thanks for the inside look at the K3 effort. Great team work and a great work in progress. Thanks to all. - Dan AB3EN -- View this message in context: http://n2.nabble.com/Programming-language-and-tools-used-by-Elecraft-and-other-for-PIC-programming-OT-tp4530561p4660484.html Sent from the Elecraft mailing list archive at Nabble.com. __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
Assembly language! We had to write code in Hex. -- View this message in context: http://n2.nabble.com/Programming-language-and-tools-used-by-Elecraft-and-other-for-PIC-programming-OT-tp4530561p4644179.html Sent from the Elecraft mailing list archive at Nabble.com. __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
What I would find most useful is a code in a PIC that decodes K2 auxbus commands to set an output pin according to the selected band. A bit like a KRC2 but embedded. Then I could build my own transverters/amplifiers/switches. I realise auxbus is proprietary so the PIC would have to come ready programmed. Mike -- View this message in context: http://n2.nabble.com/Programming-language-and-tools-used-by-Elecraft-and-other-for-PIC-programming-OT-tp4530561p4644195.html Sent from the Elecraft mailing list archive at Nabble.com. __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
Eeh you wos lucky, we had 't toggle boot strap in't PDP 11/05 in Octal on front panel to even get Assembler! I kid you not. Digital PDP 11/05 with Teletype. On power up, I used to load a bootstrap program of about 20 instructions with switches (0 or 1) on the front panel, so it would read a machine code loader (this was a 16 bit m/c and the code was written as a series of Octal lines, 1 per instruction, on a crib card). Then you could run the machine code, via another short instruction, so it would recognise the TT. Then you could load the BASAC (yes not BASIC, but a Solatron version called BASAC) interpreter written in Assembler into the CPU. After that, you were cooking on gas, could load ASCII tapes of programs etc. When was this? Circa 1975! 73 de M0XDF -- Dear God, Did you mean for the giraffe to look like that or was it an accident? -Norma [Children's Letters to God, 1991] On 27 Feb 2010, at 08:59, AD6XY wrote: Assembly language! We had to write code in Hex. __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
For PIC18F based products here, I use FlashForth by Mikael, OH2AUN. You can get it on SourceForge. A PICKit2 or 3 along with the free PIC MPLAB IDE completes a useful and inexpensive development/debug platform. -- View this message in context: http://n2.nabble.com/Programming-language-and-tools-used-by-Elecraft-and-other-for-PIC-programming-OT-tp4530561p4534930.html Sent from the Elecraft mailing list archive at Nabble.com. __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
I do a lot of PIC18 programming at work in C and use the Hi-Tech C compiler for that microcontroller family. A free Lite version is available for download. Bob NW8L On Sun, Feb 7, 2010 at 12:09 PM, Ken Nicely k...@nicelyweb.com wrote: This is a little off topic as it is not something that might be of great interest to some owners of Elecraft equipment unless they are into software as I am. This reflector seems to be pretty knowledgeable and much more technical than most, so I am posting this to the reflector as there might be a few others here that would find it of interest. Recently I have started learning how to program PIC controllers, partly because I am interested and curious about how it is done and partly because I would like to start building some of my own software controlled radio electronics. I am wondering what language Elecraft uses for programming their radios and what software package they use. I am leaning towards using C in my projects using the Microchip compilers, but I have also looked into the Swordfish basic compiler and the mickoBasic Pro compiler as I know Visual Basic.net very well. I would also be interested in knowing if there are others on the list that have done some PIC programming and what language and software they use or would recommend. Ken Nicely KE3C __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
The DSP code is written entirely in assembly language. Don't ask how I know... :-) The better to fully exploit the power of the processor. Using SHARC floating point family here at work, where use of assembly language programming allows maximum utilization of the dual FPUs in SIMD mode. Now working with an X version of the new SHARC 469 part, clocked near max, with a 48 kHz sample rate, 9 x 1024 = 9216 instructions per audio frame are available - truly an embarrassment of riches! Bob NW8L __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
[Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
This is a little off topic as it is not something that might be of great interest to some owners of Elecraft equipment unless they are into software as I am. This reflector seems to be pretty knowledgeable and much more technical than most, so I am posting this to the reflector as there might be a few others here that would find it of interest. Recently I have started learning how to program PIC controllers, partly because I am interested and curious about how it is done and partly because I would like to start building some of my own software controlled radio electronics. I am wondering what language Elecraft uses for programming their radios and what software package they use. I am leaning towards using C in my projects using the Microchip compilers, but I have also looked into the Swordfish basic compiler and the mickoBasic Pro compiler as I know Visual Basic.net very well. I would also be interested in knowing if there are others on the list that have done some PIC programming and what language and software they use or would recommend. Ken Nicely KE3C __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
Swordfish is an excellent product. I've used it for my Z90/91 panadapter and also the Z100 CW/RTTY tuning aid. Jack K8ZOA On 2/7/2010 2:09 PM, Ken Nicely wrote: This is a little off topic as it is not something that might be of great interest to some owners of Elecraft equipment unless they are into software as I am. This reflector seems to be pretty knowledgeable and much more technical than most, so I am posting this to the reflector as there might be a few others here that would find it of interest. Recently I have started learning how to program PIC controllers, partly because I am interested and curious about how it is done and partly because I would like to start building some of my own software controlled radio electronics. I am wondering what language Elecraft uses for programming their radios and what software package they use. I am leaning towards using C in my projects using the Microchip compilers, but I have also looked into the Swordfish basic compiler and the mickoBasic Pro compiler as I know Visual Basic.net very well. I would also be interested in knowing if there are others on the list that have done some PIC programming and what language and software they use or would recommend. Ken Nicely KE3C __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
I've done lots and lots of C for the 18F PIC series. The MPLAB IDE that PIC sells works well with the ICD3 programmer / debugger. I think the K3 MCU firmware is in C and probably some ASM, but not sure on the DSP. 73, matt W6NIA On Sun, 07 Feb 2010 14:09:11 -0500, you wrote: This is a little off topic as it is not something that might be of great interest to some owners of Elecraft equipment unless they are into software as I am. This reflector seems to be pretty knowledgeable and much more technical than most, so I am posting this to the reflector as there might be a few others here that would find it of interest. Recently I have started learning how to program PIC controllers, partly because I am interested and curious about how it is done and partly because I would like to start building some of my own software controlled radio electronics. I am wondering what language Elecraft uses for programming their radios and what software package they use. I am leaning towards using C in my projects using the Microchip compilers, but I have also looked into the Swordfish basic compiler and the mickoBasic Pro compiler as I know Visual Basic.net very well. I would also be interested in knowing if there are others on the list that have done some PIC programming and what language and software they use or would recommend. Ken Nicely KE3C __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
I think the K3 MCU firmware is in C and probably some ASM, but not sure on the DSP. The DSP code is written entirely in assembly language. Don't ask how I know... :-) 73, Lyle KK7P __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
Lyle Johnson wrote: The DSP code is written entirely in assembly language. Don't ask how I know... :-) You ... indeed ... are dedicated!! One FFT in assembly is enough to provide serious headaches. 73, Fred K6DGW Auburn CA __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
That is one sure way to measure and control CPU cycle usage. Thought so. matt On Sun, 07 Feb 2010 15:12:20 -0800, you wrote: I think the K3 MCU firmware is in C and probably some ASM, but not sure on the DSP. The DSP code is written entirely in assembly language. Don't ask how I know... :-) 73, Lyle KK7P __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
On Sun, 2010-02-07 at 14:09 -0500, Ken Nicely wrote: ... Recently I have started learning how to program PIC controllers, partly because I am interested and curious about how it is done and partly because I would like to start building some of my own software controlled radio electronics. I am wondering what language Elecraft uses for programming their radios and what software package they use. The P3 firmware is written almost entirely in C. (There are just a few snippets of assembly here and there to get precise timing pulses, etc.) When I started the project, I was assuming that I'd have to re-write major portions of the code in assembly to get the desired performance, but we're getting 20 Hz display update rates just using Microchip's free evaluation version of their C compiler which has optimization disabled. So there's plenty of room for improvement in the future for added features or better performance. I've been pleased with the Microchip integrated development environment (IDE). It is quite powerful, easy to use and free. I believe the same IDE is used for all their processors, from simple 8-bit devices in 8-pin DIP packages up to their 32-bit processor line in 100-pin QFPs. They have lots of useful application notes and documentation on their web site. When I post questions to their on-line tech support I generally receive a useful reply from a knowledgeable person within a day or two (including questions on the C compiler that I didn't even pay for!) They have even replied by telephone a couple times. They also have an on-line user forum that I have found helpful. Alan N1AL __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html
Re: [Elecraft] Programming language and tools used by Elecraft and other for PIC programming - OT
... I am wondering what language Elecraft uses for programming their radios and what software package they use. The P3 firmware is written almost entirely in C. I wrote the PIC code for the KDVR3 entirely in C using the Microchip compiler. 73, Lyle KK7P FWIW, I wrote the code for the AVR microcontroller in the KDSP2 in C, while the DSP code for the KDSP2 is written in assembler. That DSP source code is open source, available for download on the Elecraft website, and has been since 2003. __ Elecraft mailing list Home: http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/mmfaq.htm Post: mailto:Elecraft@mailman.qth.net This list hosted by: http://www.qsl.net Please help support this email list: http://www.qsl.net/donate.html