Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
8051 is not having any internal flash which could iniciate the communication fron the uc side. if my external e2prom is blank how can i start the boot image download?
hock
what you need to do is to place the boot program at the end of the extenal e2prom by a programmer, the boot pgm will initiate the serial comunication with the pc to program the e2prom from the begining, you need to do a hardware activities to enable writing to the e2prom while reading instruction.
and also you need to add to your program at statup:
reset: jz p1.0,boot_adress
witch enable you to enter the boot pragram after you lowed p1.0 at reset.
Some chips from DALLAS SEMICONDUCTOR have internal ROM which you can switch off with your software, so you can load program using ROM bootstrap loader, then jump to this program and switch off ROM and finally move your program to begining of RAM - DATA and PROGRAM memory must reside in the same ram area ...
Of course some versions have EPROM and even FLASH ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.