This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

wrong behaviour timer 0 bit tf0 on several boards

Hi,

pls can anyone help with the following problem:
Using different evaluation board with xc888 from Infineon, even the stupid following assembler code is incorrect. While debugging you can see that the TF0 Bit also changes from 0 to 1 as soon as I dothe setb TR0 assignment (that is on adress 88h bit 4,5 changes simultanously):

CSEG AT 0h jmp INIT
ORG 100h
INIT: mov TMOD, #1 setb TR0
MAIN: jmp MAIN END

This also holds for other .asm-files and several other evalboards and using both KEIL3 and KEIL4 (but only on real targets, NOT in simulation mode). Does anyone have an idea why?

Thanks a lot, I'm not able to resolve...

0