??? 02/23/06 08:35 Read: times |
#110568 - please help Responding to: ???'s previous message |
I am progrmming the ic using elnec beeprogrammer.
according to philips data sheet the bootloader programme is loaded in location 0000h to 1fffh provided that fcf.0=0 and fcf.1=0. when i see the device information of p89v51rd2 on elnec programmer it says: User Code (Block 0) is located in buffer from 0h to FFFFh. Boot Block (Block 1) is located in buffer from 10000h to 11FFFh. Block 1 (8kB) contains the Philips Bootloader. Performing a Chip Erase erases both blocks and will erase the bootloader. You can obtain the bootloader from Philips website, if needed. The security bit and Double clock bit can be erased only by Chip erase. The buffer address between 11F01h and 11F1Fh contain a string of up to 31 Bytes representing a Serial Number. The location 11F00h contains the length of the string. This string is stored in ASCII or Hexadecimal format. The SoftICE Flag(1Byte) located at 11F20h is used to enable SoftICE In Circuit Monitor program. Once a Serial Number containing values other than all 00h or all FFh is entered, the SoftICE flag (address 11F20h) should be disabled. When the Security Bit is activated all parallel programming commands except for Chip-Erase are ignored (thus the device cannot be read). However ISP reads of the user\'s code can still be performed if the Serial Number and length has not been programmed. i loaded the bootloader program (p89v51rd2_bl_v05.hex)from philipswebsite.when i program it in the ic(block1) and read the ic.the location from 0000h to 1fffh appear blank.similarly if i program the same code in ic(block0 user code)it appears from 0000h to 1fffh. i am very confused as to what is theproblem and why my iap doesnt work. also my program shows that double clock bit is empty what is softice bit and what has to be done please help regards harshada |