Maybe the issue with returning all 0 is that the code/data protection is enabled?
So
1. There needs to be an option in the XGecu software to disable code / data protection. I have no idea what the steps from the documentation mean and I doubt that these can be performed by a user.
2. If code/data protection is enabled, then the XGecu software is broken, because bit 8 (/CPD) and bit 7 (/CP) of the configuration word were not set, when programmed (not checked in the software = programmed as '1' = protection disabled)
3. I currently don't know, if the "Erase before" option (enabled by default) did clear 0x3FF = delete the RETLW value. If this is the case, then this is a critical bug as well, because the 12F629 is basically unusable after that
Please help. The PIC12F629 is returning all 0 after first programming and now I cannot do anything. |