No. 1 04/24/90 16:27:50 From: Kevin Hartley To: All Subject: HC05 SCI Message class: Public Message base: 6805mail For all those using the Serial Communication Interface (SCI) in members of the 68HC05 family: - Part of the operation of the SCI port is not documented. When using the SCI to transmit 9 data bits, the lower 8 bits are written to the 'SCDAT' register while the ninth bit is put in bit 'T8' in the 'SCCR1' register. - HOWEVER....the order in which these operations must occur is important. Unfortunately it's not specified in Motorola's docu- mentation, neither in text nor by way of timing diagrams. For all nine bits to be transmitted together, the ninth bit must be written to 'T8' BEFORE loading the 'SCDAT' register with the remaining eight bits. If you write the 'SCDAT' byte first then the ninth (parity?) bit, the ninth bit will be appended to the __NEXT__ transmitted character. That may be useful in some circumstances, but is generally not what you would want to have happen. -Kevin. No. 2 06/14/90 15:35:56 From: Kinney Bacon To: Ed Baltazar Subject: (R) 68HC805 or 6805 Message class: Private Message base: 6805mail There is a company called Bytecraft Ltd. based in Canada that sells a C compiler for the 68HC05. I don't have their address but your Motorola representative should have it or can get it. They have a bulliten board. The number is 1-519-888-7626. You can even download a demonstration compiler. Good luck. No. 3 07/02/90 09:02:35 From: Anton Belehradek To: Colin Ng Subject: (R) 68705 promo boar Message class: Private Message base: 6805mail Yah..you can still obtain that board. Give motorola a call and tell them what your up to. They sent me not only the board but the chip as well. They also nt enough documentaion to last a lifetime. The board is blank but only requires about twenty or so easy toocatparts. Just give them a call. Talk to ya later.. No. 4 07/04/90 08:48:16 From: Walter Banks To: Ed Baltazar Subject: (R) 68HC805 or 6805 Message class: Public Message base: 6805mail There is a C compiler for the 6805 available from Byte Craft Limited call them at 519 888 6911 No. 5 07/16/90 16:20:58 From: Didier Juges To: Ed Baltazar Subject: (R) 68HC805 or 6805 Message class: Public Message base: 6805mail I have tested C6805 from Byte Craft Limited, Ontario, Canada. It does the job, but you loose a lot, compared to assembler, in terms of knowing what is happening in the machine. The only advantage would be for somebody who does not know assembler, knows C very well, and does not need tight, efficient code (anybody feels thats him, let me know). Didier Juges No. 6 08/21/90 12:53:36 From: Steven Avritch To: Tom Brusehaver Subject: (R) 68705 Message class: Public Message base: 6805mail Hi Tom, I use 68705p3 microntrollers all the time. They are nice devices if you dont need all the fancy features of the hc05. The only problem with the 68705 is the price is going throught the ceiling. Steve Avritch 2035828526 No. 7 09/25/90 18:16:33 From: Terry Echard To: Charles Ewing Subject: Float Math For 6805 Message class: Public Message base: 6805mail From: Terry Echard Lafayette Instrument Co. I have placed on the bbs a floating point math routine for the 68HC05. The floating point numbers are stored in IEEE format (4 byte). Routines include Add, Sub, Multiply and Divide, and INT to FP & FP to INT. No. 8 09/25/90 18:16:33 From: Terry Echard To: Charles Ewing Subject: Float Math for 6805 Message class: Public Message base: 6805mail Sorry, I forgot to give the file name. It is fp05.asm. No. 9 09/25/90 18:16:33 From: Terry Echard To: Charles Ewing Subject: Float Math for 6805 Message class: Public Message base: 6805mail In case you can not find fp05.asm on the bbs, my work number is (317) 423-1505. I can send it to you directly. No. 10 10/18/90 03:13:37 From: Steve Mcaslan To: Paul Kessman Subject: 805B6 Message class: Public Message base: 6805mail {Programming methods for the HC805B6 are detailled in the MC68HC05B6 data sheets along with the required circuit diagrams. Serial and parallel programmer boards are available. These can be obtained from your local distributor. No. 11 02/16/91 07:38:20 From: Ken Burch To: David Basell Subject: (R) 705C8 Message class: Public Message base: 6805mail While it is possible that there is a hardware bug in the chip, I think that possibility is unlikely. I have seen many cases of software bugs which look like hardware bugs...even in the code of experienced programmers. For example, the small stack will quickly overflow if IRQs are enabled and the IRQ pin is left floating on the PC board. Another example is the use of instructions like TST 0,X , ROL 0,X , etc. as multiple cycle NOPs. The danger with this senerio is that a periphial's control register may be read accidently (if the exact value of the X-Reg is not known) and that read may clear an IRQ flag so the software continues to wait for an IRQ that never appears to arrive. You mentioned that adding three BSET/BCLR instructions seemed to cure the problem. What bit/byte did these instructions affect? What did the code initialize just prior to these instructions and just after? Are you playing any "games" with the stack? Are you positive that every JSR/BSR has a RTS and every IRQ routine has a RTI? Is every possible IRQ vector defined? (Don't run the risk of vectoring to an un-known location!) Another common bug results when the program uses the RAM in the stack area for variable storage. The two may collide and crash the program. In each of these senerios, the progaram can crash and start executing "random" code. This may not be random at all. The program may crash the same way each time. Quit often, adding a few instructions, or simply re-locating the code in the memory map, may appear to "cure" the problem but it is really just masking it. No. 12 02/23/91 03:58:34 From: David Basell To: Ken Burch Subject: (R) (R) 705C8 Message class: Public Message base: 6805mail Ken, Thanks for your reply. We have found our bug! We are using an old Motorola XASM and Linker on Unix (both xasm and linker V1.0). We tracked the problem to a bug in the linker where it was calculating jump addresses incorrectly - consequently the program went wild! Adding the extra instructions was sufficient to make the linker come good. Tricky eh? Does anyone know of a more recent version of these programs? We got over our problem by using the PC version XASMs. David No. 13 03/02/91 11:42:41 From: Clint Oconnor To: All Subject: Timer Interrupts Message class: Public Message base: 6805mail I seem to be having a problem programming timer interrupts! I tried the same basic code first in a polled mode, observing the OCF flag. No problem. Now I set $40 in TCR and have $1FF8 pointing to the timer service routine (which returns with an RTI of course). I reduced the code to its essentials which is: ORG $50 FCB END-START START LDA $FF *port C outputs on for LED use STA PORTC STA DDRC LDA TSR CLR OCR CLR OCRL LDA #%01000000 STA TCR CLI HERE BRA HERE ISR LDA TSR LDA OCR LDA #$40 EOR PORTC STA PORTC *blink RED LED RTI $1FF8: FDB ISR *point ROM vector at ISR I forgot to mention the first two instructions are SEI and RSP. After enabling PORTC outputs I also do BCLR 5,PORTC to turn on the green LED prior to setting the Timer Control Register. TCR is $12, TSR is $13, OCR is $16, and OCRL is $17. I've checked all this out and looked at the assembler output and everything is ok. What happens is that the green light comes on, the red light never comes on. I have been over this several times and have tried two MC68HC705C8 chips; both do the same thing. It seems that the interrupts are NOT working. Since I am at wit's end, I hope someone will have a suggestion as the evaluation board is the el cheapo model and I have no hardware or emulators to assist me. Please make me look like a fool and point out something simple I am doing wrong! Thanks! No. 14 03/02/91 15:26:19 From: Kee Nethery To: All Subject: SPI to read 10Kbps?? Message class: Public Message base: 6805mail I am using the SCI to read a 9600 baud data stream. I would like to use the SPI to read a 10Kbps data stream but ... there doesn't seem to be any way to slow down the SPI in master mode slow enough to creep along at 10Kbps. Are there any versions of the HC05 that have modified SPIs that read slower rates? Any ideas? Thanks, Kee Nethery No. 15 03/27/91 14:06:30 From: Donald Drumm To: All Subject: IBM keyboard Message class: Public Message base: 6805mail I asked before and maybe no one can help me, but let's try a different heading. I am log to use a HC05B6 as an IBM keyboard controller, along with other things. Has anyone done thcode for the different IBM formats? XT,AT and/or PS/2? any help would be apperciated. Thanks. No. 16 03/29/91 00:34:03 From: Mark Hotchkiss To: All Subject: Security Fuse, HC05 Message class: Public Message base: 6805mail I have been using the MC68HC705-C8S chips for three projects. I've been writing the code on a EXORSET 35, compiling and then downloading the 'S19' file to an IBM PC/XT which talks to the 68HC705 PGMR board. I've used both 'PROG7' and 'BURN05' to blast the firmware with no hitches, but I can't seem to program the darn security fuse. I have tried seting it in my source code. I have tried setting the 'Dump EPROM and blow security fuse' switch selection on the PGMR board. I have even fingerboned a S19 file with just that byte in it for PROG7. Someone must have had this problem before me. Can anyone help ? What am I doing wrong ? No. 17 04/04/91 10:43:31 From: Steve Sagerian To: All Subject: freeware XASM6805 Message class: Public Message base: 6805mail Hello I have been using the freeware 6805 assembler XASM6805.MAC for the Mac and I have noticed that it does not support many of the assembler directives (like include). Am I using it correctly? has anyone else had the same problem? Yes, i know its freeware..is there a better alternative for the MAC? I am having a blast writing code and building circuits for the MC68HC705C08. and would like to get more out of my coding. If you would like to contact me directly, my home phone is 708 263-7084. thanks for you responses. . steve No. 18 04/19/91 23:02:46 From: Randy Cornelius To: All Subject: EPROMS Message class: Public Message base: 6805mail I have a question about preparing an eprom to program a MC68705P3/R3 using the programmer described in AN857. I presume that you place your code in the address in the eprom that coresponds to the eprom area of the MCU. However, I don't see what you put in the non eprom areas. Do you leave them blank? Randy Cornelius No. 19 05/23/91 13:10:50 From: Steven Avritch To: Mark Hotchkiss Subject: (R) Security Fuse, H Message class: Public Message base: 6805mail Hi,I had the same problem with the prog7 and burn05 programs. i found out that they perform range checks on the .s19 file when programming. The problem is that they forgot to put 1fdf in the "ok" address range. I modified burn05 (via turbo debugger) and removed all address range checks. The security bit now works fine. If you would like my copy of burn05 let me know Steven Avritch (203)683-9815. I check into this board every few months so you may want to call. No. 20 05/28/91 09:01:40 From: John Dumas To: Merlin Friesen Subject: MC68HC811E2 Data Message class: Public Message base: 6805mail That info is in the MC68HC811E2 data sheet. Data sheets are available from your local Motorola Sales office (& some distributers). johnD No. 21 05/31/91 14:59:02 From: Barry Kirsch To: All Subject: 68HC705 PGMR Board Message class: Public Message base: 6805mail I would like to use a 4.0 MHz crystal instead of the 2.0 Mhz. If I replace it on the board, I probably won't be able to use th PROG705 program for the Mac. Is there a replacement program or a patch that I can put into the PROG705.mac program that will compensate the Baud rate for the 4.0 Mhz. crystal? Thanks, Barry Kirsch (215) 441-1886 No. 22 06/12/91 12:23:26 From: Robert Yost To: Pat Joyce Subject: MC68HC705 I/O PORT M Message class: Public Message base: 6805mail HI PAT: EE Tools Po Box 36 Conesus NY (716)346-6973 has available a I/O port monitor for the MC68HC05 family of microcontrollers. This monitor allows the hardware and software development engineer to monitor the I/O ports of the controller. It also has handy test points for all the pins, a power supply, an RS232 serial port for the SCI port of the controller,an LED monitor for each port, and option jumpers for items like the reset line. It connects to the Motorola EVM with a ribbon cable supplied. It connects between the EVM and the target system, or only to the target system. It makes easy the task of testing designs because the state of the ports is easuilly viewed. Also the test points make conecting scopes and DVMs to the controller pins a breeze. It will save an engineer many hours of development time, and will pay for itself in as little as 2 months. It is available off the shelf for 199.00$ and has a 1 year warranty. No. 23 06/12/91 12:23:26 From: Robert Yost To: David Basell Subject: HC05 I/O PORT MONITO Message class: Public Message base: 6805mail HI DAVID: If you are developing hardware and code for the MC68HC05 family of controllers, the I/O port monitor from EE Tools PO Box 36 Conesus NY 14435 (716)346-6973) can save you many hours of debug time. It monitors the I/O ports with LEDS, it has test points for all pins of the controller, a power supply and a serial port for the SCI. If interested call or write for information. or leave a message for Bob Yost Thanks No. 24 06/12/91 13:24:23 From: Robert Yost To: All Subject: I/O PORT MONITOR Message class: Public Message base: 6805mail EE Tools Inc. PO Box 36 Conesus NY 14435 (716)346-6973 has an I/O port monitor for the MC68HC05C8 controller. It has an LED for each of the I/O ports, Test points for all pins, power supply, serial port and many option jumpers for reset line etc. It can save a development engineer many hours of time debugging hardware and software. The test points are very handy. It comes with cables and hooks up between the EVM and arget system or just to the target system. The arrangment of LEDS monitors are just like the 40 pin package. The pins are numbered for quick reference. Please write or call for information. Also a new low profile, small package 44 pin PLCC pod will be available soon. No. 25 06/20/91 16:21:31 From: Robert Yost To: Pat Joyce Subject: (R) (R) WHAT ARE YOU Message class: Private Message base: 6805mail HI PAT, GLAD TO HEAR FROM YOU, WORK # = 716-385-7560 HOME # = 716-346-6645 I HAVE OPENED AN ACCOUNT WITH HAMILTON AVNET FOR PUCHASING MICROS ETC, IF YOU NEED SOMETHING, LET ME KNOW. I HOPE TO HAVE SOON SOME 05C8'S ON HAND, CERAMIC AND OTP'S TALK TO YOU LATER No. 26 06/24/91 08:38:57 From: John Berger To: Anton Belehradek Subject: (R) 68705 programmin Message class: Public Message base: 6805mail The 68705 can be successfully assembled using 2500 AD software. 2500 AD is located somewhere in CO. I've used successfully the small programming board provided by MOT to put the code into the 68705 These boards were distributed free by MOT about 5 years ago... John Berger (717) 355 3671 No. 27 06/24/91 13:14:50 From: Fred Myers To: John Dumas Subject: BURN05 / Scope Probe Message class: Public Message base: 6805mail I discovered that the problem I was having with BURN05 was due to a scope probe on the transmitted data from the MCU. PROG7 did not have any problems, nor did my own application at 4800 baud. I suspect that BURN05 kicks the baud rate up so high that the added capacitance of the scope probe becomes a problem. This message is to log the problem and solution, and perhaps save someone else some time. Thank you for your quick response to my question about BURN05 on a 386 versus a 286. It works on both for me now, and fails on both if the scope probe is attached. No. 28 06/24/91 14:59:47 From: John Dumas To: Fred Myers Subject: (R) BURN05 / Scope P Message class: Public Message base: 6805mail Yes, that makes a sort of sense. If the baud rate is VERY high (I don't know the real rate), the cap of the scope probe can distort the data such that when the data sample is taken in the middle of a baud period, the wrong level is "seen"..... I've had long cables (much C) garbage data at high serial rates...... johnD No. 29 07/06/91 06:43:22 From: Jay Marshall To: John Dumas Subject: 6805 C COMPILER Message class: Public Message base: 6805mail I am looking for a good C compiler for the 6805. Any suggestions? No. 30 07/09/91 17:19:08 From: Steven Avritch To: John Dumas Subject: burn05 Message class: Public Message base: 6805mail Hi John, Do you know who wrote burn05.exe. I would like to get the source code for burn05. thanks, steve No. 31 07/16/91 16:02:06 From: Srinivasa Datari To: All Subject: Interested in buildi Message class: Public Message base: 6805mail Dear BBS friends, I am interested in building and programming a 6805 based microcontroller. Can you send me some information in this regard. Sincerely, Srinivasa Datari. (503) 776-9800. No. 32 07/31/91 11:51:40 From: Robert Yost To: Pat Joyce Subject: 68HC05C8S CHIPS Message class: Public Message base: 6805mail HI PAT - EE TOOLS NOW HAS AVAILABLE OFF THE SHELF THE MC68HC705C8S CHIPS. THESE ARE AVAILABLE TO AT ANY QUANTITYS. IF YOU HAVE ANY NEED D FOR THESE OR IF ANYONE ELSE DOES THEN CONTACT EE TOOLS AT 716-346-6973. LEAVE A MESSAGE FOR ME ON WHAT YOU'RE DOING. MY DAUGHTER IS GOING TO THE STATE FAIR TO COMPETE ON HER PONY. SEE YOU BOB YOST. No. 33 07/31/91 11:51:40 From: Robert Yost To: John Dumas Subject: (R) (R) info 68705c8 Message class: Public Message base: 6805mail JOHN - EE TOOLS HAS AVAILABLE THE MC68HC705C8S AND MC68HC705C8 OFF THE SHELF IN SMALL QUANTITIES. EE TOOLS CAN BE REACHED AT 716-346-6973. No. 34 07/31/91 14:32:11 From: Bob Backus To: All Subject: CONSULTING Message class: Public Message base: 6805mail EXPERIENCED 6805 DESIGN CONSULTANT AVAILABLE AREAS OF EXPERTICE: REAL TIME INDUSTRIAL CONTROL SYSTEM SOFTWARE AND HARDWARE DESIGN. INSTRUMENTATION AND DATA ACQUISITION SYSTEMS. MOTOR CONTROLLERS. CONTACT: Robert Backus (714) 848-1478 HUNTINGTON BEACH, CA No. 35 07/31/91 19:08:26 From: John Dumas To: Bob Backus Subject: (R) CONSULTING Message class: Private Message base: 6805mail We don't mind you advertising on the system, but it would be polite to ask first..??.. johnD No. 36 07/31/91 20:17:49 From: Walter Ulrich To: All Subject: 68hc05b4 int problem Message class: Public Message base: 6805mail Help! I'm having difficulties getting the SCI interrupts to work properly in a system using a 68hc05b6 MCU. This is the problem: - I set up my ISR vectors. - I execute a CLI instruction. - The MCU immediately jumps to the address stored in location $1FF2!! According to the documentation I have, there are only four interrupt vectors used in the hc05b6 chip, namely $1FF6 for the SCI interrupt $1FF8 for the timer interrupt $1FFA for -IRQ $1FFC for SWI (and of course $1FFE for reset). Is my documentation wrong? I tried installing vectors @ 1FF0, 1FF2, etc. on a hunch. Any help on this matter would be greatly appreciated. I can provide code if neccessary. Thanks, W. Thatcher Ulrich Tekscan, Inc. 617 737 8734 No. 37 08/14/91 18:03:02 From: Don Bloxsom To: Jay Marshall Subject: (R) 6805 C COMPILER Message class: Public Message base: 6805mail A good C compiler for the 68HC05 is available from BYTE Craft 519-888-6911 No. 38 08/22/91 22:47:29 From: Martin Fournier To: John Dumas Subject: (R) (R) info 68705c8 Message class: Public Message base: 6805mail Hello I`m a french speaking person that is looking for a sample speach processor like the one that we see usually on tv. I need one that is possible to speak in french so it probably needs to use phonems instead of words.... Is there somebody in this bbs that has already manipulate some speach chips ??? please call me I`ll be glad to speak with you or write if you want... Martin Fournier 147 14th ave Dolbeau P.Q. Canada G8L-2L9 418 276 2477 home 418 276 3483 work 418 276 8344 fax at work please put my name on cover sheet oh I forgot to tell you I'm a 68705c8 user !!!!! No. 39 09/27/91 02:04:29 From: Tim Economu To: All Subject: Float Point math Message class: Public Message base: 6805mail Does anyone have a floating point package for the HC05? I'm looking for a 3 byte mantissa and a one byte exponent. Also would like to have the four functions plus exponent and logs. I'm asking alot to do this with this chip but....!! Thanks to all... No. 40 08/22/91 22:47:29 From: Martin Fournier To: John Dumas Subject: (R) (R) info 68705c8 Message class: Public Message base: 6805mail Hello I`m a french speaking person that is looking for a sample speach processor like the one that we see usually on tv. I need one that is possible to speak in french so it probably needs to use phonems instead of words.... Is there somebody in this bbs that has already manipulate some speach chips ??? please call me I`ll be glad to speak with you or write if you want... Martin Fournier 147 14th ave Dolbeau P.Q. Canada G8L-2L9 418 276 2477 home 418 276 3483 work 418 276 8344 fax at work please put my name on cover sheet oh I forgot to tell you I'm a 68705c8 user !!!!! No. 41 08/22/91 22:47:29 From: Martin Fournier To: John Dumas Subject: (R) (R) info 68705c8 Message class: Public Message base: 6805mail Hello I`m a french speaking person that is looking for a sample speach processor like the one that we see usually on tv. I need one that is possible to speak in french so it probably needs to use phonems instead of words.... Is there somebody in this bbs that has already manipulate some speach chips ??? please call me I`ll be glad to speak with you or write if you want... Martin Fournier 147 14th ave Dolbeau P.Q. Canada G8L-2L9 418 276 2477 home 418 276 3483 work 418 276 8344 fax at work please put my name on cover sheet oh I forgot to tell you I'm a 68705c8 user !!!!! No. 42 09/30/91 19:16:50 From: Marty Morse To: All Subject: Random number gener Message class: Public Message base: 6805mail Does anyone know of an algorithm to produce random numbers for a HC705C8? I'd like to be able to produce a pseudorandom sequence using a seed number with as large a period as possible for a communications application. My number is (816)891-6544. Thanks! No. 43 10/03/91 07:22:37 From: George Csahanin To: All Subject: 687053 Message class: Public Message base: 6805mail HELP! I have run into a real screwy problem with the 68705p3. It involves using bset and bclr on anything other than I/O port registers. The code assembles properly, I can run it on a simulatorok, but when I load it into any of 5 of the devices, the bset/bclr works only on I/O registers and not on other parts of ram, such as $010. or $05f. I am truly baffled by this problem. Everything else in the code runs just fine. Just this is a problem. I'm pulling out what's left of my hair. Can someone shed some light? Examples of what does not work: cmp #$00 bne bb bclr 0,cbyte(located at $010) rti assembled: A100 2603(03 is relative adr of bb) 1110 80 cbyte is a status register in this scheme. Each bit means a control function is enabled/disabled. Come to think of it, whan I used the port b data register for this purpose it didn't fly either. However to look at external stuff, and turn external stuff on/off I used these commands on port a with no problem. I'm really stumped! Made me get out my Intel 8748 stuff last night and ponder that change!!! thanx in advance! -George Csahanin No. 44 08/22/91 22:47:29 From: Martin Fournier To: John Dumas Subject: (R) (R) info 68705c8 Message class: Public Message base: 6805mail Hello I`m a french speaking person that is looking for a sample speach processor like the one that we see usually on tv. I need one that is possible to speak in french so it probably needs to use phonems instead of words.... Is there somebody in this bbs that has already manipulate some speach chips ??? please call me I`ll be glad to speak with you or write if you want... Martin Fournier 147 14th ave Dolbeau P.Q. Canada G8L-2L9 418 276 2477 home 418 276 3483 work 418 276 8344 fax at work please put my name on cover sheet oh I forgot to tell you I'm a 68705c8 user !!!!! No. 45 10/05/91 20:56:56 From: Ken Burch To: Marty Morse Subject: (R) Random number ge Message class: Public Message base: 6805mail One pseudorandom number generator that I have used is to simply read the timer. This part's 16 bit timer runs all the time. However, external events, such as a user pressing a button, occur asynchronously so the timer value at that moment is "random". You can simply read the timer in software or you can use the input capture mode to take a "snapshot" when the external event occurs. No. 46 10/07/91 09:25:41 From: John Dumas To: Martin Fournier Subject: (R) (R) (R) info 687 Message class: Public Message base: 6805mail (Message reply from Ed Edwards of CSIC (6805) Applications.) Motorola does not make speech chips. You may wish to check into DSP chips. In that case, contact Don Gonzales (512) 891-2940.... The only known (to me) source of speech chips is: 1) ARTIC (Phonetic conversions) 2) OKI (ADPCM) Ed Edwards.... No. 47 10/09/91 19:15:01 From: Marty Morse To: Ken Burch Subject: Random Number Gen Message class: Public Message base: 6805mail Thanks for your suggestion. I'll give it a try and see what happens. This random number generator is going to be used in governing retransmit time in a CSMA networking scheme. We just wanted to make sure all the controllers on the network didn't come up with the same time. No. 48 10/13/91 20:03:43 From: James Kuzdrall To: All Subject: P9 SPI as Slave Message class: Public Message base: 6805mail Subject: Four flaws in the XC68HC705P9 SPI, slave mode. - Configuration: Continuous 64us clock to SCK, inactive-high serial data line to SDI and TCAP, inactive-high serial line from SDO with 3.3K pullup resistor. Shift LSB first. Purpose: At irregular intervals, receive 9 bits (one low start bit followed by 8 data bits), wait 2 clock period, send 8 bits (one low start bit followed by 7 data bits). Method: Use TCAP as interrupt. Activate SPI after next rising SCK to skip start bit. Keep SDO high while receiving by allowing resistor to pull disabled line to Vdd. Wait until SPIF flag shows 8 bits received. Disable SPI for 2 SCK. Enable SPI, load data and wait for shift to complete. - Problem 1: Despite section 7.1 "SIOP Pin Descriptions", par 3, of Technical Manual MC68HC705P9/D, SDO cannot be disabled in the slave mode. It is always an output, no matter what. However, it does disable as stated in the Master mode. Oversight? - Problem 2: Despite section 7.1.3 "SIOP Data Output", SDO does not go to a 1 when SIOP is enabled. It goes to the value of the bit in the serial shift register, SDR. Unfortunately, you cannot access and preset SDR to prevent an unwanted output level unless you enable the SIOP. Catch 22! - Problem 3: The bit counter is not reset when SIOP is enabled. It resets only when disabled. To start a transmission, you must enable SPE, disable it, and re-enable it to get the bit counter reset. Even then, it does not always reset. I have no idea why. - Problem 4: The SPIF flag is not reset when the SIOP is enabled (or disabled). Reset requires a time-consuming access to SSR followed by a write to SDR. Despite section 7.3 "SPIF", a read does not reset SPIF, at least not right after the interface is enabled. - I would be delighted if someone could convince me I am wrong about these flaws. After using the P3 and R3 for 10 years with great success, I am disappointed in the P9's seemingly unnecessary shortcomings. A few tiny changes in the silicon could greatly enhance its performance: a) allow access to the SIOP DDR and SDR whether enabled or not; b) gate off the shift clock when disabled; c) clear the bit counter, SPIF, and DCOL on enable; d) couple SPIF to an interrupt vector. Only d should cost much silicon. JK No. 49 10/15/91 21:26:07 From: Michael Rice To: All Subject: 1468705MJ3 Message class: Public Message base: 6805mail My last message asking for help in locating programming info brought a response, but I am still stuck. I cannot get a copy of Engineering bulletin 110. DL132R1 page 1050 states that EB110 must be consulted for info regarding the MJ3 series mask sets. The Engineering Hotline doesn't know this bulletin exists. If anybody knows about the MJ3 series, please drop me a note. Thanks. Michael D. Rice CET No. 50 10/25/91 00:36:31 From: Tom Viveiros To: All Subject: 68705 Message class: Public Message base: 6805mail Can anyone help me with a MIDI project. I need some code written for the 68705. I could probably gain access to the facilities neccessary to do the chip burning. I do have some of the serial input routines already done. I just need some filtering and output routines to complete the project. Thanks. No. 51 10/29/91 15:58:07 From: Michael Leblanc To: Srinivasa Datari Subject: (R) Interested in bu Message class: Private Message base: 6805mail Srinivasa, If you get any real good information on project developement with the 6805, please contact me. I would like to do the same. I take it for granted that you have already reviewed Motorola literature such as the technical manual and application notes for the 6805. I look forward to hearing from you. - Michael LeBlanc - 512-326-8841 (or leave message) No. 52 11/03/91 05:40:16 From: John Gould To: All Subject: Hi temp mcu's Message class: Public Message base: 6805mail Hi, I am prototyping a mcu based logger for high ambient temps. I am having some trouble identifying what 68HC?05 parts are available now and what are under development. I understand the MC68HC705CS (-40C to +85C) is currently available - is this correct? What about the new Automotive range (-40C to +125C), are there any EPROM or EEPROM MCU's available or under development? These would be ideal for my application. The latest data book I have (Acvance Information, 8-Bit Microcomputers MC68HC05B6/D) hints in the data sheets (appendix B-15 supply currents) but gives no part number to order. Thanks, John Gould. No. 53 11/29/91 00:21:59 From: Dan Debolt To: John Dumas Subject: 68705 Message class: Public Message base: 6805mail i want to use the 68705r3 chip the one with analog channels but cannot find a cross assmembler for it . i have a pc xt clone wit 30mb drive i looked in the files but not sure if tere is one or which ones. I plan to use it for temperature sensor and output info among other applications. have sent to motorola for info on chip but need to find a cross assembler . No. 54 12/11/91 23:46:55 From: Mark Conover To: All Subject: UNIX Dev Tools Message class: Public Message base: 6805mail Now that I am running UNIX on my 386 (MACH/386 from Mt.Xinu), I would like to continue my 68hc705 development on this platform. Is source code available for the PGMR tools? Thanks No. 55 12/13/91 14:25:21 From: Bob Nilles To: John Dumas Subject: (R) (R) bootstrap ro Message class: Private Message base: 6805mail Hello again John. I dont see why a nondisclosure agreement is necessary since I work for Motorola in the Comm Sector in Schaumburg. Also, I know of a group at Cellular in Arlington Heights that is using it. I also dont believe that there is anything that earth- shaking in this 256 bytes of code to make me go thru all that trouble. Awaiting your reply. thanks, Bob Nilles No. 56 12/29/91 15:05:25 From: Del Lindberg To: Mark Conover Subject: (R) UNIX Dev Tools Message class: Public Message base: 6805mail I am not sure what you mean by the PGMR tools when you are asking for source to them. If you mean the assemblers and stuff, then the source is available in the "other mcu" directory. If you mean the front end P&E stuff, I doubt if that is available in source, or for your Mach environment. Incidentally, I have played around with M4 to turn the freeware assemblers into a crude macro assembler, with reasonable results. For example: PSHA does exactly what you think it should! Let me know if you want any pointers on how to make macros for M4, or for the 6805. It's not intuitive, and the regular documentation is pretty poor. No. 57 01/08/92 03:23:10 From: Rj Cooper To: All Subject: FIRST TIME HELP Message class: Public Message base: 6805mail I design hardware and software for children with severe disabilities. My current project uses an M68705P3 with appropriate electronics to drive a small 'kid' car for children that cannot walk, operate a joystick, and actually have very limited input to this world. The circuitry was designed by someone I contracted at MIT. He did the software also. He has moved on to other projects and, if I want to update the software, I must learn his assembly code. I need a good reference manual for the instruction set, and operating parameters of my chip. For example, how does the timer interrupt routine interact with the rest of the software? No matter where the program is when the counter counts down,does the software go to the interrupt routine? Is the new NMOS 6805 a direct replacedment for my MCU? Does it just use less power, and is able to directly drive some motors (my amperage output of the MOSFETS that are being PWM ramped is too high for this, I'm sure, at 9 amps.) Thanks. RJ Cooper No. 58 01/08/92 19:37:59 From: Andrew Mckewan To: All Subject: Expanded Mode Message class: Public Message base: 6805mail Is there a way to bring the address and data lines from a 68HC705C8 or 805C8 out of the chip? I have heard that this can be done but see no mention of it in the literature. Any help would be appreciated. Thanks. No. 59 01/13/92 09:43:17 From: Ken Burch To: Rj Cooper Subject: (R) FIRST TIME HELP Message class: Public Message base: 6805mail The place to start is "M6805 HMOS/M146805 CMOS Family User's Manual" book number M6805UM/AD3 and/or the "HC05 Applications Guide", book number M68HC05AG/AD. Both of these are available from your local Motorola sales office. (A list of these can be found elsewhere on this bbs.) There are a number of '05s available ( > 25 I think ). Some are HMOS (High density NMOS), CMOS (old, slow CMOS), or HCMOS (High density CMOS). All of the "newer" parts are in HCMOS. No. 60 01/20/92 17:07:29 From: Joel Toone To: All Subject: 68HC705 Message class: Public Message base: 6805mail I have been unable to get "SPIF" flag (SPI) to work consistently at a clock rate of 2.1 mhz. The same program works at 1.05 mhz. Has anybody experienced problems in this area. The SPI is in the slave mode. No. 61 01/25/92 17:16:03 From: Boris Ostrovsky To: All Subject: HC705b5 Message class: Public Message base: 6805mail I have the following program for a 68HC705B5: ----------------------------------------------------- ; Sample code org 810 start: clr 00 clr 50 lda #0ff sta 04 rep: lda 50 sta 00 inca sta 50 bra rep org 1ffe dw start ----------------------------------------------------- The .s19 file was created using P&E Microcomputer Systems' software. Then it was loaded into the chip with the M68HC705B5PGMR programmer. The chip produced no output. I have the following lines connected : Vdd=5V Vcc=0 RESET=5V IRQ=5V OSC1 - external 3.86MHz This is the .s19 file produced by P&E software : S11308103F003F50A6FFB704B650B7004CB7502076 S1040820F7DC S1051FFE0810C5 S9030000FC AS5.EXE could not create .s19 file. I would appreciate any help or suggestions as to how to proceed Boris Ostrovsky Boston University No. 62 01/27/92 18:11:22 From: Boris Ostrovsky To: Ken Burch Subject: (R) (R) HC705b5 Message class: Private Message base: 6805mail Thank you so much I'll try this and let you know how it goes... No. 63 01/27/92 19:36:43 From: Boris Ostrovsky To: Ken Burch Subject: hc705b5 Message class: Public Message base: 6805mail Ken: We just tried the code as you suggested, but ran aground. Would it be possible for me to e-mail you directly (my address is boris@water.bu.edu) or even call you over the phone? I think that this I would be able to explain the difficulties I've beeen having with this chip. Boris No. 64 01/27/92 19:36:43 From: Boris Ostrovsky To: All Subject: MC68hc705b5 Message class: Public Message base: 6805mail The commented code is as follows: org 810 ; beginning of the program in ROM start: clr 00 ; clear portA clr 50 ; clear the test variable at address 50 lda #0ff sta 04 ; configure portA as an output port rep: lda 50 ; this loop just increments the value sta 00 ; of portA, so each pin of port A should be a ; square wave inca sta 50 bra rep org 1ffe ; reset vector dw start The following is the .s19 file S11308103F003F50A6FFB704B650B7004CB7502076 S1040820F7DC S1051FFE0810C5 S9030000FC This code was assembled using P&E software. However the standard as5.exe could not understand the last line - dw start This program is just a test, so I didn't specify any other interrupt vectors. The .s19 file shows ( as I understand it ), that the code is written into the appropriate addresses, and the 68HC705B5PGMR shows that the code ( and reset vector ) is in the correct place. I have a feeling that upon the reset the pc does not go to $0810 or the program gets stuck inside an interrupt (however is this were true it should then execute one instruction after it returns from it (?)). This code was successfully emulated on the M68HC05EVM. The ONLY lines that I have connected are: Vdd = 5V Vcc= 0 RESET=IRQ=5V external clock. The program produces no output - port A pins are zeros. Boris Ostrovsky Boston University ps. Any comments and/or suggestions will be greatly appreciated. No. 65 01/27/92 19:36:43 From: Boris Ostrovsky To: John Dumas Subject: Motorola Message class: Private Message base: 6805mail Hi: Would you know of a number I could call at Motorola to find out about some technichal details for a MC68HC705B5 chip? thanks, Boris Ostrovsky No. 66 02/01/92 09:39:08 From: Ken Burch To: Boris Ostrovsky Subject: (R) hc705b5 Message class: Public Message base: 6805mail I would be happy to assist you in any way I can. Unfortunately, I am very difficult to reach. I will be traveling to Florida next week, California the following week, and may be back in Florida the following week. I generally call into this bbs from home on the weekends. I would guess that you need help much more quickly than that. Perhaps there is someone else on the bbs that can do that. Otherwise, I will do what I can. There are a couple of things that you can look into. Does the 'B6 have a watchdog timer? (Some of the 'HC05s do and I do not have the documentation on that particular part here at home.) If so, it is possible that the watchdog is timeing out. This senerio is un-likely however, because you should get at least a few milliseconds of operation before the timeout, and all it should do it re-start. You mentioned that the port pins are low. Are they actively pulled low? After a reset, the port is configured as inputs. The pin impedance is very high and they are easly pulled low by the DC resistance of a typical multimeter or oscilloscope probe (assuming that the other lead is connected to Vss). You can verify this by connecting the 'scope or DMM and then pulling up the pin with a 100 kOhm resistor. If the pin is an input, it will be pulled to Vdd (+5 Volts in this case). However, if it is an output, it will remain low. Is the part running? This is usually very difficult to determine in a single chip computer. However, there are often clues (such as the one above). Use an oscilloscope to verify that there is a signal comming out of the OSC2 pin. It should be the same as the signal that you are putting into OSC2 except inverted (OSC2 at +5 Volts when OSC1 at 0 Volts and vice versa). Turning now to software, I am un-familiar with the P&E asyembler. What is the 'dw' directive? In the old Motorola asyemblers that I use, the directive is 'FDB' for 'Form Double Byte'. I have noticed that you have used slightly different syntax than I am used to, so I would guess that you are probably using the 'dw' directive correctly. Ken Burch No. 67 02/01/92 09:39:08 From: Ken Burch To: Boris Ostrovsky Subject: (R) MC68hc705b5 Message class: Public Message base: 6805mail Vss=0 Volts? No. 68 02/06/92 12:33:17 From: Bill Oliver To: George Csahanin Subject: (R) 687053 Message class: Public Message base: 6805mail I have run into a similar problem when using the Motorola PASM05 assembler and Motorola PLD linker. I don't remember exactly what was happening, but I do remember that if either the bit number for the bit set or clear instruction or the address was defined in a different file, and if both files were assembled seperately and then linked together using PLD, then the instruction was not assembled correctly. I have not use a simulator, so I have no idea why it might work when everything else fails. My suggestion is to find the exact bytes in the s-record file for your bit set and clear instructions, and then decode them manually yourself to determine if the instructions are actually being assembled and linked correctly. Due to this problem as well as others, I have stopped using Motorola's assembler and linker and have bought a third party assembler/linker package which does more anyway. As sort of an afterthought, if you must continue to use Motorola's assembler and linker, there is one other way to get around this type of problem. Basically, don't use the linker. Structure all the files so that there is one main file which "includes" all the other files, and every time you have to assemble your stuff, then just assemble the file which "includes" everything else. This takes more time as each time you must assemble everything instead of just assembling small pieces, but it seems to work. Also, you can run the "ubuilds" utility directly on the assembler output COFF file without having to link it first. I hope this helps, Bill Oliver No. 69 02/07/92 18:50:49 From: Lawrence Leinweber To: All Subject: 68705u3 Message class: Public Message base: 6805mail To aid in programming a 68705u3, I would like to have the code for the bootstrap program in ROM for this or a similar device. This question was asked in message #8 (circa 1990) but I see no response. Thank You. No. 70 02/14/92 01:26:08 From: Frank Hampshire To: All Subject: help ! Message class: Public Message base: 6805mail Help ! Below is a section of code that, if a button-push is read, BRSET's to these routines. These routines then get data from memory, write it to a display and after it has written 16 characters waits for the button to be pushed again, and writes 16 more, ect. It is to display 4 screens of data, and then on the 5th button-push return to the main program. My problem is the damn thing doesn't work. I've looked at this same code for weeks and can't figure it out. The specific problem is that it branches to the routine properly, writes the 1st 16 characters properly, waits properly, then when the button is pushed again it re-starts to the main program, as if I'd pushed the button the 4 more times. The buttons are located on Port C of a 68705P3, the port is configured properly, and the Port C lines are held low through 10 K resistors. I think my problem is somewhere in FLAG, but I can't figure it. Lastly, if someone has a neat/simple "switch/scan" program hack for the 68705 I'd like to see it. Thanks in advance. . Frank Hampshire . . REPLA SEI ;DISABLE INT LDA #$20 ;GET LOWEST DATA ADDRESS STA DMEMA ;STORE TO PSEUDO REGISTER CLR FLAG ;CLEAR KEYPRESS FLAG LOOP7 CLR INDEX ;USED AS A LOOP COUNTER NEXT LDX DMEMA ;GET MEMORY ADDRESS LDA ,X ;GET VALUE IN ADDRESS X JSR DWRITE ;WRITE IT TO DISPLAY INC DMEMA ;INCREMENT TO NEXT ADDRESS INC INDEX ;INCREMENT COUNTER LDX INDEX CPX #$10 ;DONE WRITING THIS LINE ? BNE NEXT ;IF NOT, LOOP AND DO IT ALL AGAIN JSR CHECK ;WAIT FOR REDISPLAY BUTTON INC FLAG ;INCREMENT BUTTON PUSH COUNTER LDA FLAG ; CMP #$04 ;HAVE WE WRITTEN FOUR SCREENS YET? BLS LOOP7 ;IF NOT, GO DO ALL AGAIN (BRA TO MAIN PROGRAM) ; CHECK JSR DEBONC ; LDA TEMP ; AND #$01 ;MASK ALL BUT THE FIRST BIT BEQ CHECK ;WAIT FOR IT TO BE PUSHED AGAIN RTS DEBONC JSR WAITS ;10 MS DELAY LDX #$20 ;DEBOUNCE CONSTANT. LDA PORTC ;READ SWITCH PORT. AND #$0F ;IGNORE OUTPUT LINES. STA TEMP ; INPUT1 LDA PORTC ;READ SWITCHES AGAIN. AND #$0F ;IGNORE OUTPUT LINES. CMP TEMP ;SEEN IT BEFORE? BNE DEBONC ;NO, MUST BE BOUNCE. DECX ;YES. BNE INPUT1 ;TRY AGAIN TO BE SURE. JSR WAITS ; RTS No. 71 02/14/92 16:31:47 From: Johnson Chan To: All Subject: 68705 STAC POINTER Message class: Public Message base: 6805mail I HAVE PROBLEM IN LOCATING THE STACK POINTER IN THE 68705 IS THERE ANY INSTRUCTION TO ACCESS THE STACK POINTER OTHER THAN "RSP" ? I AM TRYING TO CHANGE THE PROGRAM COUNTER INSIDE AN INTERRUPT SERVICE ROUTINE, SUCH THAT I WILL RETURN TO A DIFFERET LOCATION AFTER THE INTERRUPT ROUTINE. HELP! HELP! HELP! I AM WRITING REAL TIME CONTROL SOFTWARE FOR A CONTROL COMPANY AND I CAN BE REACHED AT VOICE (416) 661 0500 0900 TO 1700 EST. THANK YOU!! No. 72 02/01/92 09:39:08 From: Ken Burch To: Boris Ostrovsky Subject: (R) MC68hc705b5 Message class: Public Message base: 6805mail Vss=0 Volts? No. 73 02/29/92 09:38:42 From: Clay Thibodeaux To: All Subject: mc68705p3 Message class: Public Message base: 6805mail I am interested in building a project using the above listed chip. I have no previous knowledge of assembly language for this chip. If someone could direct me to a manual which contains all of the op codes, and simple explaination of their usage ,and anything else i will need to know,please leave me a message. thanks clay thibodeaux] No. 74 03/09/92 15:26:51 From: John Pasik To: John Dumas Subject: burn05.exe for IBM p Message class: Public Message base: 6805mail Is the source code available for the burn05.exe program? I have viewed the executable file and it appears to be written in "C". The main topic of interest is changing the baud rate of the COM port to a non-standard value. My problem is as follows: I have 50 PC boards built with blank 68705C8 uPs (oops!). The boards have 3.58 Mhz Xtals. I need a way to program these parts on-board (they are soldered in place). I would like to use a patched version of burn05 to communicate with this non-standard baud rate. Any help would be appreciated! I also have an HC05EVM at my disposal if that monitor code could be changed easier to program these parts. I noticed this question was asked in message #83, with no real reply. I'm sorry if this is a FAQ. Thanks for any help you can provide. John Pasik, Motorola Cellular Infrastructure Div. (708)632-5927. No. 75 03/16/92 16:45:05 From: Thurman Charles To: John Dumas Subject: 68hc05 Message class: Public Message base: 6805mail recently received 68hc05 p-series diskette. it is all fouled up. programs are not there. who knows where to get answer to problem on straightening this out.???? Charles Thurman No. 76 03/19/92 15:04:26 From: George Dinwiddie To: John Dumas Subject: 68HC05L7/L9 Message class: Public Message base: 6805mail Is the 68HC05L7/L9 an available part? How would I get a databook on this part? I am interested in having LCD drivers and an SCI port. Are there other parts that will support this? What is available for developing for this part? . The latest microcontroller selector guide that I have is 2Q90 Is there an updated one? I tried to request one on DesignNET, but never received an answer. It's gotten very difficult to keep current with Motorola's MCU offerings. Thanks, George No. 77 03/20/92 08:18:38 From: John Dumas To: George Dinwiddie Subject: (R) 68HC05L7/L9 Message class: Public Message base: 6805mail For info about the HC05 series MCU's, please call (512) 891-3927 & ask for the 68HC05 Apps Engr.... johnD No. 78 03/21/92 11:51:33 From: Ken Burch To: George Dinwiddie Subject: (R) 68HC05L7/L9 Message class: Private Message base: 6805mail How large (ie how many pixels) does the LCD need to be? If you can use a small (ie 12 numeric digits) display, the MC68HC05L6 could do the job if you are willing to impliment the SCI in software. (Example code can be found in the 68HC05 User's Manual.) If you need something bigger and have a high volume application, you can try contacting a Motorola sales office. Motorola is designing new 'HC05s all the time and it is possible that something suitable may be in the works. No. 79 03/23/92 18:56:46 From: Marvin Stone To: Alost Passwd Subject: (R) SAE J1850 STANDA Message class: Public Message base: 6805mail RE SAE J1850, Ken Schultz Ken, Did you get the information you were looking for on J1850. The recommended standard is available from SAE. In addition, you might be interested in J2178. It has not been published yet but has a lot of information on the recommended use of the frame(s) as well as the potential message IDs. Looks like CAN chips may become available that will also support the inclusion of J1850 header information. If so, this would allow CAN and J1850 nets to coexist with simple routers. Marvin Stone No. 80 03/27/92 00:45:20 From: Bob Buege To: John Dumas Subject: bootloader Message class: Public Message base: 6805mail I'm building a bootloader circuit for the 68HC705J2 as shown in the spec sheet for this chip (document BR769/D). The schematic on page 4 shows a switch that can short PB2 to ground to put the chip in the verify mode. At the same time PB2 is shorted to ground, the cathode end of the programming LED is also shorted to ground. This would appear to indicate that the programming LED will be on whenever the chip is put into verify mode. Is this the way the circuit was intended to operate or is there an error in the circuit diagram? No. 81 03/21/92 11:51:33 From: Ken Burch To: George Dinwiddie Subject: (R) 68HC05L7/L9 Message class: Private Message base: 6805mail How large (ie how many pixels) does the LCD need to be? If you can use a small (ie 12 numeric digits) display, the MC68HC05L6 could do the job if you are willing to impliment the SCI in software. (Example code can be found in the 68HC05 User's Manual.) If you need something bigger and have a high volume application, you can try contacting a Motorola sales office. Motorola is designing new 'HC05s all the time and it is possible that something suitable may be in the works. No. 82 04/13/92 10:18:57 From: Keith Amdahl To: All Subject: 68hc705c8 Message class: Public Message base: 6805mail ????????????????????????????????????????????????????????????????????? What's up with the IRQ pin? Every book I look in states this is an active low input, However my software works only when IRQ is tied low! No matter how simple the program (even just setting a single LED on) will not run unless IRQ is held low. I thought when the pin was high the software ran normally and on a low input, the chip would execute an interupt routine. Things seem to be working bass ackwards!! Any suggestions? THANKS No. 83 04/23/92 08:45:27 From: Scott Christensen To: Ed Baltazar Subject: (R) 68HC805 or 6805 Message class: Public Message base: 6805mail Ed, call you local Motorola Sales office and request a copy of the September 1991 MCU TOOLBOOK. I think you will find exaclly what you want listed in its pages. I have found that the best supported, best documented developement applications come from outside busineses that "sell" software developement packages. Enjoy the reading. No. 84 03/19/92 15:04:26 From: George Dinwiddie To: John Dumas Subject: 68HC05L7/L9 Message class: Public Message base: 6805mail Is the 68HC05L7/L9 an available part? How would I get a databook on this part? I am interested in having LCD drivers and an SCI port. Are there other parts that will support this? What is available for developing for this part? . The latest microcontroller selector guide that I have is 2Q90 Is there an updated one? I tried to request one on DesignNET, but never received an answer. It's gotten very difficult to keep current with Motorola's MCU offerings. Thanks, George No. 85 03/21/92 11:51:33 From: Ken Burch To: George Dinwiddie Subject: (R) 68HC05L7/L9 Message class: Private Message base: 6805mail How large (ie how many pixels) does the LCD need to be? If you can use a small (ie 12 numeric digits) display, the MC68HC05L6 could do the job if you are willing to impliment the SCI in software. (Example code can be found in the 68HC05 User's Manual.) If you need something bigger and have a high volume application, you can try contacting a Motorola sales office. Motorola is designing new 'HC05s all the time and it is possible that something suitable may be in the works. No. 86 03/21/92 11:51:33 From: Ken Burch To: George Dinwiddie Subject: (R) 68HC05L7/L9 Message class: Private Message base: 6805mail How large (ie how many pixels) does the LCD need to be? If you can use a small (ie 12 numeric digits) display, the MC68HC05L6 could do the job if you are willing to impliment the SCI in software. (Example code can be found in the 68HC05 User's Manual.) If you need something bigger and have a high volume application, you can try contacting a Motorola sales office. Motorola is designing new 'HC05s all the time and it is possible that something suitable may be in the works. No. 87 04/30/92 21:08:16 From: Colman Kusick To: All Subject: MC68705P3 Message class: Public Message base: 6805mail Does anyone have information on how to read the eprom of a programmed MC68705P3? My programmer does not support this and the data sheet does not help. Since a programmed 68705P3 can be used to submit a rom pattern to Motorola there must be a way to read the eprom. Any information will be appreciated. Colman Kusick. No. 88 05/11/92 20:42:42 From: Mark Berget To: All Subject: M68HC705C8 SIMULATIO Message class: Public Message base: 6805mail I am looking for a M68HC705C8 simulation package. I have a M68HC05PGMR and would like to "ring-out" my software before burning and erasing a bunch of windowed MCUs. Any suggestions? Mark Berget No. 89 05/28/92 12:15:52 From: David Steward To: All Subject: sci rs-485 interface Message class: Public Message base: 6805mail I am having trouble getting a RS-485 type communication protocol to work with the SCI function of the mc68hc705c8 microcontroller. If anyone has written assembly code for ann asyncronous communnication program I would much appreciate hearing from you. I can't get mine to work. The requirements are like those in the June/July 1991 Ciarcia's Circuit Cellar's article entitled "A Simple RS-485 Network." These are as follows: The protocol uses the nine data bit serial asynchronous communication mide and a "wake-up" mode. Address frames are distinguished from data frames by a 1 in the ninth data address bit. The target node will only wake up by an address frame. This means that the wake-up interrupt must be enabled. Once a node has received a valid address frame, the wake up mode would be dis-enabled so that additional data frames can be received. If anyone has set this protocol or even an interrupt driven rs-232 interface on the hc05 sci port, I would like to hear from you. Thanks, David Steward No. 90 06/01/92 16:01:09 From: Gary Box To: All Subject: '705K1 Three Pin Osc Message class: Public Message base: 6805mail Hi everyone. I'm having a problem getting the 3 pin configuration of the RC oscillator working on the 68HC705K1. The manual shows two resistors (R1 and R2), but gives an equation for only one. Which one is it and how do I determine the other. I took a shot at it and made them equal. 1500 ohms each and 300pf makes the device try to oscillate at 1.6mhz. I want to get 500khz. Thanks No. 91 06/02/92 09:10:29 From: Michael Overbeck To: John Dumas Subject: 68HC05P9 SIOP PORT Message class: Public Message base: 6805mail I AM HAVING A BIT OF TROUBLE GETTING THE SERIAL PORT ON THE P9 EVM TO OPERATE CORRECTLY. I PROGRAMMED THE CODE BELOW TO EXPERIMENT: LDA #00 STA 0004 (DDRA) LDA #0FF STA 0006 (DDRC) LDA #0B5 STA 0005 (DDRB) LDA #05 STA 000A SET SPE AND MASTER BITS IN SCR AT THIS POINT THE DDRB GOES TO 9F ? WHICH DISABLES SERIAL DATA OUTPUT BIT, WHY? LDA 0000 GET INPUT DATA STA 000C STORE IN SERIAL DATA REGISTER THE SERIAL DATA REGISTER DOES NOT ALWAYS ACCEPT THE DATA, BUT EVEN WHEN IT DOES NO OUTPUT HAPPENS AT THE SERIAL DATA OUTPUT PORT. WHAT AM I NOT DOING WRIGHT, THIS IS ONLY AN EXPERIMENT TO A MUCH BIGGER PROJECT. PLEASE ADVISE. I AM USING THE P9 EVM FOR ASSEMBLY No. 92 06/02/92 09:10:29 From: Michael Overbeck To: James Kuzdrall Subject: (R) P9 SPI as Slave Message class: Public Message base: 6805mail I HAVE EXPERIENCED SOME OF THE SAME PROBLEMS YOU HAVE ENCOUNTERED AND I AM REGRETTING DESIGNING WITH THIS PART, DO YOU, OR DOES ANYBODY HAVE SOME MORE HINTS ON SUCCESSFUL OPERATION OF THIS SIOP PORT? No. 93 06/25/92 08:17:39 From: Dick Carpenter To: John Dumas Subject: 68hc05 programmer bo Message class: Public Message base: 6805mail I am having no luck communicating with the programmer board and my PC. I followed the instructions in the users manual to the letter????? HELP!!!!!!! When I run prog7.com and I check the programmers board there is no communications between the two.... Dick Carpenter II No. 94 06/29/92 17:11:31 From: Rob Guth To: All Subject: 705K Contest Message class: Public Message base: 6805mail After reading the contest rules for the latest 705K series contest I realize I might just be in over my EE minor head when it comes to hardware! I can program anything but this stuff about ESD and part counts really blows my stack... Looking for a hardware engineer to collaborate on the latest contest. I have some great (I think!) product ideas (though that's not one of the requirements :*( ) but might need help on the hardware side. Along the same lines if your looking for a programmer contact me! If interested, contact me after 7/15 (vacation first ya know...) at 408-256-4870 from 8:30 to 5:45 and lets talk. Rob Guth IBM ADSTAR - San Jose No. 95 07/03/92 10:17:40 From: Walter Banks To: Mark Berget Subject: (R) M68HC705C8 SIMUL Message class: Public Message base: 6805mail Simulation is an interesting problem. We have had lots of experience with processor simulation used in compiler development. The problem in systems is the i/o devices.\ they are sustancially more difficult to simulate than the basic processor. We have been looking for reasonable ways to sell our simulators but this basic problem of I/O has kept us from doing so. walter.. No. 96 07/10/92 06:47:50 From: Chuck Olson To: Dick Carpenter Subject: (R) 68hc05 programme Message class: Public Message base: 6805mail Dick - I also had trouble with the Prog7.com program. My solution was to get rid of all TSR (Terminate and Stay Ready) programs that were executed in the boot up sequence of my computer. This makes a BIG difference. Chuck Olson No. 97 07/10/92 19:55:42 From: Ely Compean To: John Dumas Subject: 68HC05 K series prg Message class: Public Message base: 6805mail Hi John, I have purchased the Promo for the 68HC05 K series developement kit which includes the Assembler, Simulator & 05KICS ICE from P&E. The software diskette has a file named ISAM05K.EXE which is not reconized by our computers a EXEcutable. We need to get another copy if this file and its supporting ISAM05K.HLP file. We have tried calling Motorola and all we've managed to get is one hell of a good run around. If you could please upload these files and address 'em to me here on the BBS we would be very appreciative. If you can't or are not allowed to upload these file to the BBS we would appreciate a phone number of someone you know that would give a hoot when we call and get us what we need. If wish to give my name and phone # to someone in motorola who could provide use with another diskette of files that we need that too would be acceptable. ( Ely Compean 512/465-4692 ). Thank you, Ely Compean No. 98 07/11/92 05:13:24 From: John Dumas To: Ely Compean Subject: (R) 68HC05 K series Message class: Public Message base: 6805mail I'm not allowed to put it on the BBS. Please call a CSIC Application Engr (phone # on opening screen of CSIC BBS)..... johnD No. 99 07/13/92 00:22:06 From: Dan Novinger To: All Subject: problem using 68hc70 Message class: Public Message base: 6805mail problem using 68hc705kics on pc compatible with herc. disp. bd. I dont know how goofed up that line ended up being, (i'm a novice at using this bulletin board) Anyway, my display driver board (hercules) has a built in lpt1 port which is not bidirectional, and doesn't use all 25 lines. Unfortunately the 68hc705kics requires lpt1 to be bidirectional and use all 25 lines on the printer port. I do have an extra printer port board which I believe is bidirectional, but it is lpt2, but the 68hc705kics wants to use lpt1 printer port. Does a device driver exist which swaps the two printer ports? Or will I need to purchase a new display driver board which allows disabling the built in printer port? Does anybody have any suggestions or ideas? No. 100 07/10/92 19:55:42 From: Ely Compean To: John Dumas Subject: 68HC05 K series prg Message class: Public Message base: 6805mail Hi John, I have purchased the Promo for the 68HC05 K series developement kit which includes the Assembler, Simulator & 05KICS ICE from P&E. The software diskette has a file named ISAM05K.EXE which is not reconized by our computers a EXEcutable. We need to get another copy if this file and its supporting ISAM05K.HLP file. We have tried calling Motorola and all we've managed to get is one hell of a good run around. If you could please upload these files and address 'em to me here on the BBS we would be very appreciative. If you can't or are not allowed to upload these file to the BBS we would appreciate a phone number of someone you know that would give a hoot when we call and get us what we need. If wish to give my name and phone # to someone in motorola who could provide use with another diskette of files that we need that too would be acceptable. ( Ely Compean 512/465-4692 ). Thank you, Ely Compean No. 101 07/11/92 05:13:24 From: John Dumas To: Ely Compean Subject: (R) 68HC05 K series Message class: Public Message base: 6805mail I'm not allowed to put it on the BBS. Please call a CSIC Application Engr (phone # on opening screen of CSIC BBS)..... johnD No. 102 07/16/92 07:10:41 From: Roy Roesel To: All Subject: 68HC705 Message class: Public Message base: 6805mail WOULD APPRECIATE AN ALGORITHM FOR MULTIBYTE DIVISION FOR 6805 SERIES MICR0'S. THANKS ROY ROESEL No. 103 07/16/92 22:41:20 From: Leonard Jacobs To: John Dumas Subject: 705KICS Problems Message class: Private Message base: 6805mail I have found two problems with the M68HC705KICS board. 1. The silk-screen print under the programming sockets is backwards. One must be careful to insert their microcontroller with the same orientation as the other ICs. 2. I found a DC voltage of 1.6 to 1.8 volts on the 5 VDC line. By experimentation, I found the stray voltage coming from the printer cable. I am not sure if this voltage is due to my printer I/F board. I thought that you could pass this message onto the proper people within Motorola. Thank you. No. 104 07/20/92 13:12:57 From: Mario Schneider To: John Dumas Subject: 68HC05B16 MEM. MAP Message class: Public Message base: 6805mail John , I need the 68hc05b16 memory map.Can you help me ? Regards Mario Schneider No. 105 07/20/92 17:28:40 From: Rob Guth To: All Subject: 68H05K1 I/O Timing Message class: Public Message base: 6805mail Anyone know the rise and fall times of port A & B pins operating at 5v ? I couldn't find anything in the manuals and my scope is down for the count... Thanks! No. 106 08/01/92 06:49:26 From: Frank Lee To: All Subject: bootloader listings Message class: Public Message base: 6805mail Can anyone give me the bootloader listing for the MC68HC705C8S MCU? Also, I'd like to know how to select the bootstrap mode on startup. Thanks! No. 107 08/07/92 18:48:17 From: Rob Guth To: All Subject: Bike Comp. Schematic Message class: Public Message base: 6805mail Where can I find a parts list/schematic/layout for the bicycle computer MC6805G2 ? An app note perhaps? Thanks in advance... No. 108 08/08/92 13:59:13 From: Craig Jacobson To: All Subject: Fuzzy software Message class: Public Message base: 6805mail I down loaded the fuzzy programs, kbg.exe and egavga.bgi. Ran them on a 386 on DOS 5. Received a system stack overflow and the PC rebooted. Has anyone had success with these programs. Any idea what I'm doing wrong? Thanks. No. 109 08/01/92 06:49:26 From: Frank Lee To: All Subject: bootloader listings Message class: Public Message base: 6805mail Can anyone give me the bootloader listing for the MC68HC705C8S MCU? Also, I'd like to know how to select the bootstrap mode on startup. Thanks! No. 110 08/20/92 20:47:57 From: Rob Guth To: All Subject: K1 IRQ/PA0-3 Lines Message class: Public Message base: 6805mail I'd like to confirm that the operation of the subject lines that we are seeing is indeed the intended operation. We have external interrupts enabled and PA0-3 set for external interrupts. The LEVEL bit in the MOR register is set to 0 for edge triggered only. What we see is that when a signal on PA0-3 goes high, we get an external interrupt. At the end of the routine we clear the IRQF bit (by writing IRQR) and do a RTI. At this point, the original signal is still high. Now, no other low-high transition of the other port A pins will cause a interrupt! We have noted however, that a high-low transition on the IRQ pin will generate a interrupt. Looking at the diagram on page 4-3 of the users manual, it would seem that the IRQ transition should also not cause a interrupt. Is this proper operation? Obviously, we wanted to use PA0-3 as 4 separate interrupt signals (and poll port A to determine which went high). Thanks for any insight on this! - Rob - No. 111 08/31/92 14:10:40 From: Bruce Nielsen To: All Subject: hc705p9 Message class: Public Message base: 6805mail hello, we are using the xc68hc705p9 in a display and are going into production soon. My question is: What is the correct programming voltage for this part. I have been using 16.5 V and it works. I found this voltage in the documentation with the evaluation module. I can't find this pape this voltage by somebody who knew r anymore and I can't find a reference manual that tells me the programming voltage. They always say TBD (to be determined). The second question is what is the current mask set number? The parts we just received are 0D33N. The final question deals with programming memory location $4F. On mask set D54E this location would not program correctly. Has this been corrected and on what mask sets has this been corrected on? Any help on these questions would be greatly appreciated Bruce Nielsen Mitsubishi Caterpillar Forklift No. 112 09/07/92 18:41:17 From: Gary Olmstead To: Tim Pearson Subject: (R) PASM QUESTION Message class: Public Message base: 6805mail Hi Tim; Use PASM05 and try this: org $123 label: lda #label!>8 sta ram1 lda #(label)!.$ff sta ram2 I have to admit that the two special operators !> and !. are not covered in my PASM reference book. I found them in application note AN1055, M6805 16-Bit Support Macros. !> is a right shift, and !. is a logical AND. -Gary. No. 113 09/08/92 08:46:38 From: Ty Caswell To: John Dumas Subject: IASM05K PROGRAM Message class: Public Message base: 6805mail Whenever I start the IASM05K simulator after assembling my program I get the message RESET VECTOR NOT INITIALIZED in the code window and then it dissappears and I can use the simulator just fine. I followed the book on how to setup the RESET VECTOR with the FDB directive and I still get the message. The simulator always goes immediately to the start of my code after displaying the error message and also after doing a RESET command on the simulator so it must understand the FDB I gave it for the reset vector. Is this a known bug or did I do something wrong? I have vs. 3.02 of the IASM05K simulator program. I uploaded my program if someone could take a look at it and see what I doing wrong in my code. The name of the file is TYME!.ASM. Your response would be appreciated. Thankyou! No. 114 09/08/92 21:34:35 From: Richard Heath To: All Subject: 68hc705kics Porblems Message class: Public Message base: 6805mail I recently recieved a In circuit simulator from Motorola. The unit seems to perfom well in the simulator mode, however when I connect the pod I get incorrect input levels (logic one) on port b0. This occurs even when I short pin 3 to ground on the pod with a clip lead. The simulator reports random(?) ones on the "Chip Display" and these are being latched in the input. Am I confused as to the use of the input latch? Is my pod broken? Additionally I am having the same Reset Vector message as the gentleman in message 128. Nothing I do seems to make any difference. I will appreciate any thoughts on either of these problems. No. 115 09/13/92 14:18:03 From: Garry Dubose To: John Dumas Subject: 68hc705kics progammi Message class: Public Message base: 6805mail john, I've been trying to program hc705 parts for the design contest on the little KICS board. It keeps telling me that there are "496 locations not blank". I've uploaded the data in the part and its all FF. Also, when I program the part I get errors in the verify. What am I doing wrong? Help! PULEEZE? No. 116 09/13/92 16:18:44 From: James Beck To: Dan Novinger Subject: (R) problem using 68 Message class: Public Message base: 6805mail I haven't looked at the actual code of the program, but if it is "well behaved" it will look at the BIOS data area to get the base address of the printer port assigned to LPT1 (or PRN since they are aliased). I would hopee this is the case. To "swap" prinnter ports all you have to do is poke the right values intto the BIOS data area. The locations are: segment 0040 offset 0008. There is space for up to 4 printer adapter base addresses. LPT1 is the first address and so on. You can use debug to sledge hammer the right values in, or write a quick and dirty swap program. Jim No. 117 09/13/92 16:18:44 From: James Beck To: Ty Caswell Subject: (R) IASM05K PROGRAM Message class: Public Message base: 6805mail I think it's just a default message that appears while the system is initializing everything through the port. Jim No. 118 09/13/92 16:18:44 From: James Beck To: Garry Dubose Subject: (R) 68hc705kics prog Message class: Public Message base: 6805mail I'm not sure, but I think the proper value for a blank part is all 00H not FFH like in a "normal" PROM. Although I must admit I'm pulling this out of my memory on a dump I did of a blank part. As for the "RESET VECTOR NOT INITIALIZED" see my previous message. Jim No. 119 09/16/92 10:52:30 From: Ty Caswell To: James Beck Subject: HC05KICS SIMULATOR Message class: Public Message base: 6805mail I think you are right about the "RESET VECTOR NOT INIT." message appearing during initialization of the simulator and maybe there really is no error in the way I set up my code. When I ran the PODTEST.ASM file supplied by Motorola I got the same message during startup of the pod. Must be ok after all! Thank you for your response! Ty Caswell No. 120 09/16/92 10:52:30 From: Ty Caswell To: Garry Dubose Subject: HC05KICS Message class: Public Message base: 6805mail Read messages #116 & 134 Ty Caswell No. 121 09/17/92 13:26:59 From: Steve Rice To: John Dumas Subject: Programming 705c9 Message class: Public Message base: 6805mail I am trying to find out how to programm a 68hc705c9. I have a cds805 Jewel Box and an EVM board. The cds805 recognizes the c9 as a c4 and the evm documentation only lists c4 and c8 as programmable. I need help so that I can evaluate code - my vendor has just switched from a c8 to a c9. No. 122 09/24/92 05:57:00 From: Tim Croucher To: John Dumas Subject: HC05 EVM Message class: Public Message base: 6805mail I am using an M68HC05EVM to emulate an HC05P9 processor. The EVM has an HC05C9 processor on board. I have had no success in emulating the SIOP of the P9 with this EVM. I have conflicting documentation from Motorola as to the pinout of the HC05P7 (this is the closest thing to a P9 that my EVM manual references). One thing says port D doubles as the SIOP but another says that port B does. After much experimenting, I have had no luck trying to decipher it. If anyone has used an HC05EVM to emulate the HC05P9 or HC05P7 SIOP(serial I/O port) I would like to hear from you. Thanks alot. Tim Croucher No. 123 09/24/92 22:58:41 From: Richard Heath To: Ty Caswell Subject: (R) HC05KICS SIMULAT Message class: Public Message base: 6805mail Thanks for the reassurance. No. 124 11/01/92 19:51:27 From: Christian Kurz To: All Subject: HC705P9 low voltage Message class: Public Message base: 6805mail Hi, I have been using the HC705P9 for a device that so far runs off wall power. I would like to take advantage of CMOS and make it run off batteries. To do this, I need a low battery voltage indicator to tell the user that it's time to switch batteries. The built in A/D converter in the P9 seems ideal for that purpose. The only problem: how do I generate a reference voltage for the ADC that is independent of the supply voltage? Any ideas out there? One restriction, though: the reference can't drain much current itself. Thanx for any ideas, Chris. No. 125 11/04/92 17:22:22 From: Clint Oconnor To: John Dumas Subject: Old mail Message class: Public Message base: 6805mail It's been awhile since I last called in. I noticed in the bulletins or somewhere in the login process you've asked us to purge old mail. Is old mail really taking up so much space? In all the bulletin boards I use (not that many, maybe 5 on a regular basis, 15 or so in all), it is very, very helpful to peruse old messages to find if others had the same problems or circumstances and what they did to solve them. Junking old mail results in a loss of good information. I'm not talking about normal chitchatting here. One reason I haven't purged my old messages although you may have done some RUTHLESS sweeping for me! It looks as though I'm back to working on the 68HC05 although I may also be using the 11 now. No. 126 11/07/92 23:40:50 From: Murray Macdonald To: Donald Drumm Subject: (R) IBM keyboard Message class: Public Message base: 6805mail Donald I've developed a number of keyboard emulators (on a 68000 based system) to act as keyboards. These includeIBM PC, AT, PS2, MAC (Old & New) VT-100, Amiga, etc... I found all the information I required from the different vendors. The IBM doc was included in the IBM PC and AT Technical Reference Manuals. The PS2 keyboard is almost identical to the AT but there are major differences between the XT and AT. No. 127 11/07/92 23:40:50 From: Murray Macdonald To: Martin Fournier Subject: (R) (R) (R) info 687 Message class: Public Message base: 6805mail Hi, I'm a programmer who has implemented a number of speech synthesis systems. I've used a number of different systems and its quite a complex answer you're looking for. If you want to find out more phone (604) 681-0606 and ask for Murray. I'm in Vancouver, BC so assume the Pacific Time Zone (although you can catch me here late into the night) Bye. No. 128 11/16/92 06:36:01 From: John Dumas To: All Subject: ARC & ZIP formats Message class: Public Message base: 6805mail This is a call for information about the ARC & ZIP formats. I have acquired the source code for a ZIP & ARC viewer & am trying to port it to this UNIX box. The idea is to weld it into the BBSs so that a caller can peek into ARC or ZIP files before deciding to download. Unfortunately the code was written for IBM-PC & is rather device specific. The BBS is running on a M68030 Unix system...rather different! If I can get a copy of the ARC & ZIP formats, I believe that I can port the program successfully. I appreciate any help..... thanks, johnD No. 129 12/20/92 21:05:41 From: Rick Rollins To: All Subject: hc705pgmr board Message class: Public Message base: 6805mail I just got an hc705pgmr progrogramming board for the hc705c8 series. Because i'm new to this technology I have the following questions: 1) The board can with a chip. Is this a Blank chip that I can program, or is this chip dedicated to programming other chips? 2) The board requires certain voltages to operate. Most of these I have obtained from my computers power supply. The missing voltage is the Vpp (15.5V). I have bought a transformer, rectifier and adjustable voltage regulator from radio shack to get Vpp. I tied the grounds together from my computers and the Vpp supply and I can measure the proper voltages on the pgmr board. For some reason I blew the chip that came with the board. I only have 2 more blank chips left and I'm want to know what I did wrong. Any help would be appreciated.... No. 130 01/04/93 17:38:26 From: Rick Rollins To: John Dumas Subject: message 151 Message class: Public Message base: 6805mail John, I understand you have been ill and not able to get to all the messages (especially those not specifically labeled for you) but I have a project waiting in the wings for probably a very simple answer. If you could find some time to look at message # 151 I would appreciate it. Thanks, and hope you're feeling better..... No. 131 01/07/93 11:38:39 From: Michael Rojic To: All Subject: 68hc705k1s part avai Message class: Public Message base: 6805mail Can anyone shed any light on the availability of the 68hc705k1s chip? I bought the kics kit a couple weeks ago but now cannot find a distributor who has any chips in stock and most of them cannot tell me when they will have any. Anyone know anything? On another note I read, I too found the kics board did not work on all the par ports I tried it on. I have three clones and only 1 will run the pod, even though my printestill works OK on the others. No. 132 01/29/93 11:01:51 From: Mark Bouman To: James Beck Subject: MC68HC705K01 Message class: Public Message base: 6805mail JIM, I AM IN NEED OF UNDERSTANDING HOW TO STUFF THE MOR REGISTER WITH CLOCK ON AN EXTERNAL RC CIRCUIT. I would like to know if there is a the correct bits so that the MOR register tells the chip to expect a users group that I might be able to yak with for some tips on programming the K01 chips. I have been able to program the K01 EPROM but not been able to get the standalone chip to know that it should expect the external RC circuit No. 133 01/30/93 13:33:38 From: Gabriel Garcia To: All Subject: HC05 CROSS COMPILER Message class: Public Message base: 6805mail I need information about a low cost cross compiler for HC05 device, if you can help me please send me the name of distributors. I would really appreciate your help. No. 134 02/10/93 19:06:34 From: Glenn Nelson To: Steve Sagerian Subject: (R) freeware XASM680 Message class: Public Message base: 6805mail Hello Steve You have requested an alternative to the 6805 assembler XASM6805>MAC. I have not used that assembler, but I have used one from Micro Dialects, Inc. (513) 271-9100. This assembles works well on the MAC and is inexpensive <$150. The assembler has include, macro, assembler directives etc., and it is fast on a MacIIci. If you need and additional info, call (214)690-6000x2491 Glenn Nelson No. 135 02/19/93 23:10:32 From: Allen Penn To: John Dumas Subject: c compiler for 6805 Message class: Private Message base: 6805mail John, it has been years since we last talked. Good to hear you are still around......Messages 29 and 37 are very old. Is there any thing new concerning a c compiler for the 6805. Thanks for your help. No. 136 02/23/93 08:55:05 From: Mike Mullen To: Richard Heath Subject: (R) 68hc705kics Porb Message class: Public Message base: 6805mail I have had the same problem with port B toggling random data on the kics development board. The app engrs at motorola cant help, say they have never seen the problem, and suggest I buy a new kit. The problem only seems to occur when single stepping or tracine (STEPFOR), and not during normal emulation. I think it'sa problem wiht the J2 chip programming (which emulates the 05k) when it reads the ports. It works OK during full speed emulation, so I just grit my teeth and work around. Regards, Mike Mullen TMI, Ft wayne, IN (219)747-0586 No. 137 02/25/93 20:34:45 From: Steve Golson To: All Subject: 68HC05P1 self-test Message class: Public Message base: 6805mail Are the self-test routines in the 68HC05P1 user callable? What are the entry points? Is a listing of the self-test routines available? -seg No. 138 03/09/93 08:06:25 From: Walter Banks To: Gabriel Garcia Subject: (R) HC05 CROSS COMPI Message class: Public Message base: 6805mail Re: Low cost compilers for hc05. Byte Craft has C6805 compilers for all members of the HC05 family and it also has two low cost compilers (about $200) for the K1 and R3 HC05 parts. These compilers were designed to have minimum support primarily for education. The code generation is the same but almost all options are built in. The K1 compiler was designed to work with the promotion kit and can use the K1 promotion kit P&E debugger for symbolic debugging. (519) 888-6911 FAX (519) 746-6751 No. 139 03/09/93 08:47:39 From: Sam Richardson To: All Subject: I-C availability Message class: Public Message base: 6805mail I have had problems obtaining M68HC705C8S chips - thgey are allocated by Motorola and have long lead times. Is it because they are 1) very popular or 2) not popular ? i would like to know of the chip(s) with similarar capbilities with better availability. also i would like some kind of idea as to the relative ranking of chips in this family with respect to units actually used in end equipment. Thanks..Sam Richardson No. 140 03/14/93 19:48:11 From: Gary Hoffmann To: Chris Turman Subject: 68hc05 Message class: Private Message base: 6805mail Hello Chris, Well I figured that it is about time to respond to your message to me from 01/17/1993, regarding the 68hc help. Well I have been rather busy in the last few month and was not able to devote a lot of time to radio/computerand such. However, I did want to thank you for your kind reply andI certainly appreciate it. I am now trying to get back into the 68hc705 programming world, but as before, it is rather abstract and "confusing" at times. In any event, I have made this commitment to myself that I will learn this processor and I will, if it is the last thing I am going to do :=> :=>. Well having said all that, may I ask you what you have been programming and what are you working on ? Also, let me ask you, are you by chance a Ham radio operator ? If so, we could exchange info via Packet radio for "free". Just wondererd. Next, have you ever heared of this company "TEC", The Engineers Collaborative, Inc. They always advertise in various electronic magazines like Electronoics Now. They advertise a whole arrangement of info for the 68 series. They have a 6805 primer for "beginners", however they want $195.00 for it. It is not that I am cheap, but I don't want to spend $195.00 for soemthing that I am not happy with after it arrives. Do you have any knowledge of their products ?? So Chris, this is about it for right now. Drop me a note soem time and let me know what you are "writing". By the way, my tel Nr. is 717-469-1616. I don't expect you to call me, however if you ever should have to get a hold of me...... All the best Chris and thanks again for your note de Gary Hoffmann Palmyra PA No. 141 03/14/93 20:24:56 From: Karl Lumpkins To: John Dumas Subject: mc68hc705kics Message class: Public Message base: 6805mail I have purchased a M68HC705kics in-circuit simulator kit and believe that there may exist an incompatability between the ICS05K.EXE file and the IASM05K.EXE files supplied with this kit or that one of the files is bad. Are these available for download on this bbs? Also, i am just learning about this type of hardware and wonder if there are any files on here for novices? Thank You 3-14-93 9pm cst. No. 142 03/20/93 16:56:02 From: Geoffrey Werbin To: All Subject: '705k1 security Message class: Public Message base: 6805mail I am wondering if there is a version of the MC68HC705K1 that can be made secure from EPROM access. Perhaps the OTPROM version is secure? If anyone can help, please respond. Thanks. No. 143 03/20/93 20:52:52 From: Sylvain Bissonnette To: All Subject: INFO Message class: Public Message base: 6805mail To: All Excuse me, my english is not very well but i want to now if this BBS is on Eathernet an if yes wath is is Adress? Sylvain Bissonnette From : Quebec No. 144 03/24/93 12:20:20 From: Bill Haynes To: Dan Willey Subject: XASM6805 Message class: Public Message base: 6805mail DAN, I AM HAVING PROBLEMS WITH THE XASM6805 ASSEMBLER. SINCE I GOT MY QUADRA 700 THE PROGRAM HAS BEEN CRASHING. IS THERE AN UPDATE, OR DO I NEED TO CHANGE SOMETHING? /BILL HAYNES No. 145 03/26/93 09:46:48 From: Rod Scott To: All Subject: XC68HC805C4 - EEPROM Message class: Public Message base: 6805mail I am having difficulty programming the EEPROM on my XC68HC805C4. Once I found out that the internal charge pump feature was never implemented, I applied an external Vpp and was able to program a location in EEPROM. Once I had successfully programmed one location I moved on to do other work, including writing code to program a block of EEPROM. However, since that initial success, I have been unable to program the EEPROM any further. I have called Motorola's apps hotline and they haven't been able to help. Has anyone experienced the same problem ? Has anyone got any experience with the 805 ? Thanks in advance for any suggestions or help. - Rod Scott (I should have bought a 705C8 instead !!) No. 146 03/26/93 14:05:40 From: Norm Novotney To: George Dinwiddie Subject: (R) 68HC05L7/L9 Message class: Public Message base: 6805mail I would like this same information, have you found any such data book? Also, what other lcd parts are available? No. 147 03/27/93 11:30:49 From: Gary Olmstead To: Geoffrey Werbin Subject: (R) '705k1 security Message class: Public Message base: 6805mail Hi Geoffrey; The only HC05s that explicitly mention security are the SC variants. However, these are available in die form only (at least according to my info). OTPROMs are the exact same die as the erasable version, it's just stuffed into a windowless package. Therefor, it won't have any features that the windowed version doesn't have. You MAY be able to get security on a mask ROM version, MC68HC05K1xx, if it's available at all. However, the little bit of info I have about this guy doesn't mention security. -Gary. No. 148 03/27/93 11:30:49 From: Gary Olmstead To: Rod Scott Subject: (R) XC68HC805C4 - EE Message class: Public Message base: 6805mail Hi Rod; Two suggestions: 1. Repeat what you did before when you programmed the one location. I mean, reprogram that same location again. Then move to the adjacent location, and repeat. When you get that right, the rest is easy (it says here). 2. I have a feeling that this chip is your entire investment in development hardware. If not, ignore the rest of this. If yes, break down and spend $500 on the EVM/EVS for your chip. The savings in time will pay you back each and every week you work on this project. Keep us posted, and good luck. -Gary. No. 149 03/27/93 15:48:32 From: Ken Burch To: Norm Novotney Subject: (R) (R) 68HC05L7/L9 Message class: Public Message base: 6805mail The March 18, 1993 issue of EDN has an article on Motorola's 68HC05s with LCD drivers. ("Motorola 68HC05L Family Has Nine LCD/8-bit uC Combinations", pp140,142.) No. 150 04/02/93 11:47:18 From: Tim Pearson To: All Subject: 705C8PGMR fallout Message class: Public Message base: 6805mail I am experiencing an extremely high fallout when programming MC68HC705C8 parts on the PGMR board. I haved checked the programming voltage at the terminal strip and the socket and they are well within the spec. I am experiencing about a 20% failure rate on these parts which is VERY high. I can NOT afford this failure rate at $10.00 - $14.00 per part! We use a fancy ($$) DATA I/O for programming production parts and have almost 0% failure rate, but I don't have easy access to this machine. Any one else experiencing problems with high failure rate using HC05PGMR board?? Would appreciate some help! Thanks! Tim Pearson, UDS/Motorola (205)-430-8820 or via this bbs No. 151 03/27/93 11:30:49 From: Gary Olmstead To: Rod Scott Subject: (R) XC68HC805C4 - EE Message class: Public Message base: 6805mail Hi Rod; Two suggestions: 1. Repeat what you did before when you programmed the one location. I mean, reprogram that same location again. Then move to the adjacent location, and repeat. When you get that right, the rest is easy (it says here). 2. I have a feeling that this chip is your entire investment in development hardware. If not, ignore the rest of this. If yes, break down and spend $500 on the EVM/EVS for your chip. The savings in time will pay you back each and every week you work on this project. Keep us posted, and good luck. -Gary. No. 152 04/05/93 18:47:58 From: Chris Turman To: Gary Hoffmann Subject: (R) 68hc05 Message class: Private Message base: 6805mail It has been a while since I've read my mail so I appologize. It's funny you should ask about TECI because that is who I bought my first programmer from. I works fine but trust me if you don't know what you r doing and don't have any one around to ask it is not the best solution. The problem is that you have to burn a chip then put it in a curcuit and test it. If you build your own curcuits like I did you have no idea if the problem is with your circuit or program. The package does inclucde a simulator so you can "test" your program before running but if you program gets very long you will become lost before you get to the section your working on. You may not realize that this is a problem but trying to figure out what your program is doning at 4Mhz is near impossible. But in their defense the system works and has everything you need. I spent my first 3 months working on this project thinking "There must be a better way" I was not able to find out what that wauntil I saw and EVM listed in a Motorola parts guide. I looked around for what this thing was and found out that it is a piece of hardware that works like a simulator but in real time. You can set break points in your program and actually see what the thing is donig. It is great. It is more expensive about $400 but it is worth it. It is not the easiest thing to use. It constantly locks up my coumputer but I've learned to live with it. When I was using the EProm version of the 705 I would recycle my chips continously. Now I can see if my program will really run. The only problem is that the EVM I have is for the HC05 family which have all kinds of different chips in it. But I needed an A/D converter and Serial Communications on one chip. The only choice I had was the B6 which only comes in a flat pack package. This chip can't be used in a breadboard and I had to make my own wire wrap sockets out of DIPs cut into pieces. Eneough of that. My proect is to control the endpoint of a pma etcher by looking at the signal from a photodector. At the same time I want to record all this information onto a couputer system. I've almost got all the bugs worked out of the first rev. Any questions call me I work for Motorola but not in the applications area. 512-928-6424 No. 153 04/06/93 19:33:39 From: Chris Turman To: All Subject: HC05B6 SCI Message class: Public Message base: 6805mail I'm having some trouble using the serial communications built into the B6. I started out by using something like the following. LOOP BRSET BIT,BYTE,LOOP I put a byte in the sci register then run the above. Where BIT is the flag to tell when the register l. It may be BRCLR I can't remember but that part works. It sends data out fine when I look at it in MAC241 on a MAC. The problem is that I have written a program for the MAC to take the data and put it into files. I tested the program with a dummy file from a PC which is exactly like the one I generate from the B6. The problem is that the data comming out of the B6 is not like the PC. I get all kinds of 00s with my data every now and then. I'm using a MAX 232 5V driver. I don't understand why my data looks fine on terminal progam but not on a progam written for data from a PC. Any suggestions would be appriciated. Chris Turman 512-928-6424 No. 154 04/09/93 23:01:35 From: Greg Thoman To: Tim Pearson Subject: (R) 705C8PGMR fallou Message class: Public Message base: 6805mail I am not familiar with the PGMR board, but assume it is an incarnation of the programming circuit in the back of the HCx05 data book. If so, you may have an inappropriate programming supply (notice I didn't say voltage). While working for my former employer, I adapted the data book programming circuit for our use. On checking with an apps engineer in Austin, I found that certain HCx05 parts actually program from a voltage and others program from (approximately) a current (programming voltage supplied through a resistor). We had some of each flavor in use, so we used a three-point switching scheme to make available 5 V (or was it ground?) for normal operation, the current programming source, or the voltage programming source. If I recall correctly, the programming supply circuitry in the data book wasn't quite the thing for either programming supply. If you run the above story by an appropriate apps engineer you may find that there's a circuit change for your board that will provide your chips with a more palatable programming source. Good Luck! No. 155 04/10/93 01:09:09 From: Gary Olmstead To: Chris Turman Subject: (R) HC05B6 SCI Message class: Public Message base: 6805mail Hi Chris; Well, first, the fact that a PC can talk to a Mac proves zip. Take your '05, and connect it to either machine, but run a standard comm program, PROCOMM, CROSSTALK, RED RYDER, whatever. Monitor the data lines with a scope. Can you get anything at all? Even garbage is a place to start. If you get garbage, the problem is probably baud rate, number of bits, parity, etc. Be sure you have taken care of RTS, CTS, DCD, DTR, etc. Some UARTs will just plain stop if these aren't OK. If you get no activity at all, you haven't set up the SCI port properly. What values are you storing into BAUD, SCCR1, and SCCR2? If none of the above fixes the problem, post the smallest code fragment that shows the entire SCI operation. DON'T do it from memory; look it up, or cut and paste. -Gary. No. 156 04/21/93 14:22:46 From: Jihpeng Yeh To: All Subject: M68HC05PGMR Message class: Public Message base: 6805mail Does anyone know how to program 68705R3 using M68HC05PGMR? Please email me. Thank you !! Jihpeng Yeh Apr. 21, '93 3:33 ET No. 157 04/23/93 09:02:52 From: Gary Olmstead To: Jihpeng Yeh Subject: (R) M68HC05PGMR Message class: Public Message base: 6805mail The 68705 and the 68HC705 are completely different families. The pinouts are different, amoung other things, so you can't swap the devices like that. The 68705R3 is about 10 or 12 years old; their are probably HC705s that do the same things, only cheaper. Any particular reason for staying with the old part? -Gary. No. 158 04/29/93 07:38:46 From: Joe Jarrett To: Gary Olmstead Subject: 'K1 interrupts Message class: Public Message base: 6805mail Hi, Gary. Just a short question that you can perhaps verify. I have just completed a design for a 'K1 using the KICS simulator. As luck would have it, I spent most of my time trying to stuff the required code into insufficient space (programmers complaint #1! . . . so what else is new). Timer interrupt was not used but 3 of the 4 porta interruptable pins were used as interrupts as well as the IRQ\ input. I managed to get it all working successfully but the interrupt structure gave me fits! Here's why: First, the KICS simulator didn't emulate the porta interrupts correctly at all. The 'K1 "green book" shows the 4 porta interrupts combined with an OR gate and that's apparently exactly how the hardware works. The KICS simulator will let you tie one input high and still get interrupts from the other three . . . (braaaaaak . . . wrong answer, thank you for playing). Secondly, if the IRQ\ input is held low, the device cannot be interrupted from porta at all, even with "edge triggered only" interrupt set up. I believe the KICS doesn't emulate this correctly either, but I'm less sure. I realize that when in doubt, RTFM (Read the Flipping Manual), and that the "green book" does show it correctly, but the simulator led me down the path a bit. Perhaps a more exacting explanation of the interrupt structure of the device is in order in the Green book (for those of us who when we paint ourselves into a corner, we do actually go read the book), or a warning in the KICS manual in very large type for the engineering impared. Thanks for the forum, Joe Jarrett No. 159 05/04/93 09:03:36 From: Gary Olmstead To: Joe Jarrett Subject: (R) 'K1 interrupts Message class: Public Message base: 6805mail Hi Joe; Well, hindsight is 20-20. Figure 4.1 does show exactly what you spent hours (days?) finding out. The real problem with Fig 4.1 is that the reader has to remember Introduction to Digital Circuits 101. :-). As for me doing something about it, well, I actually don't work for Motorola. I'm just another user like you. I have left a message to John to have one of the 05 apps people look at your message, and see if there is a problem with the KICS simulator. (The simulator is one of the few pieces of HC05 stuff that I don't own, and have never used.) Happy programmin', and good luck with your product. I hope you sell a zillion or two. -Gary. No. 160 05/05/93 11:50:09 From: Joe Jarrett To: Gary Olmstead Subject: (R) (R) 'K1 interrup Message class: Public Message base: 6805mail Thanks, Gary. My mistake . . . you sounded like you knew what you were talking about so I naturally jumped to the conclusion you worked for the big "M". Thanks for forwarding my question. Joe No. 161 05/18/93 10:13:54 From: David Glick To: John Dumas Subject: A File Message class: Public Message base: 6805mail Sir: I read in the literature that came with my ICE, that there are files that would be useful to me in this BBS. Since it would be expensive for me to browse through the files, could you possibly leave me a message listing those files that would be of interest to me. I am interested in files concerning programming the M68HC05K series. The programming program and the personality programming program. Also, is there any program, that is public domain for receiving ASCII (serially) in the M68HC05K? Thank you. Sincerely, David Glick No. 162 05/21/93 23:53:56 From: Gary Olmstead To: David Glick Subject: (R) A File Message class: Public Message base: 6805mail Jeez, Dave, why don't you ask him to design a front panel and power supply for you while he's at it? No. 163 06/09/93 13:18:50 From: Ricardo Moro To: All Subject: Burning HC705C Message class: Public Message base: 6805mail HELP! I need to program 300 HC705C8's with a M68HC05PGMR board. PROG705EXE is excruciatingly slow and BURN05.EXE won't go over 4 Kbytes (I have almost 8 K of code). Does someone know how to extend the BURN05.EXE memory limit or where I can find the source code or suggest another burning program ?. I'll sure appreciate any help. Thank you, Ricardo. No. 164 06/09/93 15:54:46 From: Bruce Casner To: All Subject: MC68HC705B5B Message class: Public Message base: 6805mail I am confused. I don't understand the purpose of creating the MC68HC705B5B, if it is not possible to program the part, except by building my own programmer. The 'B' package is a 56 pin shrink DIP package with 70 mil centers for the pins. After consulting all the EPROM MCU programmer manufacturers I can find, nobody supports this package. Only the PLCC package is supported. I can't use the PLCC because that requires either surface mount or a socket. Both are non-options. Why is this part in the catalog? Thanks for any insights. No. 165 06/12/93 16:02:49 From: Greg Thoman To: Bruce Casner Subject: (R) MC68HC705B5B Message class: Public Message base: 6805mail Hi! I'm another user and at my last job we built our own programmer for a couple series of 68HCx05 parts because our needs didn't justify the cost of a commercial programmer and because the basic circuit was conveniently provided in Motorola's data sheets. We checked with an app's engineer in Austin who gave us a couple minor circuit mod's to make the programmer provide a programming supply better suited to the chips than the one in the original schematics, and made a few mod's of our own to better suit the programmer to our intended use. This leaves me unable to understand your inquiry about the 705B5B (with which I am unfamiliar). Is there a programmer circuit in the data sheets? Will Motorola sell you a small programmer or an etched circuit board for building one? Is building your own programmer not an option for some reason? Many distributors provide programming for the chips they handle; does this not apply in your case? Later! No. 166 06/18/93 10:51:00 From: John Fricker To: All Subject: PC Based 'C' Tools Message class: Public Message base: 6805mail I am seeking 'C' language cross compilers (PC based) for the 68HC05 family. What's available? What's good? Is there a manufacturer list on this bbs somewhere? Thanks, john:{)# No. 167 06/19/93 07:04:03 From: Ken Burch To: John Fricker Subject: (R) PC Based 'C' Too Message class: Public Message base: 6805mail There is a 'C' compiler available from a company called ByteCraft (Ontario Canada). No. 168 06/22/93 10:44:23 From: Michael Flaga To: Keith Amdahl Subject: (R) 68hc705c8 Message class: Public Message base: 6805mail The problem your experiencing is probably that the option register has the IRQ interupt defined as an edged trigger. If this is so and that the pin is left floating it will probably bounce enough to always return to the IRQ Service routine. This can occur in a similar way in the other mode. Best to be confident in the Interupt source and what the '05 is expecting. No. 169 08/10/93 21:35:23 From: Clint Oconnor To: All Subject: M68HC705K1 KICS Kit Message class: Public Message base: 6805mail Gahhh! Read message 159 and RATFMAOH (read all the flipping manuals and on-line help). I wrote a program mashing the PWM program with a program to implement the National MicroWire interface to an ADC0832 serial A/D using PA0(clock), PA1(chip select), and PA2 (bidirectional I/O). Every time I turned on PA1 I would get an IRQ (trapped to an infinity branch). I figured this was a bug of some sort and called in to see what was going on. Messages 158 and 159 prompted me to recall that the K1 has the ability to turn on PA0-PA3 as interrupts (reference green book 4.2, 7.2.4, and 9.4. Ok, I added instructions to turn off the PA interrupt enable in the MOR register. Simulator says no way, Jose (only in Expanded Test mode, whatever that is). The on-line help for MOR REGISTER and PERSONALITY EPROM gives a hint. If the file EPROM.PER does not exist, the simulator clears the MOR register and the personality EPROM! I checked the simulator afterwards and sure 'nuff the MOR got set to 07. Deleted the EPROM.PER file and the fool problem with unexpected IRQ's went away! Just put this up for poor fools like me who don't always read all the fine print. Maybe this will help someone. Clint. No. 170 08/11/93 21:37:57 From: Clint Oconnor To: All Subject: M68HC705KICS and A/D Message class: Public Message base: 6805mail Foot in mouth disease caught here. Simplification of previous message - change MOR register with MEM 17 xx command where xx is byte desired. I am uploading ADC083X.ASM for anyone who needs A/D for a non-SPI equipped 68HC05 model. This program talks to National ADC0831, 832, 834, and 838 serial A/D converters with 1-8 channels through three port pins. I've tested it with the ADC0832, but it should work for all the others. John Dumas will undoubtedly relocate it somewhere, perhaps he will leave a message as to where to find it. The program was developed and tested on the M68HC705KICS kit (K1 CPU). Clint No. 171 08/16/93 23:01:42 From: Kee Nethery To: All Subject: PGMR step by step ? Message class: Public Message base: 6805mail I am using the MC68HC05PGMR board and a while back I had the manual that came with it that told how to manipulate the DIP switches, the Reset/Out switch, power, Vpp, and the software that downloads code into RAM and/or PROM and then how to run from RAM or PROM. Needless to say, I cannot find that manual and it's step by step instructions are exactly what I need. I obtained the green HC05 application guide and it has quite a bit of the info that was in the $98 PGMR board package. I obtained the manual entitled VC68HC05A6P1 Evaluation and MC68HC705C8/MC68HC805C4 Programming, and it too has lots of the info that was in the manual that I originally got. But, neither tells the step by step instructions for using the PGMR board when your computer is directly attached to the serial connection. Can someone maybe mail me their copy of the manual so I can photocopy it and mail it back? Or better yet, anyone with an office photocopier who can duplicate the booklet for me if you don't want to send it to a stranger who admits losing his own copy? As I recall it was Brown and it started with all the stuff in the green HC05 applications guide and had a separate manual with code instructions. In the back of the brown book were the step by steps. If you can help me obtain a copy of this manual that no one at Motorola remembers, I am: Kee Nethery Kagi Engineering 1442-A Walnut Street #362 Berkeley, CA 94709-1405 voice 510-843-6140 fax 510-649-8457 (when my computer is on) internet kee@aol.com Thanks, Kee No. 172 08/18/93 08:11:26 From: Stephen Parsons To: All Subject: 68HC05 Interfacing Message class: Public Message base: 6805mail We have several successful designs using the 68705P3 and 146805E2 devices, but have run across a problem trying to build the 68HC05E0 into our latest range of equipment. We are using external RAM and EPROM, and are trying to use some UARTs, type SCC2691 and SCC2692. The problem is that the '05E0 gates the chip select outputs (PD2, PD3) with P02. This causes a problem with the UARTs, because they auto-increment an internal-register-pointer on successive READs and/or WRITEs to a given location. The difficulty is, that because of this "P02 gating" within the '05E0 chip, the UART "sees" a READ before every WRITE. The UART's internal pointer auto-increments after the READ, so the WRITE is therefore applied to the wrong internal UART register. We tried using an external adress decoder (yup, the good 'ol '138) and this appeared (on the 'scope!) to improve things - ** BUT ** we forgot that the '05E0 also internally gates the R/NW line with P02, thus the problem remains. Does anyone have any solutions to this spurious "read-before-write" problem. (It's even worse if indexed addressing is used: you get TWO reads before every write!). I ran some experimental code in some old hardware using the 146805E2 device, and this does NOT suffer from the same problem. HELP! Please? regards, Steve Parsons No. 173 08/21/93 11:33:54 From: Gary Olmstead To: Stephen Parsons Subject: (R) 68HC05 Interfaci Message class: Public Message base: 6805mail Hi Steve; Well, yes, there are versions of the HC11 with external program memory, external bus, and an SPI interface that can be rigged to look like an IIC interface (try E0, F1, K0, KA0, L0); but... That isn't all that there is to consider. Number one, the arrangement of port pins may not suit your purposes; and more importantly, the instruction sets are only vaguely similar. I am not familiar with the SCC2691 UART; what does it offer that leads you to redesign your entire system around it? Whatever it is, it sounds easier to jettison one peripherial than the CPU and all existing software. Assuming that your heart (or your boss' brain; whichever is smaller :-) ) is set on this course, have you considered a jellybean logic circuit that would detect the first address to the UART, and then swallow the next P02 pulse? (Not a divide by 2; a missing pulse generator.) Think about it. -Gary. No. 174 08/24/93 03:52:57 From: Stephen Parsons To: Gary Olmstead Subject: 68HC05 Interfacing Message class: Public Message base: 6805mail Hello Gary, Thanks for the reply. The 'HC11 is attractive from a software point of view, because it has TWO accumulators, TWO 16-bit index registers, and PUSH and PULL instructions that the 'HC05 lacks. Indeed, if it were't for the igher cost of the 'HC11, we would have used it in the first place. The instruction set is really only a superset of the 'HC05. A few minutes of search & replace with a text editor would sort out our existing source-code. We now have a solution, using an I/O line to gate-out unrequired reads. This makes the software a tad messy, but c'est la vie! We considered a pulse-swallower, but this would prevent the use of indexed addressing (not a problem really, but not good practice from a software maintenance viewpoint). I've looked at several UARTs, but they all seem to have this auto-increment "feature". Anyway, as I said, we seem to have a useable, though inelegant, solution for the products currently under development. For the *next* range of equipment I've learnt my lesson and will choose the 'HC11, and b****r the cost! I'd be interested in how the SPI can be rigged to look like an IIC interface. I wonder if there is a application note or something describing this? -- regards, -Steve- No. 175 08/24/93 13:31:24 From: Kevin Hobbs To: John Dumas Subject: 68HC705L5EVS C debug Message class: Public Message base: 6805mail Hello, I'm not sure if my previous messages have gotten through. I am starting a project that uses a 68HC705L5 and have bought the Avocet C compiler. I am lloking for info on the 68HC705L5EVS, specifically, whether I can C source debug. I haven't had any luck trying to get through to the 800-521-6274 (usually busy, or the person who is familiar with the 6805 is not available. If you have any lit on the EVS that would help. Thanks, KH No. 176 08/25/93 21:00:28 From: Arthur Zachai To: All Subject: kics05 pgrming Message class: Public Message base: 6805mail I've read several messages about the KICS problems. I've fixed the random PB1, called several moto phone #'s and still can't program a part! I know where my printer ports are, and they are talking to the chip on the kit. I get "14 locations not blank". Verify screams by on the screen, but it looks like all locations stay at ZERO. Has this problem been resolved? How do I get an answer to this question-- I mean on this bbs? Log on tomorrow and check? Wanna fax me or... Thank you, anyone and all. A. Zachai FAX 617-593-5461 TEL 617-593-9894 azachai@world.std.com No. 177 08/31/93 14:46:04 From: Alex Tran To: John Dumas Subject: 68705P5 Message class: Public Message base: 6805mail I NEED HELP ON THIS SUBJECT. IDON'T KNOW WHERE TO START, I GET A PROJECT THAT BELONGED TO SOMEBODY ELSE. IT HAS 68705P5S IN THERE AND I WOULD LIKE TO OBTAIN SOME INFO. ABOUT THIS IC. IWANT TO KNOW WHAT KIND EQUIPMENT DO I NEED TO CONTINUE TO WORK ON THIS PROJECT. IF ANYBODY CAN HELP ON THIS, PLEASE LET ME KNOW. THANK YOU ALEX TRAN