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

execute program in RAM

Hi,
I work on ST10F168 with Keil V2.38
I have a standart program in flash and i want to load via SCIO a program in external RAM in order to execute it. What the good format can i load in RAM : h86 or lib
My problem is to decode a *.h86 in hexadecimal to write it in RAM in disassembly in order to execute it.
If you know the best format to do it, and the procedure to create it.
A lot of suggestions are happened!

Thanks
Regards

Parents
  • Hi Drew,
    i undertsand your solution but when i write a program that i want to load in RAM, i must attach start167.A66 to compile it. I would to have just functions in a hex file to call it in ram and return in flash executing program. How can i load only fonctions in disassembly code in external ram ?
    I try to use hex2bin but it doesn't work with .h86
    hex2bin -s ***.h86 create a 0 octet .bin file ?????????
    I hope you will help me!

    Thanks
    Regards

Reply
  • Hi Drew,
    i undertsand your solution but when i write a program that i want to load in RAM, i must attach start167.A66 to compile it. I would to have just functions in a hex file to call it in ram and return in flash executing program. How can i load only fonctions in disassembly code in external ram ?
    I try to use hex2bin but it doesn't work with .h86
    hex2bin -s ***.h86 create a 0 octet .bin file ?????????
    I hope you will help me!

    Thanks
    Regards

Children
No data