MLDL Design Ideas, Part I: using a PIC - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: MLDL Design Ideas, Part I: using a PIC (/thread-9845.html) |
MLDL Design Ideas, Part I: using a PIC - John Ioannidis - 06-23-2001 It looks like a PIC 18C252 running at 40MHz (100ns instruction cycle) should do the trick. It's available in a 28-pin SOIC package, which fits comfortably inside a single memory module. However, it needs an external clock to run at 40MHz, so an additional chip will be needed. Any suggestions?
The 18C252 has 32K of prom (OTP in the SOIC package), and it can do table reads from it. The idea is to bit-bang everything. Here is a rough outline of the code:
Power-up:
(we are at Phi2 clock pulse 16) I'm away at a conference all of next week; I hope to work on this during July. Any suggestions are, of course, welcome.
I'll start by using the EPROM version of the 18C252.
Re: MLDL Design Ideas, Part I: using a PIC - Steve (Australia) - 06-23-2001 What you're describing (with PROM) is really only a replacement for a module or modules. An MLDL is really defined (I guess) by the ability to both read from and write into the HP41 ROM space. This si one reason for an earlier question about the number of write cycles the devices are rated for. I would imagine that almost every user wil have requirements for a diferent set of modules, so unless the PROM version of the 18C252 is field programmable, and each user can program their own, I think that option may fall flat. Then there't the problem that the end user gets one chance...
Re: MLDL Design Ideas, Part I: using a PIC - Mark Sims - 06-24-2001 That sort of brings us back to the Scenix chips, they are reprogrammable and can easily be reprogrammed from a PC. Only problem is their memory capacity is not very high (4-8Kb). Another option is to use an external RAM chip (for faster access) that is loaded from a bit serial EEPROM chip. This does increase the chip count to 3 chips, but they would probably still fit in a standard module.
Re: MLDL Design Ideas, Part I: using a PIC - John Ioannidis - 06-24-2001 You're right, I was describing a ROM module replacement. There is no real point in a true MLDL when we have tools such as V41 (the PC-based emulator) . All the debugging can be done on a PC, and then the final image can be transferred to the module (massaged into a set of constant definitions by a perl script or something).
For a real MLDL, we can add a couple of serial EEPROMs OK, it's 5am in NYC, and I'd better get some sleep!
Re: MLDL Design Ideas, Part I: using a PIC - Mark Sims - 06-24-2001 There is probably enough time between when the HP41 sends the address word until it needs the data word to use the serial EEPROM without an off chip RAM buffer. Although there are fast (1Mhz+) versions of the IIC bus that these chips use, they can be tricky to implement. Sometimes you have to retry the transaction. Also you may need active pullups on the bus, a simple resistor may not work. It should be OK with only an EEPROM chip or two hanging on it. Some of the PICs and mayby the Scenix chip have special hardware for doing the IIC bus directly.
Re: MLDL Design Ideas, Part I: using a PIC - Miguel(Denver) - 06-28-2001 I realize it wont fit in the case but what about 'Smartmedia' or memory sticks...
|