Hi all, Could someone please check the following behaviour of uVision 2.31 (C51 7.01)? If in the Options for Target... dialog you switch from the "Target" tab to the "Device" tab and then back to the "Target" tab, some of the options are lost. For example, if the device is a SAB80C517A from Infineon, the "Use On-chip Arithmetic Unit" and "Use On-chip XRAM" check boxes are unchecked. Thanks in advance, Jose
Just switching between the tabs doesn't seem to do it. However, if I change the device - eg from Triscend TE502 to TE505 - that does cause the 'Use multiple DPTRs' and 'Use On-chip XRAM' options to be cleared (and maybe others - I didn't check). This is not a new behaviour: in previous versions, the Device & Target options were separate dialogues, but changing the Device had the same effect. I'm not sure that the behaviour is entirely unreasonable: changing the device is a pretty fundamental change, and could well invalidate some of the Target settings anyway! (eg, whether or not multiple DPTRs are available to be enabled!)
"changing the device is a pretty fundamental change, and could well invalidate some of the Target settings anyway!" Yes, it can be fundamental change but if I don't change device anyway why is changed Target option same way as the Default button? If I forget this behaviour and click by mistake on the Device Tab than I quickly use "Cancel" button. It's not critical but it is a bug I mean. Vaclav
Andrew, Vaclav, I've double checked and I can confirm that the settings are resetted by just clicking the Device tab. It happens in two different installations of the C51 package. In my case, even the Xtal setting is changed to 18.0 from the 16.0 which I use in my project. The off-chip code and xdata memory settings are not changed, by the way. It may happen only with certain Devices, I'll investigate further. Jose
View all questions in Keil forum