Have developed code on Analog Devices ADuC7060 Eval board. On transferring to target PCB ADuC7061 board no interrupts are occurring. Code with aduc7061.h still works on eval board. I am using Keil uVision V4.13a, have set Target Device to ADuC7061. The aduc7060.h and aduc7061.h header files are identical. This is confirmed by the ADuC7061 code works on the ADuC7060. According to the data sheet the only differences should be pinout of the ICs.
Hardware & Software.
Solved, had commented out the IRQEN line some weeks ago. The Keil tool does not write unused locations to zero. So the device programming is dependent on its history. Unless you write all unused locations to zero.
had commented out the IRQEN line some weeks ago every temporary "comment out" or addition I make is done with //qqq. then a) when in doubt b) before release I do a global search on //qqq
Erik
I always use ### for interesting lines I don't like particularly well for some reason. Todo comments may relate to suggestions for improvements 3 years from now, while ### lines really do need some form of sign-off.
I always use !!! for interesting lines I don't like particularly well for some reason.
Just be sure not to use ???
;-)