Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - uCherb

#1

Hello there

some solution about transfering Hexfiles origin 0 to somwhere else
are the tools Hex2bin and Bin2hex from

http://www.microsym.com/content/index.php?pid=2&id=23

with this tools one can convert it to any Adress
it works
then the FM will read the File correct
procedere:

create a Batch file

my Batchfile looks like this:

<text>
hex2bin main.hex m8bin1.bin
pause
bin2hex /O0x10000 /4 m8bin1.bin m8mainc.hex
pause
/<text>

main.hex       is the File from the FPGA Tool origin 0
m8bin1.bin    is the produced Bin File
/O0x10000    is the wanted Adress
m8mainc.hex is the resulting Hexfile to be loaded with FM

                   (the /4 stands for ..linear hex386 records)
see the help (starting Hex2bin or Bin2hex without files)

to some help for others

greetings Herbert

what about putting something like this in FM??
#2
LPC2xxx / LPC2378 loading Hexfile above 0x10000
August 01, 2008, 01:27:42 AM
Hello Colleages

I would like to use FlashMagic to load some FPGA Image in a LPC2378
at Adress 0x10000 or above

the FPGA Tool has been advised to start the Hexfile on 0x10000
After loading the File
the FM tells some strange things

Size :            346.89 Kbytes                      -> correct
FlashRange:    0x000000f0 to 0x0d9087ff      -> wrong
Flash used:     222241.77k with gap             -> may be because of wrong range
what im doing wrong??

way is there no Input for offset for loaded  Hexfiles starting on 0x00?
for placing Arrays, Images etc very handy

i'ts rather urgent to solve that problem

greetings
Herb