public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] FW: Adding flash device using the flash v2 drivers
@ 2008-12-19 14:32 Alex Lindeijer
  2008-12-19 15:10 ` Andrew Lunn
  2008-12-19 15:25 ` [ECOS] FW: Adding flash device using the flash v2 drivers Gary Thomas
  0 siblings, 2 replies; 9+ messages in thread
From: Alex Lindeijer @ 2008-12-19 14:32 UTC (permalink / raw)
  To: ecos-discuss


Hi
We have a controller card with a MPC8541 on it and a spansion S29GL512
flash. We used the Python eval board from A&M to start the ecos based
development. The ecos supplied was base don the legacy v1 flash drivers.
We are experiencing some verification problems on certain higher
addresses when accessing it from our application but everything is OK
when writing to flash from Redboot.
Therefore I wanted to tryt he v2 flasher driver to see whether that
makes a difference.. It seems I have (almost) everything in place but
get at startup

ASSERT FAIL: <4>flash.c[231]cyg_flash_init() incorrect number of flash
devices

Question is now: how do I add the flash device to the cyg_flashdevtab? I
suppose I have to do this in the board specific python.c under
devs/flash/....

When adding an extra ethernet port it was quit clear how to add it to
the netdevtab using the NETDEVTAB_ENTRY macro. Is there something
similar for adding a flash device?


And: can I run flash v2 in my applicattion and the legacy in my
redboot(ROMRAM)?


Thanks in advance
Alex Lindeijer
3D Perception - Senior System Designer


--
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] 9+ messages in thread

end of thread, other threads:[~2009-04-07 13:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-19 14:32 [ECOS] FW: Adding flash device using the flash v2 drivers Alex Lindeijer
2008-12-19 15:10 ` Andrew Lunn
2008-12-19 19:28   ` Alex Lindeijer
2008-12-22 22:54     ` Alex Lindeijer
2008-12-22 23:29       ` Andrew Lunn
2008-12-22 23:38         ` Alex Lindeijer
2009-04-07 14:01         ` [ECOS] DHCP fails after bringing it up and down twice Alex Lindeijer
2008-12-19 15:25 ` [ECOS] FW: Adding flash device using the flash v2 drivers Gary Thomas
2008-12-20  3:17   ` Alex Lindeijer

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).