Presentation is loading. Please wait.

Presentation is loading. Please wait.

AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007.

Similar presentations


Presentation on theme: "AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007."— Presentation transcript:

1 AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007

2 - AT91SAM9261 WinCE Demo 2 AT91SAM9261-EK Boot Solutions Jumper J4 (Boot Mode Select) allows to select the Boot Mode of the AT91SAM9261-EK  J4 Opened, the AT91SAM9261 boots from the on-chip Boot ROM -The 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 DataFlash Boot program is executed. It looks for a sequence of eight valid ARM exception vectors in a DataFlash connected to the SPI. If a valid sequence is found, 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.  J4 Closed, the AT91SAM9261 boots from the off-chip memory connected to NCS0 (No memory is connected on the EK by default)

3 - AT91SAM9261 WinCE Demo 3 J4: Boot Mode Select (BMS) J21: Position 1-2 For DataFlash Access J19: USB Device Interface J15: DBGU 5V Power Supply AT91SAM9261-EK Reset Button

4 - AT91SAM9261 WinCE Demo 4 AT91SAM9261-EK WinCE Demo Software requirements  Demo WinCE.zip file including: -Binary Files: BootRam.nb0, EBOOT.nb0 & NK.nb0  AT91 ISP 1.8 Application installed on your PC  Microsoft ActiveSync  The Core Pocket Media Player (TCPMP) Hardware requirements  5V Power supply  AT91SAM9261-EK Evaluation Kit  Serial Cross Cable (Female-Female)  USB Cable

5 - AT91SAM9261 WinCE Demo 5 AT91SAM9261-EK SAM-BA Boot Remove DataFlash Jumper (J21) Power up the board Connect the USB Device Interface (J19) to your PC using the USB Cable If it is the first time an AT91 chip is connected to the PC:  New Hardware detected

6 - AT91SAM9261 WinCE Demo 6 AT91SAM9261 USB Device Detection (Only the 1st time an AT91 chip is connected to the PC !) Hardware Wizard tool launched (1)  Select “Yes, this time only” Software installation (2)  Select “Install the software automatically (Recommended)” 1 2

7 - AT91SAM9261 WinCE Demo 7 AT91SAM9261 USB Device Installation (Only the 1st time an AT91 chip is connected to the PC !) Searching for driver (1) Windows logo testing (2)  Select “Continue Anyway” Installation finished (3) 1 2 3

8 - AT91SAM9261 WinCE Demo 8 AT91SAM9261-EK SAM-BA Boot Start SAM-BA GUI Application Choose USB Connection (1) and select the AT91SAM9261-EK (2) Click on “Connect” (3) Plug DataFlash Jumper (J21) back in position 1-2 1 2 3

9 - AT91SAM9261 WinCE Demo 9 Download DataFlashBoot in DataFlash with SAM-BA Select DataFlash AT45DB/DCB tab (1) Choose Enable Dataflash on CS0 (2) in scripts rolling menu and press Execute (3) 1 2 3

10 - AT91SAM9261 WinCE Demo 10 Download BootRam.nb0 in DataFlash with SAM-BA Choose Send BOOT File (1) in scripts rolling menu and press Execute (2) Select file named BootRam.nb0 and press Open. 1 2

11 - AT91SAM9261 WinCE Demo 11 Download EBoot.nb0 in DataFlash with SAM-BA Enter “0x5000” in Internal Address text field (1) Press on Send File Name Browse button (2) Choose EBOOT.nb0 and press Open Press Send File button (3) 1 2 3

12 - AT91SAM9261 WinCE Demo 12 Download WinCE Demo (NK.nb0) in NandFlash with SAM-BA Select NandFlash tab (1) Choose NandFlash Init (2) in scripts rolling menu and press Execute (3) 1 23

13 - AT91SAM9261 WinCE Demo 13 Download WinCE Demo (NK.nb0) in NandFlash with SAM-BA Press on Send File Name Browse button (1) Choose file named NK.nb0 and press Open. Take few seconds. Press Send File (2) button (this will take a few moment): WinCE has been stored in NandFlash Close SAMBA, remove USB cable 1 2

14 - AT91SAM9261 WinCE Demo 14 Connect the Serial Debug Port (J15) to your PC using the Serial Cross Cable Start an hyperterminal session on your PC with settings:  115200 8-N-1 Reset the board Press “Space” key when the message “Initiating image launch in x seconds” is displayed to stop booting, the following Menu is then displayed 0) Mac address.......... (00:12:72:72:20:20) 1) Ip address........... (10.159.245.179) 2) Subnet Mask address..(255.255.254.0) 3) DHCP................. (Enabled) 4) Boot delay (seconds).. (5) 5) Frequency settings... (core at 200, bus divider 4) 6) Download image to SDRAM 7) 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 Configure WinCE Boot: EBOOT

15 - AT91SAM9261 WinCE Demo 15 Configure WinCE Boot: EBOOT Select option “3” and “7” The following menu is then displayed: 0) Mac address.......... (00:12:72:72:20:20) 1) Ip address........... (10.159.245.179) 2) Subnet Mask address.. (255.255.254.0) 3) DHCP................. (Disabled) 4) Boot delay (seconds).. (5) 5) Frequency settings... (core at 200, bus divider 4) 6) Download image to SDRAM 7) 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

16 - AT91SAM9261 WinCE Demo 16 Configure WinCE Boot: EBOOT In hyperterminal menu  Select option “5” to setup ARM and bus frequency according to audio frequency -Enter new Core Frequency (old frequency is 200 MHz) 181 -Enter new Bus divider (old divider is 4) 2 -The audio frequency is 44100KHz -F = 44100KHz * 256*2^X or F = 44100Khz *384*2^X (refer to audio codec dataheet) -The values allowed are 181 MHz, 135 MHz, 90 MHz, 67MHz, 45 MHz,…  Select option n, “Nand Flash menu”:  The following menu is then displayed: -Nand Flash Menu : 1) Erase all sectors 2) Enter manually the image parameters 3) Quit...  Select option “2” and set the following settings: -Physical Start Address : (0x80059000) : 0x80069000 (Press Return) Starting ip : (0x8005a000) : 0x8006a000 (Press Return) Total ROM size : (0x75144c) : 0x0114d950

17 - AT91SAM9261 WinCE Demo 17 Start WinCE Reset the board to start WinCE. After the first reset, the WinCE kernel formats the NandFlash. This operation can take several minutes. Do not reset the board until the end of the format process (the calibration screen is displayed). WinCE is running: makes calibration if needed and after, click on the touch screen to enter Windows CE To save the touch screen parameters, enter the suspend mode and restart the board.

18 - AT91SAM9261 WinCE Demo 18 Install Microsoft ActiveSync Microsoft ActiveSync is a synchronization software for Windows Mobile powered Pocket PCs and Smartphones  http://www.microsoft.com/windowsmobile/downloads/acti vesync41.mspx Download and install ActiveSync on your PC Start WinCE and Connect the on-board USB device to the PC

19 - AT91SAM9261 WinCE Demo 19 Install Microsoft ActiveSync Once the connection is established, a “mobile device” directory should appear on your desktop PC Don’t create any partnerships

20 - AT91SAM9261 WinCE Demo 20 Install Microsoft ActiveSync Now you can browse, copy files from/to your PC to/from the board : do it with the “Demo Files directory” For more information, please refer to ActiveSync documentation Windows Media Player allows you to play audio or video files stored in NandFlash via ActiveSync.

21 - AT91SAM9261 WinCE Demo 21 How to install TCPMP on Windows CE The Core Pocket Media Player is an open-source media player for Windows CE based devices.  Install the last TCPMP for PocketPC from the PC  Connect your AT91SAM9261-EK to your PC via USB  Just follow the instructions provided by the installer on your PC and on the target  The installer allows to install TCPMP on the Main memory or NandFlash. TCPMP is ready to use.

22 - AT91SAM9261 WinCE Demo 22 Mounting a SD/MMC Card SD/MMC Card insertion is not automatically detected Plug the SD/MMC Card in the DataFlash Card Interface (J22) Start windows explorer by clicking My device icon on desktop In the directory Windows/Programs start the FlashLoader Application Select Plugged SD/MMC Card Close the FlashLoader Application The SD/MMC Card has been mounted and is now available You can store jpeg files on the SD/MMC Card and display the pictures with “Image viewer” Application


Download ppt "AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007."

Similar presentations


Ads by Google