Hello, after programming the clock of the chip C8051F412 to 49MHz I get the error message "Target fail to response"! So I'm not longer able to programm the chip. The programmer works well (I have it tested on a other target). The hardware was not changed, so it's only a software issue.
**?? How can I now erase the flash ??** Flash tools does also not help.The code of dead looks so:
int i = 0; PFE0CN &= ~0x20; FLSCL = 0x10; PFE0CN |= 0x20; OSCICN = 0x86; CLKMUL = 0x93; for (i = 0; i < 20; i++); // Wait 5us for initialization CLKMUL |= 0xC0; while ((CLKMUL & 0x20) == 0); CLKSEL = 0x02;
--> It was generated by the Config tool!!
Thanks
Hansjörg