questions about flash programming

Started by leonlint July 17, 2004
I want to program flash throught Emulator,and my codes will be
write in the flash.But I wonder where the code should be allocated.I
think the load address of these codes should be within SRAM because
Emulator must download the codes to memory,and then Emulator executes
the program to write flash,which will write the codes to the flash
according to the content of SRAM.Is it right.If it was,I should make
a ".h" file to place those codes,should I.
Thank you.