public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] deleting fom fis directory
@ 2004-07-26 19:01 fazio
  2004-07-26 20:15 ` [ECOS] Beginner question - What do I need to debug my Flash Redboot Image Krishna Ganugapati
  0 siblings, 1 reply; 2+ messages in thread
From: fazio @ 2004-07-26 19:01 UTC (permalink / raw)
  To: ecos-discuss

Hi,
I wrote a server application able to listen for a connection from a client that can send 
a file to upload on the board. After receiving the file and copying it in flash and 
changing the fconfig, it reboots the platform executing the new application that must 
delete the old. 
It can delete the flash, but when it has to delete the image from fis directory, the 
flash_program gives an error ("Driver timed out waiting for device"). 
My problem is: I would to delete the piece of fis directory containing the old apllication 
info (flash_base, lenght, checksum,...) but I'm executing another application in the 
flash. 
I cannot erase the fis dir block because I'm executing another application, so how can 
I delete only a piece of the fis dir?


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] Beginner question - What do I need to debug my Flash Redboot Image
  2004-07-26 19:01 [ECOS] deleting fom fis directory fazio
@ 2004-07-26 20:15 ` Krishna Ganugapati
  0 siblings, 0 replies; 2+ messages in thread
From: Krishna Ganugapati @ 2004-07-26 20:15 UTC (permalink / raw)
  To: ecos-discuss

Hello all,

I received our custom IXP425 board. I successfully built the IXP425
Development Board version of Redboot. I could then successfully download my
Redboot ROM image to the Flash through Macraigor's Flash Programmer through
the JTAG port. I can look at the target flash memory and it all looks good.
Flash memory is at 50000000 which is the right place for it to be in the
IXP425 normal mode

I then use the Macraigor OCD Commander and can reset the board and when it
comes up it is at PC=00000000 - dumping PC indicates that the Flash has been
correctly relocated at 00000000 for bootup mode so everything is looking
good.

Here is where my problems begin:

a) When I single step the board, it jumps through 0000a0e0 - which is
somewhere in redboot/parse.c - this looks pretty bad, because I'd expect it
to single step through to till I reach the beginning of the reset_vector
function

b) My question: what tools would the list recommend to debug Redboot in
Flash.The OCD Commander is a very minimal utility and is of no real help.
OCD gives me cryptic messages with target bus errors, but is of not much
help. worse case scenario is that the SDRAM is incorrectly set up..

c) I browsed the list for debugging aids but they're mostly about debugging
embedded images once Redboot is up and running.

Thanks for any help..

Krishna  (at my wits end)




-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-26 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-26 19:01 [ECOS] deleting fom fis directory fazio
2004-07-26 20:15 ` [ECOS] Beginner question - What do I need to debug my Flash Redboot Image Krishna Ganugapati

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).