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

AT89C51ED2: Selecting external vs internal flash

I would like to set a (fuse?) bit to select the external Flash/PEROM as program memory instead of default Flash internal to the AT89C51. Is the BLJB bit the one I want to set? How do I set it?

Parents
  • BLJB does not have to do anything with the choice of internal or external ROM. With setting the BLJB you decide wether to execute the built-in Bootloader on a Reset or not.

    Maybe this section of the Datasheet is what you were looking for:


    External Access Enable: EA must be externally held low to enable the
    device to fetch code from external program memory locations 0000H to
    FFFFH. If security level 1 is programmed, EA will be internally latched on
    Reset.


    EA is a pin on your controller.

Reply
  • BLJB does not have to do anything with the choice of internal or external ROM. With setting the BLJB you decide wether to execute the built-in Bootloader on a Reset or not.

    Maybe this section of the Datasheet is what you were looking for:


    External Access Enable: EA must be externally held low to enable the
    device to fetch code from external program memory locations 0000H to
    FFFFH. If security level 1 is programmed, EA will be internally latched on
    Reset.


    EA is a pin on your controller.

Children