28X programming problem

kenmac

Member
I have been programming/testing a 28X "in circuit", debugging sections of a main program.
Everything was going according to plan, when suddenly the 28X ceased responding to programming commands.
The last section of program under test is still working as required, but I can't get it to reprogram.
I was testing a simple routine for controlling 4 relays(via transistor buffers) thru standard Output pins.
I took it out of the circuit and tried to program it in my programming board - same result.
I have tried the hardware reset routine and also power up reset, but it refuses to work!
I also tried another 28X, and that programs normally.
The existing program continues to work OK, so the 28X is not damaged.
Is there any method that I can use to restore the programming function to normal?

kenmac
 

inglewoodpete

Senior Member
First, ensure that the PICAXE power supply is up to scratch. It can struggle to program if the batteries are weak, even if the PICAXE runs.

2. Another possibility. Do you have another PICAXE chip set up so that you can test the PC and download cable?

3. You will notice that the programming editor [PE] has a timeout for downloads of a few seconds.

Try both of the following:
1. Power the PICAXE down. Click the download control in the PE. As soon as the PE starts trying to perform the download, power up the PICAXE.

2. Similarly, click the download control in the PE. As soon as the PE starts trying to perform the download, do a hardware reset on the PICAXE (must have a reset switch of course!)

After that, I'm running out of ideas.
 

BeanieBots

Moderator
"The existing program continues to work OK, so the 28X is not damaged".

Not necessarily true. It is possible to damage just one input or output.
The fact that other PICAXEs work OK in the same circuit suggests that you may have damaged the serial out pin/output.
If the hard reset method does not work, then it may be time to accept that this one has died <img src="sad.gif" width=15 height=15 align=middle>
 
Top