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
  • Hi guys,

    First of all, thanks for your response.

    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, i read somewhere that the BLJB value can be modified only in paralell programming mode. I guess I will have to meet the hardware conditions if I want to do this.

    Is there any other way that i can acomplish this without changint the hardware? right now the hardware does not have any connections to the
    !PSEN pin.

    Thanks

Reply
  • Hi guys,

    First of all, thanks for your response.

    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, i read somewhere that the BLJB value can be modified only in paralell programming mode. I guess I will have to meet the hardware conditions if I want to do this.

    Is there any other way that i can acomplish this without changint the hardware? right now the hardware does not have any connections to the
    !PSEN pin.

    Thanks

Children