??? 05/18/06 22:54 Read: times |
#116582 - register bank Responding to: ???'s previous message |
Mark Bongers said:
Hi,
I tried all the register banks (0,1,2,3) of the interrupt routine, but without effect. If I understand correct, this only affects local registers (R0 up to R7) and not the global variables? Can you help me with this problem? Thanks in advance. Back to basics. Can you get any serial comms to work ? Write a very simple test code to send a string to your PC. Does it work ? In your interrupt code, do you religously use the same register bank, and context switch it ? Do you save Acc, B, PSW when you enter the routine (assuming you care about them) and restore them as you exit ? Steve |
Topic | Author | Date |
Problem with RTC-ISR & UART | 01/01/70 00:00 | |
register bank | 01/01/70 00:00 | |
Reinitializing baudrate. | 01/01/70 00:00 | |
have you compared to CodeArchitect? | 01/01/70 00:00 | |
Why change the baudrate? | 01/01/70 00:00 | |
Normal operation/Bootloader![]() | 01/01/70 00:00 |