1/1

|
About the format of *.or32
by Unknown on Oct 18, 2004 |
Not available! | ||
|
Hi all,
I want to program *.or32 to flash rom with the flash programming device.When powerup or1k can read instruction from the flash rom.
So I can't use the gdb and jtag program.
Then I want to write a program to convert the *.or32 file to the file which my flash programming device support.Should I know any about the *.or32 format?
Could someone give me some suggestion?
Thanks and Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.opencores.org/forums/openrisc/attachments/20041018/bc4508b2/attachment.htm
|
|||
|
About the format of *.or32
by Unknown on Oct 18, 2004 |
Not available! | ||
|
Hi all,
I want to program *.or32 to flash rom with the flash programming device.When powerup or1k can read instruction from the flash rom. So I can't use the gdb and jtag program. Then I want to write a program to convert the *.or32 file to the file which my flash programming device support.Should I know any about the *.or32 format? Could someone give me some suggestion? Thanks and Regards |
|||
|
About the format of *.or32
by Unknown on Oct 18, 2004 |
Not available! | ||
|
You want to use the 'objcopy' utility with the GNU tools. Assuming you want
a binary file, you would do the following:
or32--objcopy -S -O binary
Where:
is your toolchain target, e.g. elf, rtems.
is the input or32 file
is the output binary file
For other formats, e.g. Intelhex, S-records, look at the manual for objcopy
('man objcopy' or 'info objcopy')
Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
http://www.jennic.com Tel: +44 (0) 114 281 2655
_______________________________________________________________
-----Original Message-----
From: openrisc-bounces@opencores.org
[mailto:openrisc-bounces@opencores.org]On Behalf Of 305liuzg@163.net
Sent: 18 October 2004 03:40
To: openrisc@opencores.org
Subject: [openrisc] About the format of *.or32
Hi all,
I want to program *.or32 to flash rom with the flash programming
device.When powerup or1k can read instruction from the flash rom.
So I can't use the gdb and jtag program.
Then I want to write a program to convert the *.or32 file to the file
which my flash programming device support.Should I know any about
the *.or32 format?
Could someone give me some suggestion?
Thanks and Regards
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
|
|||
|
About the format of *.or32
by Unknown on Nov 24, 2004 |
Not available! | ||
|
You don't need to write a program - it is already there:
or32-elf-objcopy (or or32-rtems-objcopy, or32-uclinux-objcopy depending on
how you have built your tools).
To convert or32 file to binary, do:
or32-elf-objcopy -S -O binary yourfile.or32 yourfile.bin
objcopy can also convert to S records, Intelhex, whatever your programmer
needs - look at the manual pages for objcopy.
Robert Cragie, Design Engineer
Direct: +44 (0) 114 281 4512
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
http://www.jennic.com Tel: +44 (0) 114 281 2655 Confidential
_______________________________________________________________
-----Original Message-----
From: openrisc-bounces@opencores.org
[mailto:openrisc-bounces@opencores.org]On Behalf Of Liu Zhigang
Sent: 18 October 2004 01:26
To: openrisc
Subject: [openrisc] About the format of *.or32
Hi all,
I want to program *.or32 to flash rom with the flash programming
device.When powerup or1k can read instruction from the flash rom.
So I can't use the gdb and jtag program.
Then I want to write a program to convert the *.or32 file to the file
which my flash programming device support.Should I know any about the *.or32
format?
Could someone give me some suggestion?
Thanks and Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.opencores.org/forums/openrisc/attachments/20041124/dc5fc240/attachment.htm
|
|||
1/1

