??? 03/30/04 17:23 Read: times |
#67639 - RE: testing dallas rtc & 8052 Responding to: ???'s previous message |
i have burnt a .hex file to the 8052 ..... but no use
That just proves that something is wrong (hardware, software) how can i test anything, there is no such thing as RTC specific testting. The best way: use an ICE (almost free with Cygnal, cheap with Philips). The Cheap way: use the simulator. in either case you may still have timing issues: The timing way: set and reset a port pin, watch with a scope. The variations: If you have a working display or LED, output something at certain places in your code, but remember, it is no good if it changes faster than your eyeballs can follow. If you are connected to a PC make a routine that dump (I)DATA to the PC and (store information in some slots and) call it at critical places. All debugging suffer from drawbacks, you can not debug without upsetting the timing of your project. Erik |