The 6808 source code files (zipped file)
1.15.8 Release(Use "save-as")
1.16.1 Release(Use "save-as")
I am posting the source code too. Enough people have asked that it seemed a worthy cause. It is all in 6808 assembly code. A fair warning that most of this code started off as 6805 assembly, so there are probably quite a few areas that could benifit from the enhanced 6808 instructions. The code is being posted "as-is" for your viewing pleasure. The file to start your perusing (and the the one to start the compile with) is WX08.ASM. It has all the include statments for the other source files.
Now for the standard legal stuff: YOU ARE FREE TO USE/MODIFY/PLAY WITH THIS CODE AS YOU PLEASE AS LONG AS IT IS FOR PERSONAL USE AND YOU LEAVE IN ALL MY CREDITS. ANY COMMERCIAL USE WITHOUT MY CONSENT (AND A CUT) IS PROHIBITED.
Mon08, the DOS-based downloader (use "save-as")
Mon08w, the Windows shell based downloader (use "save-as")
Mon08 is the original downloader program. It is a pretty primitive program that
must be run in native DOS mode. This means your computer must boot into DOS
mode. This is pretty easy for any computer with an OS before Windows ME. For
ME and later you need to create a bootable DOS disk and boot from it. This is
not extremely convenient, but I'm not a windows programmer. This is also the
reference program, it is the one that is the most tested and reliable. It can
only be used with PCs that have real internal UARTs.
Mon08w is designed to run in a windows enviroment in a DOS shell. I am not a windows programmer so nothing fancy. With DOS very much gone and UARTS pretty much gone as well, this program is functionally identical to Mon08 but instead uses windows system calls for UART IO. All yo need is this program and your desired wx08.s19 downloadable file in the same directory and the download process should work.
There are two ways to download software into the 6808. The first is to use the P&E toolset from Motorola. This free toolset (see links) is a complete development environment that allows you to write, debug, and program 6808 applications. This is the toolset the author used for this project. This method is required if you don't get a pre-programmed 6808 from TAPR with the kit. It is also required if for some reason you corrupt the resident monitor inside the 6808. If you chose this method, read the documentation for those tools on how to use them. The serial port to plug into is the debug port.
The second way to get new code into your 6808 is the mon08.exe program above. This way can only be used to update the current weather application with a new one and requires a 6808 that has already been programmed. It is a simple DOS application that talks to a monitor I wrote that runs in the 6808. The two monitors talk to each other, erase just the weather application, and reprogram it with the new application. This monitor has the advantage that you do not need to twiddle jumpers inside the weather station or even load any of the debug circuitry. Since this circuitry is now part of the kit, the importance of this mode is somewhat reduced.
If you are updating software using the monitor, hook up your computers serial port to the Computer (NOT debug) port on the weather station. Apply power to the weather station with both the up and down buttons pressed simultaneously. The weather station will come up in monitor mode which currently does NOT initialize the display (I hope to fix this soon). Have both the MON08.EXE and latest .S19 files in the current directory. The .s19 file is above in the format x-xx-x.s19 where the x's are the firmware version number. At the DOS command prompt, enter MON08, the file, and the COMM port number. For example "MON08 1-15-3.S19 1" (assuming Rev 1.15.3 firmware and COM1 for your serial port. The PC monitor will start up communication with the 6808 monitor and after comfirming your intentions, will download the new code, perform a soft reset, then run the new app.