Hello forum, I got a problem with the µVision2 debugger. Every time the simulation reaches the statement T6CON = 0x82C0; (which means timer 6 runs downward, clocked with 5 MHz @ 20 MHz system clock, toggles P3.1 and uses CAPREL) the µVision crashes. After a few seconds a requester appears, saying an application error has occured and an error protocol will be made. uv2.exe illegal access (0xc0000005), address 0x1000464e (I've got a german Windows NT - the messages are in german, hence the rough translation) Does everybody knows a solution for this problem? Thanks - Peter
I had the same problem: Each time timer 6 crossed zero the whole IDE crashed. Seems to have been a bug in the simulator, which has been fixed in the C166 V4.20 release (which contains S166.DLL V2.14c). This release has also fixed some other bugs: ADDRSEL regs were not displayed correctly in the "Peripherals|System Configuration" dialog box, and the IDE was likely to crash if you tried to add something other than a variable to a watch window. (and probably some more..)