Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mihir

#1
I am using the single chip for download sessions and it comes up with this warning. When i read the device signature (after getting the warning) it comes up with the same  number. "Device ID : 0x91"


Thanks ,
Mihir


#2
P89V51Rx2/P89LV51Rx2 / ISP ( Flash Magic ) - Warning
February 24, 2008, 08:38:50 PM
I am using Flash magic 4.17 to program the P89V51RD2. It some times comes up with the following warning.

"The device signature does not match the expected values". I have read the device signature and it consistently shows the same data as shown bellow.

If i ignore the warning Flash Magic programs without a problem.

Your Sincerely,
Mihir


=================
Manufacture ID : 0xBF
Device ID         : 0x91
BootLoader  Ver : 4
=================
#3
Hi all,

I was working with my old product which has P89C51RD2 on the board. The programming and verification seems alright using flash magic but the chip is facing a continuous reset. when i looked in to the matter i found on internet (ref) which might be relevant. but here the code is not getting corrupted instead the continuous reset is occurring. ( I have not touched Watchdog related registers in code)

Regards,
Mihir.

============================================================
How P89C51RD2 get faulty durring programming with Flash magic
Please tell me how to protect them, as they are costly.
=======
Reply
=======
This sounds like the infamous bootvector loss problem.
You can find some additional background information searching 8052.com and the FlashMagic (forum.flashmagictool.com) forums.
One thing you should consider is a proper reset IC, if you don't use one already.
Other thing might be to use Erik Malund's idea - to add a code for bootloader entry into your application. Search under NoTouch/BackDoor on those two sites I mentioned above.
JW
============================================================
#4
P89V51Rx2/P89LV51Rx2 / Re: 89V51RD2 Security bits
January 30, 2008, 06:38:37 PM
The issue has been resolved.

( Problem : - Even after setting the serial number i was able to read the firmware inside it.

Solution :- One has to recycle the power to lock the code after setting the serial number which was not mentioned ).

Thanks for the help.
Mihir
#5
P89V51Rx2/P89LV51Rx2 / Re: 89V51RD2 Security bits
January 29, 2008, 10:14:34 PM
even if i set the security bit, i am able to view the firmware inside the chip by saying display Memory.

Is it must to use a parallel programmer to lock this bits? The data sheet says that even if one have locked this bit , any one will be able to read, write or erase the flash in ISP mode.

" However, ISP reading, writing, for erasing of the user's code can still be performed if the serial number and length has not been programmed ".

Is there any way to keep the software locked and un-readable ??

Thanks,
Mihir



===========================
Ref :- ( from 89V51RD2 Data sheet )
===========================
Security bit

The Security Bit protects against software piracy and prevents the contents of the flash from being read by unauthorized parties in Parallel Programmer mode. It also protects against code corruption resulting from accidental erasing and programming to the internal flash memory.

When the Security Bit is activated all parallel programming commands except for Chip-Erase are ignored (thus the device cannot be read). However, ISP reading, writing, for erasing of the user's code can still be performed if the serial number and length has not been programmed. Therefore, when a user requests to program the Security Bit, the programmer should prompt the user and program a serial number into the device.
#6
P89V51Rx2/P89LV51Rx2 / 89V51RD2 Security bits
January 29, 2008, 10:08:59 PM
I am using Flash magic version 4.15.270 for programming 89V51RD2. when i set the security bit it says on tools tip "Security bit 1: when set writing to flash is disabled  ".

how can i lock the firmware on the chip in the finished product??

Thanks,
Mihir


=======================
Ref :
=======================
Version 2.07 (Dll 1.74)
-----------------------

- Removed device configuration for 89V51RD2 and 89LV51RD2.

- Only one security bit is now shown in the security bits window for the 89V51RD2 and 89LV51RD2.
#7

Thanks Andy and Jan this solves the problem.
#8
" By default, the device runs at 12 clocks per machine cycle (X1 mode). The device has a clock doubling option to speed up to 6 clocks per machine cycle. Clock double mode can be enabled either by an external programmer or using IAP. " - Data Sheet P89C51RD2

I have tried Flash magic to do it. but under the "Options > Advance Options> Communication " the menu is hidden and i can't access it.

Please guide me how can i do it using flash Magic.

Your Sincerely,
Mihir
#9
Good Day All,

I wanted to reset the serial number of P89V51RD2 and i pressed the "Enable softICE" by mistake and as a result i am unable to program the chip.(which had never came up with any warning that it will be problematic to recover from this mode) reason being to it is always in softICE mode. I have already gone through the form to search the answer for this Mr. Jan Waclawek, the procedure is 3 page and time consuming(The solution is much appreciated but some steps are tricky and complex ( lifting p3.4 is not easy in some case when it comes to RF application and the micro processor is shielded ).

I have already seen this problem has been faced from many people and the form is full of same question and same answer on this topic. although there is no straight forward answer.

There are two very easy solution to this. First is Flash magic come up with any warning message regarding this and people know what they are doing and softICE bit is not turned on by mistake. Second NXP is not coming up with a simple and straight forward solution to this problem.

There is no documentation available even about the softICE mode in the P89V51RD2 what it should do and how it is useful, It just says how the chip can go in this mode.

If I am missing some thing (If there is a easy solution available) then please let me know.

Thanks
Mihir Patel.