Occasionally it is desired to upload a file containing raw machine code or other binary data. Since however a raw binary file does not encode the address to where the data should be programmed, you must provide this yourself. The command is:
upad --binary=address binary-file
where binary-file is the file to upload, and address is the location in the target’s memory to where it should be uploaded. The address parameter may be specified either in hexadecimal notation, in which case it should be prefixed with ‘0x’ or as a decimal number. For example to upload a file called prog.bin to address 0xFFE00 you would use the command:
‘upad --binary=0xFFE00 prog.bin’
You are responsible for ensuring that the address is a valid memory location for your target device.