Hi,
I have problems getting CE 6.0 to boot using the new free full source BSP for the AT91SAM9263-EK board.
If I use the provided binary FIRSTBOOT-NandFlash.nb0 OR FIRSTBOOT-SPI_DataFlash.nb0 in combination with the provided binary EBOOT.nb0 I get the following serial debug output when I try to Attach to the device in platform builder (VS2005):
Quote:
...
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Packet has the following data:
boot.bin[NULL]octet[NULL]
TFTP packet could have 1 name/value pairs
Locked Down Link 1
Src IP 172.16.20.145 Port 03D4 Dest IP 172.16.20.163 Port 0A79
Default TFTP block size set to: 512 bytes
There were no options detected in the TFTP
EthDown::TFTPD_OPEN::boot.bin
-EbootSendBootmeAndWaitForTftp
BL_IMAGE_TYPE_BIN
XXX!CheckUDP: Not UDP (proto = 0x00000001)
The "Windows CE Debug" output is:
Quote:
PB Debugger Cannot initialize the Kernel Debugger.
PB Debugger Debugger could not initialize connection.
PB Debugger The Kernel Debugger is waiting to connect with target.
PB Debugger The Kernel Debugger has been disconnected successfully.
I have tried different ethernet configurations between host and client (DHCP / static) as well as different CAT5 cables. I could get the earlier binary BSP to work on the board so the HW should be fine.
One thing that I am a bit curious about is the "> KITL configuration" instruction on page 6 in the "AT91SAM9263EK CE6.0 Install Notes v1.3.0 B.pdf" that comes with the source BSP package.
The binary BSP did not allow fir this selection according the the document but I have not found anywhere to make the selection in the full source version either. I have made sure not to check the "<Catalog>/Third Party/BSP/AT91SAM9263EK/Device Drivers/Ethernet/Ethernet Driver" and in the PB "Connectivity Options" I have selected Ethernet for both download and transport. Also there is a "<Catalog>/Third Party/BSP/AT91SAM9263EK/Ethernet bootloader" entry where I have selected the appropriate option (dataflash or nandflash depending on attempted setup), but as I understand this option only affects how the "firstboot.x" and "eboot.x" are compiled (?). Is there any other place (affecting the OS build) where I have to make a choice between "KITL on Ethernet" or "KITL on Serial" as the last bullet on page 6 suggests? If so, where?
I have also tried to flash the "firstboot.nb0" and "eboot.nb0" that is compiled by PB. The firstboot.nb0 hangs the system right away (no output after "ROMBoot>", but it runs something since the system is unresponsive to SAM-BA), If I use the provided binary FIRSTBOOT-SPI_DataFlash.nb0 and a compiled eboot.nb0 I get to the eboot menu but this version hangs after DHCP_INIT:
Quote:
...
->Enter in AT91F_EMACInit
Found Phy (DM9161A) at address 0
CONTROL REG : 0x3100
STATUS REG : 0x7869
CONTROL REG : 0x3100
STATUS REG : 0x786d
EMAC Init : 100 Mbit/s FULL DUPLEX (RMII)
EDBG:AT91Init Reading MAC address 0x1200 0x7272 0x2020
INFO: EMACB Ethernet controller initialized.
InitDHCP():: Calling ProcessDHCP()
ProcessDHCP()::DHCP_INIT
The FIRSTBOOT-NandFlash.nb0 together with a compiled eboot.nb0 on the other hand complains about some unrecognized flash memory.
Quote:
>RomBOOT
>
INFO : Low Level Init : OK
Init Nand flash
Starting eboot ...
ÿTarget processor Frequency is ÿÿÿ MHz
Target Bus Frequency is ÿÿ MHz
Prescaler is ÿ
Target PLL A Frequency is ÿÿÿ MHz
PLLA_Divider ÿ
PLLA_Multiplier ÿÿ
ÿMaster Clock isbug serial initialized ........OK
Microsoft Windows CE Bootloader Common Library Version 1.4 Built Mar 9 2009 08:
48:01
Microsoft Windows CE 6.0 Ethernet Bootloader for the AT91SAM926xEK board
bug serial initialized ........OK 2007
+AT91SAM926x_InitSystemTimer : period 200
Master Clock is 49921225 Hz
Master Clock is 49921225 Hz
---------------------------------------
--- Configuring Chip Select 3 ---
---------------------------------------
--- Desired timings ---
---------------------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 28
dwNCS_WR_PULSE 60
dwNRD_PULSE 28
dwNCS_RD_PULSE 60
dwNRD_CYCLE 56
dwNWE_CYCLE 56
dwClockPeriod_ns 20
---------------------------------------
--- Real timings ---
---------------------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 40
dwNCS_WR_PULSE 60
dwNRD_PULSE 40
dwNCS_RD_PULSE 60
dwNRD_CYCLE 60
dwNWE_CYCLE 60
Unknown flash device : Manufacturer 0x2c - Model 0xda
A lot of dead ends. Any help would be appriciated.
Regards
/Daniel Lindqvist