2007-05-08 05:26 PM
Error: stopped on undefined memory access
2007-05-08 05:26 PM
Hi,
I am emulating 72325J6 with DVP3 and using the Cosmic compiler. I am getting this error: Error: undefined memory access at XXXX XXXX sometimes is random, sometimes is permanent and is 0x1ee7 (map file says it is in the debug section) I have in one of the external interrupt ISRs this code: @interrupt void Ex3Int(void) { DisableInterrupts; ..... TAOC1R=SomeValue; TAOC2R=790;//When this is commented, no problems ...... EnableInterrupts; } When I comment the line setting TAOC2R, the program runs OK. Why does this happen? Thanks