Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how to write to code seg(flash or eprom or eeprom) by program

i want to write to code section of 8051(flash or eprom)by programm,can any body help to override 8051 security,normally it wont allow to write on to code segment.

Comments

  • Mikael_SwedenMikael_Sweden Member Posts: 5
    [b][red]This message was edited by Mikael_Sweden at 2003-12-3 8:2:14[/red][/b][hr]
    : i want to write to code section of 8051(flash or eprom)by programm,can any body help to override 8051 security,normally it wont allow to write on to code segment.
    :
    :

    Hi,
    Normally, if you have a flash/eprom device the manufacturer will supply sample code that illustrates exactly what you're asking for.

    Or is it the compiler/linker that complains when you try to compile and link you program? If this is the case - just tweak the linker file and make the code segment address space writable :-) How to do that is entirely dependant of your linker. Hope that helps...

    /Mikael


Sign In or Register to comment.