Hallo,
I do have a P89C668. Normaly I start bootloader with this code:
After programming with Flashmagic I reset by normal powerunplug.
Today I tried the first time the "execute" function in Flashmagic.
The device did reset after programming. Function working (;
But after that, i can not excecute the bootloader anymore. The device is simple not responding after the code.
Normaly, all ports must go on. But there is nothing. No reset by watchdog.
(After Powerunplug, the normal program is running)
Did the execute function change the bootvector?
If you need additional infos please ask.
(Sorry for my bad english. I'm german)
I do have a P89C668. Normaly I start bootloader with this code:
Code Select
#pragma asm
MOV AUXR1,#20H ;set the ENBOOT bit
MOV R0,#8 ;FOSC
MOV R1,#06H ;program status byte or boot vector
MOV DPTR,#0000h ;specify status byte
MOV A,#10 ;
CALL 0xFFF0 ;execute the function
#pragma endasm
WDTRST = 0x1E;
WDTRST = 0xE1; // RESET
After programming with Flashmagic I reset by normal powerunplug.
Today I tried the first time the "execute" function in Flashmagic.
The device did reset after programming. Function working (;
But after that, i can not excecute the bootloader anymore. The device is simple not responding after the code.
Normaly, all ports must go on. But there is nothing. No reset by watchdog.
(After Powerunplug, the normal program is running)
Did the execute function change the bootvector?
If you need additional infos please ask.
(Sorry for my bad english. I'm german)