Hello Fabio,
The example is on folder Keil\ARM\RV30\Boards\Keil\MCB2130\VoicePlayer .
This sample uses a script file to load the .hex file and program in your
device. The bat file convert.bat on folder
\Keil\ARM\RV30\Boards\Keil\MCB2130\VoicePlayer\AudioData has a initial
configuration for making this convertion. This file should be edited. Below
are the help:
BIN2HEX Version 1.06
Copyright (c) 1993-1995 BITWARE.
All rights reserved.
Syntax: BIN2HEX [/option] binfile [hexfile]
is the binary input file
is the Intel HEX file to create
may be any of the following
/Ln Bytes to read from binary file
/In Binary file starting offset
/On Output file address offset (where HEX data starts)
/M Merge data into existing HEX file
/2 Generate HEX file using ext. segment address records (HEX86)
/4 Generate HEX file using ext. linear address records (HEX386)
/Q Quiet mode (no statistics are displayed)
/T Exclude EOF record
/A Append to end of existing HEX file
/? This help text
Regards,
Cesar de Almeida
2007/6/6, fabicenn :
>
> Hi
>
> I use keil uVision3 also, but I haven't find this example. Where is?
> can you send me address or file .zip?
> I can't able to divide binary file from application code
>
> thanks Fabio
>
> --- In l... , "Car de
> Almeida"
> wrote:
> >
> > Hello Fabio,
> >
> > Which is the IDE you are using? I am using MDK-ARM with Keil-
> uVision and has
> > an example for LPC2130 that use a program to convert a WAV file
> (BIN) in HEX
> > file and you should change the address range and other parameters.
> So, the
> > IDE program first the HEX file and after the application code.
> >
> > You can download the evaluation version in Keil Website and verify
> its.
> >
> > https://www.keil.com/demo/eval/arm.htm
> >
> > Regards,
> >
> > Cesar de Almeida
> >
> >
> > 2007/6/6, fabicenn :
> > >
> > > How can I copy a binary file from the PC to internal flash of a
> LPC2292?
> > > I must implement a IAP programm or convert binary file in hex and
> after
> > > copy it with ISP like "flash Magic"?
> > > How can I create a hex file from binary with an offset (0x020000
> in my
> > > application) in the output file?
> > >
> > > Thanks Fabio
> > >
> > >
> > >
> >
> >
> >
>