[ECOS] RedBoot ROM monitor causes DMA errors!!

Jürgen Lambrecht J.Lambrecht@televic.com
Wed Jun 25 17:17:00 GMT 2008


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



More information about the Ecos-discuss mailing list