Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Ads

Discussion Groups

Discussion Groups | TMS320C28x | Hex-conversion Utility

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

Hex-conversion Utility - hema...@gmail.com - Jul 3 15:34:52 2008



Hi friends,
           I am working with F2812 processor and I want to generate .hex file by hex-conversion
utility for flash programming. I generated .hex successfully by using command line option.
           But I want to generate .hex file by using "command file" option i.e for
example "hex2000 hexutil.cmd". I followed the steps given in the datasheet Assembly
Language Tools for C28x processors but unsuccessful. Can anybody give me suggestion to generate
.hex file through "command file" option. If it is possible, can you send me an
example project so that I can better understand. Please reply as soon as possible.
           Thank You.

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: Hex-conversion Utility - Alain SALMETOZ - Jul 4 7:35:26 2008

for us, here is our example :

(this part is in a cmd file, call with hex2000 MyFile.cmd)

-------------- FILESTART --------------------

-m
./Obj/Exe/DIGIT1_DwnUps.out
-romwidth 16
ROMS
{
        EPROM2: org =3D 0x100000, len =3D 0x008000, files =3D {=20
./Obj/Exe/Digit1Ext_Dwn.s  }
        EPROM1: org =3D 0x3D8000, len =3D 0x01C000, files =3D {=20
./Obj/Exe/Digit1Int_Appli.s  }
}
-------------- FILEEND --------------------

Hope this will help !

Veuillez r=E9pondre =E0 h...@gmail.com
Envoy=E9 par :    c...@yahoogroups.com
Pour :  c...@yahoogroups.com
cc :=20=20=20=20=20

Objet : [c28x] Hex-conversion Utility

Hi friends,
           I am working with F2812 processor and I want to generate .hex=20
file by hex-conversion utility for flash programming. I generated .hex=20
successfully by using command line option.
           But I want to generate .hex file by using "command file" option=
=20
i.e for example "hex2000 hexutil.cmd". I followed the steps given in the=20
datasheet Assembly Language Tools for C28x processors but unsuccessful.=20
Can anybody give me suggestion to generate .hex file through "command=20
file" option. If it is possible, can you send me an example project so=20
that I can better understand. Please reply as soon as possible.
           Thank You.

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables develope=
rs to start building applications based on the OMAP35x architecture: http:/=
/www.DSPRelated.com/omap35x
You can post a message or access and search the archives of this group on D=
SPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: Hex-conversion Utility - Bhaskar Reddy N - Jul 4 10:11:22 2008

i have defined the command file like this..
------------------------
example_BIOS_flash.out
-b
-image
-memwidth  8

ROMS
{
  FLASH: org = 0x7B0000, len = 0x40000, romwidth = 8, files = 
{example_BIOS_flash.bin}
}
---------------------------
this one i have used for the project available in spra958g (search 
for this on google).  i never used that binary file though. it seems 
it generated correctly.
for my case i have used the switch -b, instead you can use other 
options.

--- In c...@yahoogroups.com, hemanth.betha@... wrote:
>
> Hi friends,
>            I am working with F2812 processor and I want to 
generate .hex file by hex-conversion utility for flash programming. I 
generated .hex successfully by using command line option.
>            But I want to generate .hex file by using "command file" 
option i.e for example "hex2000 hexutil.cmd". I followed the steps 
given in the datasheet Assembly Language Tools for C28x processors 
but unsuccessful. Can anybody give me suggestion to generate .hex 
file through "command file" option. If it is possible, can you send 
me an example project so that I can better understand. Please reply 
as soon as possible.
>            Thank You.
>

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: Re: Hex-conversion Utility - Hemanth B - Jul 7 9:49:53 2008

Thank you bhaskar and SALMETOZ.
          I tried with the code as you given. But it is giving error like
".\Debug\test.out, No such file or directory". I don't know why it
is showing this error even if I am giving the path for that output file.

 I am giving my code here:
.\Debug\test.out (test.out is located in Debug folder of the project).
-i
-o test.hex
-memwidth 16
ROMS
{
FLASH: org = 0x7B0000, len = 0x40000, romwidth = 16, files =
{.\Debug\test.bin}
}
          At this point, can you guyz clarify one more thing to me: from
where should I invoke hex2000 test.cmd. Is this the same as how we
are invoking from command line like "hex2000 -romwidth 16  -memwidht 16 -i
-o .\Debug\test.hex .\Debug\test.out" in final build options or is it
different.

For flash programming with C2oooProg, I need to have an Intel hex file
with memwidth 16 and romwidth 16.
Can give me an example project with this format.
               Thank you.

On Fri, Jul 4, 2008 at 5:37 PM, Bhaskar Reddy N <b...@lntemsys.com>
wrote:

>   i have defined the command file like this..
> ------------------------
> example_BIOS_flash.out
> -b
> -image
> -memwidth 8
>
> ROMS
> {
> FLASH: org = 0x7B0000, len = 0x40000, romwidth = 8, files =
> {example_BIOS_flash.bin}
> }
> ---------------------------
> this one i have used for the project available in spra958g (search
> for this on google). i never used that binary file though. it seems
> it generated correctly.
> for my case i have used the switch -b, instead you can use other
> options.
>
> --- In c...@yahoogroups.com <c28x%40yahoogroups.com>, hemanth.betha@...
> wrote:
> >
> > Hi friends,
> > I am working with F2812 processor and I want to
> generate .hex file by hex-conversion utility for flash programming. I
> generated .hex successfully by using command line option.
> > But I want to generate .hex file by using "command file"
> option i.e for example "hex2000 hexutil.cmd". I followed the steps
> given in the datasheet Assembly Language Tools for C28x processors
> but unsuccessful. Can anybody give me suggestion to generate .hex
> file through "command file" option. If it is possible, can you send
> me an example project so that I can better understand. Please reply
> as soon as possible.
> > Thank You.
> 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: Hex-conversion Utility - Bhaskar Reddy N - Jul 7 9:49:59 2008

its easy if you have everything in Debug folder. Place, the .cmd file 
that you would like to use, place the hex2000 and anyhow .out file is 
already there in that folder.
Execution of "hex2000 123.cmd" can be done either manually by going 
to Debug folder in cmd prompt or you can add it to your "Final build 
steps" in General tab of Project>>Build Options menu, this step will 
be executed autmaticall with each compile.

--- In c...@yahoogroups.com, "Bhaskar Reddy N" <bhaskar.reddy@...> 
wrote:
>
> i have defined the command file like this..
> ------------------------
> example_BIOS_flash.out
> -b
> -image
> -memwidth  8
> 
> ROMS
> {
>   FLASH: org = 0x7B0000, len = 0x40000, romwidth = 8, files = 
> {example_BIOS_flash.bin}
> }
> ---------------------------
> this one i have used for the project available in spra958g (search 
> for this on google).  i never used that binary file though. it 
seems 
> it generated correctly.
> for my case i have used the switch -b, instead you can use other 
> options.
> 
> --- In c...@yahoogroups.com, hemanth.betha@ wrote:
> >
> > Hi friends,
> >            I am working with F2812 processor and I want to 
> generate .hex file by hex-conversion utility for flash programming. 
I 
> generated .hex successfully by using command line option.
> >            But I want to generate .hex file by using "command 
file" 
> option i.e for example "hex2000 hexutil.cmd". I followed the steps 
> given in the datasheet Assembly Language Tools for C28x processors 
> but unsuccessful. Can anybody give me suggestion to generate .hex 
> file through "command file" option. If it is possible, can you send 
> me an example project so that I can better understand. Please reply 
> as soon as possible.
> >            Thank You.
> 
------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )