From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Franks Date: Sun, 30 Sep 2007 14:33:15 -0500 Subject: [U-Boot-Users] Q) Anyone know how to debug u-boot on AT91SMA9263-EK using J-Link from Segger? Message-ID: <46FFF9FB.4060900@uson.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Does anyone have a recipe for debugging u-boot on AT91SAM9263-EK target? Our proprietary board is very similar, but can't see what goes wrong. Atmel has a bootstrap that inits SDRAM, and loads u-boot image from Flash device into SDRAM. It jumps to the proper address in the SDRAM and dies. All we have to debug is J-Link from Segger along gdbserver from Segger which is an application that runs on Windows and talks via Usb to the J-Link Pod. We can talk to Windows as if it were gdbserver from a Linux host. The bootup sequence provided by Atmel looks different from u-boot in that u-boot does not move itself into SDRAM, this is done by the Atmel bootstrap. Don't know how to init SDRAM from J-Link. Has anyone done that? --jlf