* Réf. : Re: Flash programming using GDB with ARM Multi-ICE
@ 2002-08-06 13:25 jimmy.gendron
2002-08-06 13:34 ` Grant Edwards
0 siblings, 1 reply; 2+ messages in thread
From: jimmy.gendron @ 2002-08-06 13:25 UTC (permalink / raw)
To: Grant Edwards; +Cc: gdb
Hello,
If i understand:
1. Write a "stub" to initiate memory map
2. Write I/O routines to copy image to be burned from host to target RAM
(through DCC)
3. Copy from RAM to flash
The run that using GDB/Multi-ICE and everything should work.
Am i right? Are you aware of an available library for that?
Thanks!
Jimmy
"Grant Edwards" <grante@visi.com> le 2002-08-06 16:23:58
Pour : jimmy.gendron@telus.com
cc : gdb@sources.redhat.com
Objet : Re: Flash programming using GDB with ARM Multi-ICE
On Tue, Aug 06, 2002 at 03:24:46PM -0400, jimmy.gendron@telus.com wrote:
> we are developing a new board based on the Intel PXA250
> processor.
>
> I would like to know if we can program on-board flash using GDB
> with a Multi-ICE unit from ARM?
Yes. The easiest thing to do is to write a small program that
can burn flash, link it together with the data you want
programmed, download the lot into RAM, and run it.
--
Grant Edwards
grante@visi.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Réf. : Re: Flash programming using GDB with ARM Multi-ICE
2002-08-06 13:25 Réf. : Re: Flash programming using GDB with ARM Multi-ICE jimmy.gendron
@ 2002-08-06 13:34 ` Grant Edwards
0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2002-08-06 13:34 UTC (permalink / raw)
To: jimmy.gendron; +Cc: gdb
On Tue, Aug 06, 2002 at 04:24:57PM -0400, jimmy.gendron@telus.com wrote:
> If i understand:
>
> 1. Write a "stub" to initiate memory map
>
> 2. Write I/O routines to copy image to be burned from host to target RAM
> (through DCC)
I don't do step 2 in my app. (I don't know what DCC is, either...)
I link my app with the image to be burned. To my app, the
image to be burned is just a section of memory containing
bytes. My linker script makes the starting/ending addresses of
that image section visible so my app knows where the image data
is in RAM. The linker creates a single application image that
contains the flash burning program as well as a copy of
whatever is to be burned into flash.
> 3. Copy from RAM to flash
That's what my little app does.
> The run that using GDB/Multi-ICE and everything should work.
>
> Am i right? Are you aware of an available library for that?
I don't know of any. Burning flash is usually fairly simple,
but it varies slightly from one flash vendor to another and
even from one board layout to another.
--
Grant Edwards
grante@visi.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-06 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-06 13:25 Réf. : Re: Flash programming using GDB with ARM Multi-ICE jimmy.gendron
2002-08-06 13:34 ` Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox