I am trying to retrieve the seconds system variable in the uVision debugger command line for an 8051 core but I keep getting an "unidentified identifier" error. I'm simply typing in the following:
printf("%d\n",seconds)
I haven't had this issue with other system variables like states or $. I recognize that in the user guide it states that "This variable is available for some devices.". However, there is no list stating which devices have the seconds system variable available. In addition, I do see the seconds variable in the Registers window in the debugger so I would assume that it should be available to access it through the command line somehow. Could it be that the system variable name is different than seconds?