This helps. I wonder in your case if there is a company who offers programming them as a service. It sounds like it's a one time deal anyway and to be honest, I really don't see where learning about the 01 is going to help you going forward. It's just such old technology.
Do you ow understand the mode selection, vector tables and how they are used to run the programs?
I hoped to be able to solve this since its 10 units I want to program.. but in worst case. (probably would cost more than I am willing to spend thou..)
I understand the mode selection, but when it fetches a "vector table" I am not so sure what that means.
This below is the instructions straight from the datasheetWhen the MC68701U4 is released from reset in mode 0, a
vector is fetched from location $BFFE:$BFFF.- So it fetches a vector (instruction?) from those 2 adresses? or all inside that area?
This provides
a method for an external program to obtain control of the
microcomputer with access to every location in the EPROM.- Ok, so here it must mean that now PRObug can somehow interact with the MCU? (or viceversa)
To program the EPROM, it is necessary to operate the
MC68701 U4 in mode 0 under the control of a program resident
in external memory which can facilitate loading and programming
of the EPROM. - Allright, this must be PRObug? But how can the external memory controll the MCU?
After the pattern has been loaded
into external memory, the EPROM can be programmed as
follows:- Ok.. what pattern is getting loaded into what external memory? (sram i suppose)
- Is it here "my code" would get loaded into a external sram? If so, from where does it get loaded into external sram?
a. Apply programming power (VPP) to the RESET/Vpp
pin.- ok (haha jeez, well atleast I can probably get this one right).
b. Clear the PLC control bit and set the PPC bit by writing
$FE to the RAM/EPROM control register.- ok, how would I do that? (cant possibly mean manually right? since its for every single byte..)
c. Write data to the next EPROM location to be programmed.
Triggered by an MPU write to the EPROM, internal
latches capture both the EPROM address and the
data byte.- Now here I dont see what I am supposed to do. How am I supposed to write data?
- Or does it simply mean that it WILL write the data if I trigger a MPU write manually somehow?
d. Clear the PPC bit for programming time, tpp, by writing
$FC to the RAM/EPROM control register and waiting
for time, tpp. This step gates the programming power
(Vpp) from the RESETlVpp pin to the EPROM which
programs the location.- ok, how would I do that? (cant possibly mean manually right? since its for every single byte..)
e. Repeat steps b through d for each byte to be programmed.- Will the counter increment automatically?
f. Set the PLC and PPC bits by writing $FF to the
RAM/EPROM control register.- How would I do that?
g. Remove the programming power (Vpp) from the
RESET IVpp pin. The EPROM can now be read and
verified.- ok
As you can see there are many points where I cant see how its suposed to be done. :/