In the thread, "General 8051 questions," I mentioned in passing: "A word of warning when debugging in uVision: The values displayed for R0-R7 (in both the Registers window and by typing "Rn" on the command line) are only ever for Bank zero!" http://www.keil.com/forum/msgpage.asp?MsgID=2260 It seems that this is actually a problem with the Triscend E5 Driver (te5_uv2.dll) rather than uVision itself. Does anyone else have any comments/experience on this?
Triscend have now confirmed that this is, indeed, a problem with their driver (te5_uv2.dll). Triscend say, "This bug is scheduled to be fixed in the next major release of FastChip." The latest version I have is v0.91, which (I think) came with FastChip v2.2.0. Do not download the driver from http://www.triscend.com/products/text_keil20_dll.html - the version there is even further out-of-date that the one on the Keil CD! You will need to contact Triscend direct for the latest version: SupportCenter@triscend.com