This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

isp programming at89c51rd2

Hi

I am using the at89c51rd2 from atmel and I am a little bit confused on how to upload the firmware thru the UART.

As far as i understand you can use Atmel's "Flip" but you have to meet certain hardware conditions or you can do it by invoking the isp bootloader by setting BJLB BSB=0xFF, SBV=0xFC.

How do I set these values? i don't see the registers in the header.
Also, Is there another easier way to do this?

Thanks in advance.

Parents
  • My idea was to try to clear the BLJB, set the BSB to 0xFF, set SBV to 0xFC (all this by software when i send a commnad to the micro) and then generate a reset; that way the micro will go into bootloader and now I can run flip to program the chip.

    I have been reading a little bit more and I think i will not be able to do this

    you should be able to do it, someone has done it.

    I will try to hunt up who, but have not much hope.

    When I published NoTouch and "the backdoor" for the Philips P89C51Rx2's someone did exactly this for the Atmels These, of course are moot by now since the NXP 'V' chips automatically go into ISP.

    I do not know if it will help you any, but NoTouch and "the backdoor" can both be found at the FlashMagic (esacademy) website

    Erik

Reply
  • My idea was to try to clear the BLJB, set the BSB to 0xFF, set SBV to 0xFC (all this by software when i send a commnad to the micro) and then generate a reset; that way the micro will go into bootloader and now I can run flip to program the chip.

    I have been reading a little bit more and I think i will not be able to do this

    you should be able to do it, someone has done it.

    I will try to hunt up who, but have not much hope.

    When I published NoTouch and "the backdoor" for the Philips P89C51Rx2's someone did exactly this for the Atmels These, of course are moot by now since the NXP 'V' chips automatically go into ISP.

    I do not know if it will help you any, but NoTouch and "the backdoor" can both be found at the FlashMagic (esacademy) website

    Erik

Children