??? 05/13/05 06:16 Read: times |
#93371 - more details needed Responding to: ???'s previous message |
hi,
Rob Woodhouse said:
I have a problem starting my cc01 chip with a hardware reset. I have programmed it in flip by setting PSEN to ground and connecting RESET to high - this enters the bootloader.
Just some more information: /EA must be high too and ALE is high or not connected as well to come into bootloader mode. In fact, it enters bootloader mode after you have released RST pin. Moreover, you should release PSEN after the falling edge of Reset because PSEN is an output port in normal operating mode. The whole process looks like this: However, when i then do a HARDWARE reset/or turn power off and on again the program will not work properly?? i have NOT set AUXR1 in my code and when i program it in flip i leave the BLJB cleared.
What does mean "cleared" here? Is BLJB marked or unmarked in Flip? Possible ideas: - If BLJB is marked in Flip then after reset MCU comes to bootloader mode itself (this is default factory mode). Unmark the bit, do save configuration. - Bad reset due power-up and power-down. I have used CC01 for a couple of years and may say that this derivative must not work without external power supervisor. The reason is corrupted memory and unloked protection after some power-off/on more details here Use supervisor. By the way, what do you mean with "program will not work properly??" Does it come to bootloader mode, provide wrong results, not starts whatever? Regards, Oleg |
Topic | Author | Date |
Problem Programming ATMEL T89C51CC01 | 01/01/70 00:00 | |
more details needed | 01/01/70 00:00 | |
Program works until CAN is connected | 01/01/70 00:00 | |
differents![]() | 01/01/70 00:00 |