public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Jürgen Lambrecht" <J.Lambrecht@televic.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] RedBoot ROM monitor causes DMA errors!!
Date: Wed, 25 Jun 2008 17:17:00 -0000	[thread overview]
Message-ID: <4862684C.3060703@televic.com> (raw)

Hello,

My DMA problems with the AT91 EMAC Ethernet driver are solved (cf. 
http://ecos.sourceware.org/ml/ecos-discuss/2008-06/msg00135.html).

The problems are caused by the RedBoot ROM monitor:
=> a RAM application has DMA problems (RX Overrun in EMAC Ethernet HW 
block in AT91SAM9260)
=> a "JTAGRAM" application works fine
(JTAGRAM: initializes the VVT, so does not use/need a ROM monitor - from 
my build script:
  cdl_option CYGSEM_HAL_USE_ROM_MONITOR {
      user_value 0 0
  };

  # cdl_option CYGSEM_HAL_VIRTUAL_VECTOR_INIT_WHOLE_TABLE {
  #     user_value 1
  #     # Default value:  CYG_HAL_STARTUP != "RAM" || 
!CYGSEM_HAL_USE_ROM_MONITOR
  #     # option CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_DEFAULT
  #     #     ActiveIf: !CYGSEM_HAL_VIRTUAL_VECTOR_INIT_WHOLE_TABLE
  #     # Requires: CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_RESET
  #     # Requires: CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_DELAY_US
  #     # Requires: CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_CACHE
  #     # Requires: CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_DATA
  #     # Requires: CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_COMMS
  # }; default with rom monitor to 0

  cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {
      user_value 0
  };
)

Does anybody know why??
I am not debugging with gdb. I am only connected to the board with a 
serial port to see the diag_printf's.
This is the startup procedure: Redboot ROM does 'fis load application; go;'

Kind regards,
Jürgen


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

             reply	other threads:[~2008-06-25 15:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 17:17 Jürgen Lambrecht [this message]
2008-07-08 15:26 ` Jürgen Lambrecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4862684C.3060703@televic.com \
    --to=j.lambrecht@televic.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).