hello, I have been using uVision for quite long for ARM7 and somehow had to start a project containing both lpc2148 and p895v51rd2. My problem is my uVision shows only ARM devices when i start a new project. Can you please help in adding 8051 architecture(specifically p89v51rd2) in the device list? I tried reading adding new device help page with no luck. Thank you for your support, Nikhil
I already have c51 tool, it seems that the installation was corrupt. Any way i have reinstalled it and its working fine now. But i have a new doubt, do i have to select 8xc51rd+ as the device since i am using p89v51rd2?
I do not know which devices are in the devicelist but RD+ is NOT the same as rd2.
if there is no RD2 make one yourself, you do not need to add that much to the basic '52 devicelist
Erik
Nikhil,
Yes use 8xc51rd+ as the device.... if you want use some sfr which are extra in 89v51rd2 then just copy it from 89v51rd2 header file to your code.
:)
Great...... Thanks Pradeep..... its working.
One more thing I found that if we select p89v51rd2.h ; some times if the device turns ON/OFF abruptly there are chances of the data getting corrupt. So its always better to use the file Pradeep mentioned.
no, it is not - "its always better to" write stable code. stable code works with the correct regs.h