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
  • So it turns out I have the correct polarity on EA (it is grounded, so external code should be executing), but I still believe that BLJB=0 (default) is forcing my program into the Atmel boot loader. This page (http://www.phaedsys.demon.co.uk/chris/8051/atmel.html) says the factory default will force hardware boot address at FC03h. Is is just me, or does that seem odd to anyone else, since it's not divisible by 4?

    Anyway, I guess a workaround to setting BLBJ is to put some absolute code at the starting PC that jumps to the user application at 0h.

    Thanks for being patient -- I'm new at this and want to double-check everything before I make a huge ass of myself. :)

Reply
  • So it turns out I have the correct polarity on EA (it is grounded, so external code should be executing), but I still believe that BLJB=0 (default) is forcing my program into the Atmel boot loader. This page (http://www.phaedsys.demon.co.uk/chris/8051/atmel.html) says the factory default will force hardware boot address at FC03h. Is is just me, or does that seem odd to anyone else, since it's not divisible by 4?

    Anyway, I guess a workaround to setting BLBJ is to put some absolute code at the starting PC that jumps to the user application at 0h.

    Thanks for being patient -- I'm new at this and want to double-check everything before I make a huge ass of myself. :)

Children