1 / 16

SAM9263-EK RevB WinCE 6.0 DEMO (All-in-NAND)

SAM9263-EK RevB WinCE 6.0 DEMO (All-in-NAND). AT91 SAM9 Product Group. Version 1.1 May 2008. AT91SAM9263-EK WinCE Demo. The WinCE demo has been developed to run out the NandFlash device on the AT91SAM9263-EK. The warning below concerns only the AT91SAM9263-EK Kit BOM 007.

whitby
Download Presentation

SAM9263-EK RevB WinCE 6.0 DEMO (All-in-NAND)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SAM9263-EK RevBWinCE 6.0 DEMO(All-in-NAND) AT91 SAM9 Product Group. Version 1.1 May2008

  2. AT91SAM9263-EK WinCE Demo • The WinCE demo has been developed to run out the NandFlash device on the AT91SAM9263-EK. • The warning below concerns only the AT91SAM9263-EK Kit BOM 007. • The Kit BOM Revision is mentioned on a sticker on the top left corner of the box • For more details on Kit identification please refer to the AT91SAM9263-EK revB User guide available on ATMEL web site.

  3. AT91SAM9263-EK WinCE Demo • WARNING • Because of perturbations of the chip select line of the NAND Flash, the user might face access errors when reading or writing the NAND Flash. • How to fix the issue? • Solution 1 (Figure 1) • replacing the resistor R139 (0 ohm) by a 470 Ohm resistor • replacing the resistor R33 (470K Ohms) by a 100pF capacitor • Solution 2 (Figure 2) • Tying the chip select line to the ground can be an acceptable workaround. This can be achieved simply by connecting together the pin 2 of J29 and the pin 30 of J23. All the operating modes of the NAND Flash are not supported with this fix, as the accesses are controlled only with NANDOE and NANDWE. In particular, the standby modes are not functional. • How can I prevent this issue on my own design? • To prevent any risk occurrence of such an issue on your design using the AT91SAM9263, it is recommended to perform signal integrity analysis of the routing by using the IBIS model provided on the Atmel Web site

  4. Figure 1 R33 J23 Figure 2 AT91SAM9263-EK WinCE Demo J29

  5. SAM9263-EK Boot Solutions • Jumper J5 (Boot Mode Select) allows to select the Boot Mode of the AT91SAM9263-EK • J5 Opened, the AT91SAM9263 boots from the on-chip Boot ROM • The on-chip Boot ROM Memory integrates different programs permitting download and/or upload into the different memories of the product • First, it initializes the DBGU and the USB Device Port. • Then the Nandflash Boot program is executed. If a valid boot is found, the code is downloaded into the internal SRAM. This is followed by a remap and a jump to the first address of the SRAM. • If no valid ARM vector sequence is found, SAMBA™ Boot is then executed. It waits for transactions either on the USB device, or on the DBGU serial port. Then, user can use SAM-BA GUI to download binary file into the different memories of the product. • J5 Closed, the AT91SAM9263 boots from the off-chip memory connected to NCS0 (No memory is connected on the EK by default)

  6. SAM9263-EK WinCE Demo • Software requirements • Demo WinCE file including: • Binary Files: FIRSTBOOT.nb0, EBOOT.nb0 & NK.nb0 • AT91ISP V1.9or higherGUI Application installed on your computerNote : As bad block management changed between ISP V1.9 and ISP V1.10, forbid to use ISP V1.10 whether NANDFlash have been erased with ISP V1.9 in the past. • Hardware requirements • SAM9263-EK revB Evaluation Kit • Serial Cross Cable (Female-Female) • USB Device Cable

  7. SAM9263-EK SAM-BA Boot • Install AT91ISP and reboot your computer • J5 Opened, Reset the board • Connect the USB Device Interface (J19) to your PC using the USB Device Cable • Start SAMBA GUI Application • Select theSAM9263-EKand chooseUSB Connection

  8. Download FIRSTBOOT.nb0 in NandFlash with SAM-BA • Select NandFlash tab • J29 closed, Choose NandFlash Init in scripts rolling menu and press Execute • Choose NandFlash Send Boot File in scripts rolling menu and press Execute • SelectAll Filestype in the Openwindow. • Choose file named FIRSTBOOT-NandFlash.nb0 and press Open. 1°- NandFlash Init 2°- NandFlash Send Boot File

  9. Download EBOOT.nb0 in NandFlash with SAM-BA • Press onSend File Name Browsebutton • Choose file named EBOOT.nb0and pressOpen. • Enter “0x20000” inInternal Addresstext field • PressSend Filebutton EBOOT.nb0 NandFlash internal address 0x20000

  10. Download WinCE Demo (NK.nb0) in NandFlash with SAM-BA • Press onSend File Name Browsebutton • Choose file named NK.nb0 and press Open. • Enter “0x80000” inInternal Addresstext field • PressSend Filebutton • Wait a while… NK.nb0 NandFlash internal address 0x80000

  11. Configure WinCE Boot: EBOOT • Close SAMBA, remove USB cable • Connect the Serial Debug Port (J14) to your PC using the Serial Cross Cable • Start an hyperterminal session on your PC with settings: • 115200 8-N-1, no flow control, emulation ANSI. • Reset the board • Press “Space” key when the message“Initiating image launch in 5 seconds”is displayed to stop booting, the following Default Menu is then displayed

  12. Configure WinCE Boot: EBOOT 0) Mac address .......... (00:12:72:72:20:20) 1) Ip address ........... (192.168.111.115) 2) Subnet Mask address .. (255.255.255.0) 3) DHCP ................. (Enabled) 4) Boot delay (seconds).. (5) 5) Frequency settings ... (core at 180, bus divider 2) 6) Download device....... (Ethernet) 7) Debug device.......... (Ethernet (EMACB)) 8) Download image to..... (SDRAM) 9) Download new image at startup l) Launch flash resident image now d) Download from Ethernet now s) Save configuration now r) Restore default configuration and save now n) Image flash menu

  13. Configure WinCE Boot: EBOOT • Select option “3” and “9” • The following menu is then displayed: • 0) Mac address .......... (00:12:72:72:20:20) • 1) Ip address ........... (192.168.111.115) • 2) Subnet Mask address .. (255.255.255.0) • 3) DHCP ................. (Disabled) • 4) Boot delay (seconds).. (5) • 5) Frequency settings ... (core at 180, bus divider 2) • 6) Download device....... (Ethernet) • 7) Debug device.......... (Ethernet (EMACB)) • 8) Download image to..... (SDRAM) • 9) Launch existing flash resident image at startup • l) Launch flash resident image now • d) Download from Ethernet now • s) Save configuration now • r) Restore default configuration and save now • n) Image flash menu

  14. Configure WinCE Boot: EBOOT • Select option “5” and set the following settings: • Enter new Core Frequency (old frequency is 180 MHz) 240(Press Return) • Enter new Bus divider (old divider is 2) 2(Press Return) • The following menu is then displayed: • 0) Mac address .......... (00:12:72:72:20:20) • 1) Ip address ........... (192.168.111.115) • 2) Subnet Mask address .. (255.255.255.0) • 3) DHCP ................. (Disabled) • 4) Boot delay (seconds).. (5) • 5) Frequency settings ... (core at 240, bus divider 2) • 6) Download device....... (Ethernet) • 7) Debug device.......... (Ethernet (EMACB)) • 8) Download image to..... (SDRAM) • 9) Launch existing flash resident image at startup • l) Launch flash resident image now • d) Download from Ethernet now • s) Save configuration now • r) Restore default configuration and save now • n) Image flash menu

  15. Configure WinCE Boot: EBOOT • Select option n, “Image Flash menu” • The following menu is then displayed: • Nand Flash Menu :1) Erase all sectors2) Enter manually the image parameters3) Quit... • Select option “2” and set the following settings: • Physical Start Address : (0x80059000) : 0x8006c000(Press Return)Starting ip : (0x8005a000) : 0x8006d000(Press Return)Total ROM size : (0x75144c) : 0x0158c800(Press Return) • Reset the board • Select option “3” (in order to come back to the main menu). • Select option “s” • Note : The settings are stored in the NandFlash only when option “s” or option “l” (Launch existing flash resident image now) are selected. Do not reset the board before, your modifications would be lost.

  16. WinCE starts : Touchscreen Calibration • Touch the screen on the cross on the center • Touch the screen on the cross in each corner • Touch the screen once again to end calibration • Once done WinCE 6.0 desktop is screened

More Related