M68HC05K1 programming technics

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

M68HC05K1 programming technics

3,378 Views
Argento
Contributor I

Hi! everybody

I'm from Buenos Aires, Argentina, and want some help about protocol, technics, timming and all kind of information on K1 (an obsolete 20 dil part of the HC05 family) to build my own programmer, perhaps due VB6 and USB or RS232 connection to an intelligent board or something like that. The P&E programmer is no longer usefull with the actual PC technologies and I have a lot of OTP units yet.

 

Any kind of answer will be helpfull. Sorry for mi hard school english.

Hugo

Labels (1)
7 Replies

2,495 Views
kosma_moczek
Contributor II

I know it's a long shot, but does anyone in this topic still have a copy of this software and is willing to share it? This is for restoration of an ancient train schedule display.

1,772 Views
kosma_moczek
Contributor II

For anyone looking, I found the original programming software called PROG05K.EXE. I've attached it - after unpacking, change the extension to EXE. Requires an ancient PC to run - DOS and LPT port.

3,155 Views
celsoken
Contributor V

Hola Hugo,

 

You will find instructions on build your parallel port programmer on:

 

http://www.freescale.com/files/microcontrollers/doc/data_sheet/MC68HC705K1.pdf

 

I think the software to use it is the one attached to this message.

I've got it from one of my old work directories.

USE AT YOUR OWN RISK:  It can be damaged or containg viruses.

It'll run under DOS. Possibly still works on WIN 95.

 

If you don't have the legacy asm tools, you can get on the web.

 

I still keep one parallel port K1 KICS but it's not for sale. Sometimes I use it to upgrade old products.

 

Saludos,

 

Celso

3,155 Views
Leojunin
Contributor IV

Hola!!! sos Pepe Argento? jaja. Lindo encontrase por aca. Te cuento, conozco una persona que hacia hablar los HC705 aca en argentina, era un dueño del viejo CYPE, empresa obsoleta tb, No recuerdo el nombre, pero si te interesa, ponete en contacto conmigo y te paso el mail de alguien que si esta en contacto con esa persona. No doy datos por aca para no desparramar info.

 

Salu2

3,155 Views
bigmac
Specialist III

Hello Hugo,

 

The PROM part was actually MC68HC705K1; the HC05 part had factory masked ROM for the user program.  The technical data book MC68HC705K1/D publication is dated 1993.  The device had 496 bytes of user PROM, 32 bytes of RAM, a "multifunction" timer, and little else.  This device used a 16 pin package (not 20 pins).

 

The data book provides a programming circuit that make use of a parallel printer port, but this required special programming software, that will be long extinct.  I do not have a copy of the software, as I never actually used this device (it had insufficient capability for my needs at the time).

 

Regards,

Mac

 

3,155 Views
MidonDesign
Contributor II

The OP is looking for the protocol used by the software to program the part since parallel ports are no longer available on most modern PC's and not easily available to current operating systems.  I do have the programming software but it requires, 1. DOS level port access and 2. a physical parallel printer port on the PC.

 

Does anyone at Freescale have access to the original algortihms?

 

Thanks,

 

Mitch

3,155 Views
bigmac
Specialist III

Hello,

 

The programming algorithm is vaguely listed in the data book, but the precise meaning of some of the steps is unclear.

 

  1. Switch S1 powers up the device.
  2. Software synchronizes the external oscillator to the internal clock.
  3. Switch S2 applies Vpp to the IRQ/Vpp pin.
  4. Software sets the ELAT bit (EPROG register).
  5. Software writes to an EPROM/OTPROM address.
  6. Software sets the EPGM bit for a time tEPGM, to apply the programming voltage.
  7. Software clears the ELAT bit.

D0 to D7 of the parallel port are connected to PA0 to PA7 of the device.

/Strobe -> /RESET

Ack -> PB0, with 2k2 pullup

PE -> PB1, with 2k2 pullup

Init -> OSC1, with 220R pullup

IRQ/Vpp switched to 0 volt, or Vpp

Vcc switched to 0 volt, or +5 volt

 

The relationship between the various operations, and the manipulation of the pins, is not detailed.  My guess is that this device predates any Freescale involvement.

 

Regards,

Mac