program uploading (hex data) .

1)- so after you compile your program you end up with a HEX file , l'ets say that i want to upload the contents of the HEX file to the flash memory manually (my own program) i don't think that the order of the hexadecimal data in the file is the exact same as the one that will end up in the flash memory , i know about the SPM command and how to upload data to the memory so that part is not a problem . i was unable to find a document that describes the exact order with which the data is moved from the file to the memory .

If it's Intel or Motorola hex, the locations are embedded in the hex file.

aarg:
If it's Intel or Motorola hex, the locations are embedded in the hex file.

that will require more work then , before i though that hex files were a brute fromat of what needs to be in the flash memory , so you take the conent and program it as it is in the memory .
can you recommend some good documents for me to get a better understanding of this ?

Have you tried this?

AWOL:
Have you tried this?

i miss the days when asking a mate for a document , was socially acceptable