cancel
Showing results for 
Search instead for 
Did you mean: 

The format of the Code Space of uPSD3200

hengly
Associate II
Posted on May 12, 2005 at 03:43

The format of the Code Space of uPSD3200

3 REPLIES 3
hengly
Associate II
Posted on May 17, 2011 at 12:06

I know there are several formats of file concerning the uPSD3200 programming.

The first one is hex-80, which is user's firmware and generated by a compiler such as KEIL;

The seconde one is obj, which is the output file of PSDsoft Express after merging the hex-80 file above with PSD configuration file;

But after downloading the obj file into uPSD3200, I find that the final data in the code space of uPSD3200 are different from the original obj file.

Is it an another format? Anyone knows it in detail? or how can I know the size my obj file takes up in the code space of uPSD3200? So I can select enough sectors in the ''Merge MCU/DSP firmware with PSD'' step.

Thanks in advance.

rk1
Associate II
Posted on May 17, 2011 at 12:06

hi,

- the obj-file contains all firmware, AND the configuration data for the PSD.

- the hex-files contain the firmware (for the mcu) - this is what is written to the flash memory

to determine the size of the firmware from the hex-file, you can look at the hex-file

(i.e. see:

http://plit.de/asem-51/append_e.htm

for a specification), or you can convert

the hex-file into a ''bin-file'' (i.e. by hex2bin, see the above website). the bin-file exactly

contains what is written to the flash, and so the size of the bin-file is the size of the needed flash

memory.

hengly
Associate II
Posted on May 17, 2011 at 12:06

oh, I see. Many thanks!