Home
MYD-SAMA5D3X User Manual
Contents
1. 0 00300010 Ox34D1A951 OxE821DB10 Ox2CFF7AEB 0x819A7091 0x00300020 0x05B04910 OxD2D06583 OxBC4E4967 OxFB9BFOS9D 0x00300030 0x804531B4 OxFC2A8002 OxABASC4F6 0 055 5 6 LEA LEN Awerazante at91sama5d3x Memory Display s t Address 0300000 Refresh Display format Applet treces on DBGU Size in byte s 400 ascii C 8 bit C 16 bit 32 bit as Apply 0x00300000 0x00000004 0x50BCC529 0x5D85258F 0xE2695B1D 3 I m DDRAM DataFlash AT45DB DCB EEPROM 24 S NorFlash One wire EEPROM SRAM SerialFlash AT25 AT26 Download Upload File Send File Receive File Address Size For Receive File 0x1000 byte s Send File Compare sent file with memory Scripts Enable NandFlash 52 mecc configuration rub NandFlash sare Figure 3 6 28 Board at91samaSd3x ek MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real MYD SAMA5D3X User Manual 1 Select Enable NandFlash in Scripts tab and then click Execute to Enable NandFlash Refer to figure 3 7 File Script File at91sama5d3x Memory Display Start Address 0300000 Refresh D sPlay format a ascii C 8 bit C 16 bit 6 32 bit 0 00300000 0 00000004 0 50
2. OxE2695B1D 0x819A7091 OxFB9BFOSD 0 055 5 6 Apply traces DBGU DDRAM DataFlash AT45DB DCB EEPROM AT24 gt NandFlash NorFlash OTP One wire EEPROM SRAM SerialFlash AT25 AT26 Download Upload File Send File D SAMASD3X Android demo image Android 4 0 4 r2 1 s Receive File Name Address DxX0 Sige For Receive File 04000 byte s i EUM blocks batch 5 I Erasing blocks batch 6 Erasing blocks batch 7 sam ba 2 12 1 NANDFLASH SendBootFilePmecc Sending boot file done sam ba 2 12 1 96 Figure 4 10 66 MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real User Manual m at91sama5d3xek nandflashboot android dt 3 5 Figure 4 11 7 Download u boot bin to 0x40000 Refer to figure 4 12 C ascii C 8 bit C 16 bit 32 bit 0 00300000 0x00000004 OxSOBCC529 0 5085258 OxE2695B1D 0 00300010 0 3401 951 OxE821DB10 Ox2CFF7AEB 0 819 7091 0x00300020 0 05804910 OxD2D06583 OxBC4E4967 OxFB9BFOS9D 0x00300030 0x804531B4 OxFC2A8002 OxABASC4F6 0 055 5 6 DDRAM DataFlash ATASDB DCB EEPROM AT
3. _ Awerneante DDRAM DataFlash ATASDB DCB EEPROM AT24 NandFlash NorFlash OTP One wire EEPROM SRAM SerialFlash AT25 AT26 Download Upload File Send File D SAMASD3X Linux image sama5d34ek dtb c Receive File 8 p perii ec Scripts Send Boot File 1 2 12 1 7o Seri UXLOUUUU U F Send File D SAMASD3X Linux image samaS5d34ek dtb at address 0 180000 GENERIC SendFile D SAMASD3X Linux image sama5d34ek dtb at address 0x180000 I File size 0 50 3 byte s PE Writing 0x50F3 bytes at 0x180000 buffer addr 0x2001052C E 0x20000 bytes written by applet sam ba 2 12 1 Figure 3 14 33 MYIR TECH LIMITED www myirtech com Make Your Idea Real Download Linux kernel ulmage to 0x0020 0000 Refer to figure 3 15 and figure 3 16 Look in em Name pe Date modified _ rootfs ubi sama5d3x_demo_linux_nandflash tcl sama5d3xek_demo_linux_nandflash sama5d3xek_demo_linux_nandflash tcl sama5d3lek dtb sama5d33ek dtb sama5d34ek dtb sama5d35ek dtb TempWmicBatchFile _ u boot bin _ ubootEnvtFileNandFlash bin 6 6 2013 10 57 AM 5 28 2013 11 15 AM 1 31 201
4. Size 0400 00 C ascii C 8 bit C 16 bit 32 bit 0 00300000 0 00000004 OxS50BCC529 0 5085258 OxE2695B1D 0 00300010 0 3401 951 0 8210810 Ox2CFF7AEB 0 81947091 0 00300020 0x05B04910 OxD2D06583 OxBC4E4967 OxFB9BFO9D 0 00300030 0 80453184 OxFC2A8002 OxABASC4F6 0 055 5 6 n 0n02nnna4n DDRAM DataFlash AT45DB DCB EEPROM AT24 NandFlash NorFlash One wire EEPROM SRAM SerialFlash AT25 AT26 Size For Receive File 01000 byte s Compare sent file with memory Execute UXZUUUU DYLES UXFUUUU UXZUULUDZL 0x20000 bytes written by applet Writing 0x20000 bytes at 0x60000 buffer addr 0x2001052C 0x20000 bytes written by applet Writing bytes at 0x80000 buffer addr 0x2001052C Ox8FCC bytes written by applet sam ba 2 12 1 Figure 3 13 C Download sama5d3xek dtb to 0x0018 0000 Refer to figure 3 14 0x00300000 0 00000004 OxSOBCC529 0 5085258 OxE2695B1D 0x00300010 0 34011951 OxE821DB10 Ox2CFF7AEB 0 81947091 0x00300020 0x05B04910 0xD2D06583 OxBC4E4967 OxFB9BFO9D 0x00300030 0x804531B4 OxFC2A8002 OxABA9C4F6 0 055 5 6 Display format Applet traces on DBGU ascii 8 bit 16 bit 32 bit infos Y Apply 3 Onnan
5. Make Your Idea Real MYD SAMA5D3X User Manual MYD SAMA5D3X User Manual Version V1 3 MYIR TECH LIMITED www myirtech com Y Make Your Idea Real MYD SAMA5D3X User Manual Version History V1 0 Initial Version 2013 05 Simplify part details Modify the section 4 5 and 5 4 V1 1 2013 08 part of the compiler command V1 2 Correct mistakes Add 7 0 inch LCD s support 2013 08 Updating 256MB DDR2 support features Updating kernel compiling method V1 3 Updating images and sources path 2013 09 Correct mistakes Remove Chapter 3 MDK Example Code MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Directory Bj 1 Chapter 1 Prod ct o 1 1 1 Product Descriptio 1 1 2 14 Product 5 Chapter 2 Hardware Resource Introduction 6 2 1 CPU module Base Board Resources Overview 6 2 2 CPU module Introduction erret ade etsi epis 7 2 2 1 CPU module architecture and CPU 7 2 REL 8 2 2 9 Sarial DATAFLAS H 9 2 2 4 NORFLASH amp 10 22 5 ETHERNET Mod ler ttem M DV 11 2 3 Bas
6. Address 00 Size For Receive File 051000 byte s Scripts Enable OS PMECC parameters F Buffer address 0x2001052C Buffer size 0x20000 bytes I Applet initialization done Figure 3 8 3 Select Erase All in Scripts tab then click Execute Erase NandFlash Refer to figure 3 9 File Script File at91sama5d3x Memory Display Start Address 0300000 Refresh Size in 04000 00 ascii C 8 bit C 16 bit 32 bit 0 00300000 0 00000004 Ox50BCC529 0 5085258 OxE2695B1D 0 00300010 0 34014951 OxE821DB10 Ox2CFF7AEB 0x819A7091 0x00300020 0 05804910 OxD2D06583 0 4 4967 OxFB9BFOSD 0 00300030 0x804531B4 OxFC2A8002 OxABASC4F6 0 055 5 6 DDRAM DataFlash ATASDB DCB EEPROM AT24 NandFlash NorFlash One wire EEPROM SRAM SerialFlash AT25 AT26 Download Upload File Send File Name Receive File Name Address X0 Size For Receive 01000 byte s Compare sent file with memory 2 12 1 Yo NANUPLASN MEAVER UXCUCUUSUD Ecc type is 2 Ecc Status is 2 F Configure trimffs 0 c0902405 to be Configured Pmecc header configration successful PMECC configure
7. E AX B s 4 LU NAR piu WZ ce AS x i 8 SW RM AA 2301 gesgeegeg 5 Che Chip 900 ut 4 ec 150 TAI L os en T 5 n icu Lt T DE mule 2 121 69 R118 m wes i 1 om ard aS pe pem lx pm 7 2 Aa REL Figure 2 16 2 3 11 USART Module amp DBUG USART Module interface is shown in figure 2 17 21 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMABD3X User Manual oT PARRA Figure 2 17 2 4 Jumper Setting Enable DataFlash on CPU jet 298795102 Disable DataFlash CPU module module JP2 OFF Boot from external Memory Boot from ROM JP3 ON RXD1 signal connection RXD1 signal close JP4 ON CTS1 signal connection CTS1 signal close JP5 ON Power supply Power supply by SHDN signal JP6 ON VBAT power supply VBAT power close 1 2 pin VDDANA power suppl
8. 529 0 5085258 OxE2695B1D 0x00300010 Ox34D1A951 OxE821DB10 Ox2CFF7AEB 0x819A7091 0x00300020 0 05 04910 0 02006583 OxBC4E4967 OxFBSBFOSD 0x00300030 0x804531B4 OxFC2A8002 OxABASC4F6 0 055 5 6 DDRAM DataFlash AT45DB DCB EEPROM 24 NorFlash OTP One wire EEPROM SRAM SerialFlash AT25 AT26 Download Upload File Send File Name Receive File Receive File Address 0 Size ForReceiveFile 0x1000 byte s Compare sent file with memory Scripts NANDFLA2SH F Loading applet applet nandflash sama5Sd3x bin at address 0x20000000 F Memory Size 0x10000000 bytes F Buffer address 0x2001052C F Buffer size 0x20000 bytes F Applet initialization done sam ba 2 12 1 USBserial COM4 Figure 3 7 2 Select Enable OS PMECC parameters in Scripts tab and then click Execute Settings refer to figure 3 8 Note do not select Trimffs 29 MYIR TECH LIMITED www myirtech com e M Y iR Make Your Idea Real MYD SAMA5D3X User Manual SAM BA 2 12 at91sama5d3x ek sj pmecc 7 softwareecc noecc Pmecc boot header configuration Number of sectors per page 4 bd Spare size 64 Size of the ECC sector 12 1024
9. loss Approximate round trip times in milli seconds Minimum ms Maximum ms Average Gms C Documents and Settings Administrator gt ping 192 168 0 2 Pinging 192 168 0 2 with 32 bytes of data 192 168 2 bytes 32 time lt ims TTL 64 192 168 0 2 bytes 32 time lt ims TTL 64 192 168 2 bytes 32 time lt ims TTL 64 Reply from 192 168 0 2 bytes 32 time lt ims TTL 64 Ping statistics for 192 168 0 2 Packets Sent 4 Received 4 Lost z 105529 Approximate round trip times in milli seconds Minimum ms Maximum Average Gms C Documents and Settings Administrator gt pir Hee af Figure 3 18 Ping host in board ping 192 168 0 3 PING 192 168 0 3 192 168 0 3 56 data bytes 64 bytes from 192 168 0 3 0 ttl 128 time 0 801 ms 64 bytes from 192 168 0 3 seq 1 ttl 128 time 0 377 ms 64 bytes from 192 168 0 3 seq 2 ttl 128 time 0 357 ms 64 bytes from 192 168 0 3 seq 3 128 time 0 359 ms 64 bytes from 192 168 0 3 seq 4 ttl 128 time 0 447 ms 47 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 3 7 6 Telnet Test 1 Configure IP IP can allocate designated IP 192 168 1 2 in case ifconfig ethO 192 168 1 2 up 2 Configure Gateway Test connection with the gateway as follows ping 192 168 1 1 PING 192 168 1 1 192 168 1 1 56 data bytes 64 bytes from 192 168 1 1 seq 0 ttl 64 time 16 455 ms 64 bytes from 192 1
10. NUSBseriaN Board at91sama5d3x ek Figure 3 17 3 Finally restart board to boot Linux system normally About the use of Linux in detail please refer to section 3 7 3 3 5 4 3 inch and 7 0 inch LCD configuration Bootstrap uboot kernel and file system for using 4 3 inch and 7 0 inch LCD development board are the same Choose different sizes of LCD just by uboot to the kernel boot parameters of different Icd x If this parameter is not specified the default configuration using a 4 3 inch LCD The following in Linux system for example Product CD directory 02 Images Linux image have been launched parameters configured sama5d3x demo linux flash tcl at related directory respectively is LCD 4 3 console ttyS0 115200 mitdparts atmel_nand 8M bootstrap uboot kernel ro rootfs rw rootfstype ubifs ubi mtd 1 root ubi0 rootfs lcd 480x272 35 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual LCD 7 0 console ttyS0 115200 mtdparts atmel nand 8M bootstrap uboot kernel ro rootfs rw rootfstype ubifs ubi mtd 1 root ubi0 rootfs Icd2800x480 Kernel boot parameters can also be used in the uboot starts to dynamically change change the steps as follows 1 Connection and configured a serial port control terminal restart the development board When the control terminal output Hit any key to stop auto boot 1 fast press the space bar to e
11. 1 Device power supply is shown in figure 2 2 VDDANA 5V 3 07 31 2 vet spo BatteryHoider I 8 612 100nF 11 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual Figure 2 2 2 Push button is shown in figure 2 3 PUSH BUTTON NRST WAKE UP VBAT 3 NRST 3 10 WAKEUP 3 27 39 CS D SABLE 3 Figure 2 3 2 3 2 CAN SAMA5D34 and SAMA5D35 have CAN receive send interface Its key features are as follows WV WV Fully compatible with the ISO 11898 standard High speed up to 1Mbaud Very low Electro Magnetic Emission EME Different receiver with wide common mode range for high Electro Magnetic Immunity EMI An unpowered node does not disturb the bus lines Transmit Data TxD dominant time out function Silent mode in which the transmitter is disabled Bus Pins protected against transients in an automotive environment 12 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual Input levels compatible with 3 3V and 5V devices Thermally protected Short circuit proof to battery and to ground WV At least 110 nodes can connected CAN receive send circuit figure 2 4 VDDIOPO ipm
12. 0902405 sam ba 2 12 1 30 MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real MYD SAMASD3X User Manual Figure 3 9 4 Download boot bin refer to figure 3 10 and 3 11 r at91sama5d3x Memory Display Start Address 0300000 Refresh Size in byte s 0400 C ascii 8 bit C 16 bit 32 bit 0 00300000 0 00000004 0 50 529 0 5085258 OxE2695BiD 0 00300010 Ox34D1A951 OxE821DB10 Ox2CFF7AEB 0x819A7091 0x00300020 0x05B04910 OxD2D06583 OxBC4E4967 OxFBS9BFOSD 0x00300030 0x804531B4 OxFC2A8002 OxABASC4F6 55 5 6 n nn2nnna4n 4 DDRAM DataFlash AT45DB DCB EEPROM AT24 NandFlash NorFlash One wire EEPROM SRAM SerialFlash AT25 AT26 m Download Upload File Send File Name Receive File Name Address 00 Size For Receive File 01000 byte s sam ba 2 12 1 Figure 3 10 u boot bin 5 28 2013 7 14 AM ubootEnvtFileNandFlash bin 6 14 2013 9 42 AM Figure 3 11 31 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMABD3X User Manual 5 Download u boot bin to 0x40000 Refer to figure 3 12 Fe SAM BA 212 at91sama5d3 el File Script File Help r at91sama5d3x Memory Disp
13. 5 5934 4 11 2013 12 23 DTBFi 0 00300000 i Efasilig DOLCI Erasing blocks batch 5 I Erasing blocks batch 6 Erasing blocks batch 7 sam ba_2 12 1 NANDFLASH SendBootFilePmecc Sending boot file done 2 12 1 Figure 4 14 68 MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real MYD SAMASD3X User Manual 10 Download Linux kernel ulmage to 0x0020 0000 Refer to figure 4 15 6 7 20137 31 PM TetD Size in byte s 0d00 4 11 2013 12 23PM DTB Fi 4 11 2013 12 23PM DTB Fi sama5d33ek dtb 4 11 2013 12 23PM _ sama5d33ek_pda dtb 4 11 2013 12 23 PM DTB Fi 0x00300020 sama5d34ek dtb 4 11 20131223 DTBFi 0 00300030 _ sama5d34ek pda dtb 4 11 20312 27 PM DTB Fi _ sama5d35ek dtb 4 11 200312 23 PM DTBFi E system ubifs SAMASD3 ANDROID 40 4 4 11 2013 545 TempWmicBatchFile 6 3 2013 3 28 PM Windo ulmag 4 11 2013 12 21 File 9 userdata ubifs SAMASD3 ANDROID 40 4 11 20135 45PM Disc In 0 00300000 0 00300010 D ulmage Files of type Al Files Cancel Scripts Send Boot File Execute UXiOUUUU U F Send File D SAMASD3X Android demo image An
14. Enable OS PMECC parameters UXZUUUU Uytes WIILLET Uy applet Writing 0 18 58 bytes at 0 4 0000 buffer addr 0x2001052C 0x18F58 bytes written by applet sam ba 2 12 1 NANDFLASH NandHeaderValue HEADER 0 0 00405 F User canceled sam ba 2 12 1 NANDFLASH NandHeaderValue HEADER 0xc0c00405 sam ba 2 12 1 96 Send File Name Receive File Compare sent file with memory 4 USBserial COM4 Board at91sama5d3x ek Figure 4 16 At this point Android system image file download is completed and press K1 Reset key can restart Android system 4 3 5 4 3 inch and 7 0 inch LCD configuration Please refer to 3 3 5 4 3 inch and 7 0 inch LCD configuration Please note that the Android kernel boot parameters are different with the Linux boot parameters the Android kernel boot parameters are LCD_4 3 console ttyS0 115200 console suspend mtdparts atmel nand 8M bootstrap uboot kernel ro rootfs rw rootfstype ubifs ubi mtd 1 root ubi0 rootfs init init cd 480x272 LCD 7 0 console ttyS0 115200 console suspend mtdparts atmel nand 8M bootstrap uboot kernel ro rootfs rw rootfstype ubifs ubi mtd 1 root ubi0 rootts init init 800 480 70 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 4 4 Compile Android System Files This chapter will describe the compiled methods and steps of An
15. JP7 12 2 power SUPPY 2 3 pin DDANA power supply JP8 OFF J8 SD card write protect Disable J8 SD write protect UART2 output 426 as 485 JP9 OFF signal UART2 output at J3 usart Table 2 2 22 MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real MYD SAMA5D3X User Manual Chapter 3 Linux System Guide 3 1 Outline This chapter describes how to run Linux system and embedded Linux applications the process of drive development in development board It includes the development environment to build compile source code image download and Linux application and driver example The default startup is that NandFlash start the initial System Product is Linux system at the factory and the NandFlash content distribution and some analysis are as bellows Root FS UBIFS oxsooooo 00 Linux Kernel 0 200000 0 180000 Device Tree dtb U Boot Env Ox100000 Redundant U Boot Env See U Boot Ox40000 AT91Bootstrap NAND FLASH Figure 3 1 1 Boot Strap After power on system the first class boot program is copied automatically from NandFlash to internal SRAM and begins to implement by CPU The main role is to 23 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real MYD SAMA5D3X User Manual initialize CPU and external RAM and u boot is copied from NandFlash to external RAM and then jump to u boot ent
16. SAM BA console display active Tcl8 5 9 Tk8 5 9 sam ba 2 12 1 96 sam ba 2 12 196 Figure 4 6 3 Select NandFlash tab enable NandFlash in Scripts tab and then click Execute Refer to figure 4 7 File Script File at91 sama5d3x Memory Display Start Address 0300000 Size in byte s a00 5 ascii C 8 bit 16 bit 32 bit 0 00300000 0 00000004 OxDOBCC129 Ox5D95058F OxE2695B1D 0x00300010 Ox34D1A951 0x6821DB10 Ox2CFF72EB 0x819A7091 0x00300020 0 05804910 06183 OxFC4EC967 OxFB9BFOSD 0x00300030 0x804431B4 OxFC2A8002 1 4 6 0 055 5 6 6 A CA24015 DDRAM DataFlash AT45DB DCB EEPROM AT2 NorFlash OTP One wire EEPROM SRAM SerialFlash AT25 AT26 Download Upload File Send File Name Receive File Name Address 00 Size For Receive File 0x1000 byte s Scripts NANUPLASH uU Loading applet applet nandflash sama5d3x bin at address 0 20000000 F Memory Size 0x10000000 bytes F Buffer address 0x2001052C I Buffer size 0x20000 bytes F Applet initialization done sam ba 2 12 1 96 64 MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real MYD SAMA5D3X User Manual Figure 4 7 4
17. 26 V V V V V V V V V V Figure 2 10 2 3 6 Smart DAA Module Smart DAA Module is shown in figure 2 11 m ou Figure 2 11 16 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real User Manual 2 3 Audio Module WV Audio Performance 91dB SNR A weighted 48kHz ADC e 96dB SNR A weighted 48kHz DAC ADC and DAC Sampling Frequency 8kHz 96kHz 2 3 Wire MPU Serial Control Interface Programmable Audio Data interface Modes 25 Left Right Justified or DSP 16 20 24 32 bit Word Lengths Master or Slave Clocking Mode Stereo sound output and input The output and input volume control Highly Efficient Headphone Driver Playback only 3 0mW Analog Pass Through Power only 2 4mW 32 PIN QFN package 4 x 4mm 0 4mm pitch Circuit is shown in figure 2 12 HEADPHONE LINE IN Figure 2 12 17 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real User Manual 2 3 8 USB Module 1 USB HOST mode key features are as follows 110mQ 5V Input High Side MOSFE Switch 500mA Continuous Load Current per Channel 110pA Typical On State Supply Current 1 Typical Off State Supply Current Current Limit Short Circuit Protection Thermal Shutdown Protection under Overc
18. DDR2 SDRAM 256MB DDR2 for option 256MB Nandflash 16MB NorFlash 16 bits Vv V Y 4MB DataFlash Audio and Video Interface gt An3 5mm Audio Input Interface gt MIC input interface gt ATwo channel 3 5mm Audio Output Interface Transmission Interface gt Standard JTAG Interface gt Micro SD Card Interface gt SD MMC Interface gt Serial Ports 1x DBGU Port Debug Unit 3 MYIR TECH LIMITED www myirtech com Make Your Idea Real 1xUSART 5 pin MYD SAMABD3X User Manual gt Two CAN Interfaces Only MYD SAM 5034 and MYD SAMA5D35 have Interface gt 2 USB HOST Interfaces gt USB Host Device Interface gt Ethernet MAC SAMASDS1 SAMA5D33 SAMA5D34 5035 10 100 10 100 1000 10 100 1000 Dual Ethernet LED Indicator gt A Power Indicator CPU module Red gt Users Light System Heartbeat Light CPU module Blue APower Indicator Base Board Red MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMASD3X User Manual 1 4 Product Packing Development Base Board CPU module Board 2 1 5 Meters Crossover Cable 3 1 5 Meters Mini USB 2 0 Cable 4 5V 2A DC Power adapter 5 Serial Cable DB9 To DB9 9pins Include Schematic PDF User 6 Product DVD Manual Source Code etc 7 4 3 7 0 inch LCD Touch Screen opt
19. Figure 2 4 2 3 3 RS485 RS485 receive send key features Electrical data isolation Compliance to ANSI TIA EIA RS 485 A 1998 and ISO 8482 1987 E Transfer speed reach high as 500kbps low power consumption current lt 2 5mA compatible 5v and 3v power supply VDD1 Y Bus device numbers lt 256 gt work temperature 40 C to 85 C RS485 circuit is shown in figure 2 5 Ute ADM2483 VDD5V VDD5V 12 85485 RXD lt 12 85485 TXD 3 12 85485 R162 1K 41 13 T mr Figure 2 5 13 MYIR TECH LIMITED www myirtech com Make Your 2 3 4 HSMCI Module Idea Real HSMCI Module is shown in figure 2 6 MYD SAMABD3X User Manual W souk 1000 MCI D 8 d Pte E MCI 3 800 5 pos B 7 13 T i8 RR4 RR5 RR42 near SODIMM place SD MMCPlus CARD INTERFACE MCIO VODIOP VOD MC RRS R25 Micro SD 10K 68k 40K vopiort poa peet CO 1 CK 4 5 pee B Pass MGI von P322 b 27 AX RR1 RR2 near SODIMM place Figure 2 6 2 3 5 SODIMM Inter
20. Parameter description of ubinize The size of minimum input output byte flash unit p The erase block size of FLASH physical Oo output file Here is different mkfs ubifs parameter p parameter represents the physical erase block size work in MTD layer so it needs the MTD parameters namely physical parameters UBIFS work in UBI so it needs the UBI parameters namely the logic parameter Now UBI image has been saved in the ubi img which not only contains UBIFS information but also contains UBI information After the completion generated fsimage ubi file can use the method described in chapter 4 3 4 to download to 0x800000 43 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Reset board and input root to login there is added hellomyir file in the root directory buildroot login root Is bin etc lib proc tmp boot hellomyir media sbin usr dev home mnt Sys var Run helloworld as follows hellomyir argc 1 argv 0 hellomyir 3 7 Linux application After a Linux system running can be operated by touch screen can also through the terminal serial ports here is how to through the terminal Linux operating such as U disk SD card mount ETH test and how to play music and so on 3 7 1 Touch Screen Calibration Entering system will run the screen calibration procedure automatically Recalibrate the touch screen by the following st
21. User Manual Error in startup script Error h_handle returned zero while executing TCL target connection invoked from within if gt 52 puts I Retrieved arguments from command line puts I argv 0 lindex argv 01 puts argv 1 linde file C Program Files Atmel sam ba_2 12 sam ba exe lib tkcon tcl line 4924 invoked from within source file join starkit topdir lib tkcon tel file C Program Files Atmel sam ba_2 12 SAN BA exe main tcl line 6 This failure might be caused by duplicated running SAM BA please end duplicated SAM BA process and try again 81 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual Appendix 2 sales FAQ and technical support How to buy We accept paypal payment and bank wire transfer 1 Paypal payment Please select the products add into shopping cart the checkout web page will redirect to paypal com for you payment Shipment fee will calculated automatically by your location region 2 Bank wire transfer Please email or fax us with products list you want we will send you a pro invoice with order value total shipping cost and bank information Shipping details Please select the shipping area catalogue for you location If you have carrier account to pay the shipment fee please select Freight collect and email us the carrier account Please visit
22. format Size in byte s 0400 ascii 8 bit 16 bit 32 bit 0 00300000 0 00000004 OxSOBCC529 0 5085258 0 00300010 Ox34D1A951 OxE821DB10 Ox2CFF7AEB 0x00300020 0 05 04910 0 02006583 OxBC4E4967 0 00300030 0x804531B4 OxFC2A8002 OxABASC4F6 n nn2nnnan Avwernzsantec OxE2695B1D 0x819A7091 0 055 5 6 m DDRAM DataFlash AT45DB DCB EEPROM 24 NandFlash NorFlash One wire EEPROM SRAM SerialFlash AT25 AT26 m Download Upload File Send File Name Receive File Name Address 00 Size For Receive File 01000 byte s Ecc weh is 2 Ecc Status is 2 F Configure trimffs 0 PMECC c0902405 to be Configured I Pmecc header configration successful I PMECC configure c0902405 sam ba 2 12 1 96 Figure 4 9 6 Download boot bin Refer to figure 4 10 4 11 m at91sama5d3x Memory Display Start Address 0300000 Size byte s 0100 ascii 8 bit 16 bit 32 bit 0 00300000 0 00000004 OxDOBCC129 Ox5D95058F 0 00300010 Ox34D1A951 0x6821DB10 Ox2CFF72EB 0 00300020 0x05B04910 OxDADO6183 OxFC4EC967 0 00300030 0x804431B4 OxFC2A8002 1 4 6
23. get install nfs kernel server Add follow content at file end of etc exports The NFS directory is home jbo nfsdir this directory will be mount on clients home jbo nfsdir rw sync no root squash 3 Restart portmap and nfs kernel server service portmap restart service nfs kernel server restart 50 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 2 Mount NFS file system on board D Configure IP ifconfig ethO 192 168 1 166 Make directory mkdir nfs 3 Mount NFS file system the NFS server is 192 168 1 223 mount t nfs o nolock 192 168 1 223 home jbo nfsdir nfs User can operate nfs s directory and the change modification will be refected on NFS server home jbo nfsdir 3 7 9 RTC application 1 Install button battery to board 2 System will set initial value at first start time so it needs to set the time after system startup Set system time date s 2013 06 07 15 51 00 hwclock w Jul 8 10 36 00 BST 2013 Query system time and hardware RTC time date Fri Jun 7 15 52 22 UTC 2013 hwclock r Fri Jun 7 15 53 22 2013 0 000000 seconds 3 8 Qt Guide This section describe the methods and steps to using Qt GUI application development on the MYD including two parts the first tells use Qt cross compile tool chain which is provided in CD The second part tells how to generated Qt cross tool chain and related li
24. 2 ACDSee5RC 3 Adobe Atmel san ba 2 12 applets O av Figure 3 2 2 If there is figure 3 3 in computer gt properties gt Management gt device manager gt port which shows board driver has been installed According to the actual situation here for Computer Management File Action View Help wg BE Computer Management Local 2 MSL PC System Tools Computer Task Scheduler Disk drives Event Viewer BS Display adapters Shared Folders l DVD CD ROM drives Local Users and Groups 8 Floppy drive controllers Human Interface Devices IDE ATA ATAPI controllers 4 Jungo iaf Disk Management Keyboards Services and Applications n Mice and other pointing devices Monitors gt Network adapters p Y AT91 USB to Serial Converter 77 COMI Figure 3 3 3 Connect J28 to PC by serial cable set up Serial Terminal Baud rate115200 data bit 8 no parity stop bit 1 no rts cts COM port number is set by actual situation 3 3 3 Automatic Download Note please pull out SD card before download otherwise an error may happen Take downloading of image for 4 3 inch LCD and 512MB DDR2 configure as example 26 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Afte
25. 24 NandFlash NorFlash OTP One wire EEPROM SRAM SerialFlash AT25 AT26 Download Upload File Send File Name D SAMASD3X Linux Dy SAMASD3x Linuxcimage u boot bi Receive se re 040000 size For Receive File 0 1000 NH Compare sent file with memory Scripts Send Boot 1 1 DOLCI I Erasing blocks batch 5 Erasing blocks batch 6 F Erasing blocks batch 7 sam ba 2 12 1 NANDFLASH SendBootFilePmecc Sending boot file done sam ba 2 12 1 96 Figure 4 12 67 MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real User Manual 8 Download ubootEnvtFileNand Flash bin to 0 000 0000 Refer to figure 4 13 Script File at91sama5d3x Memory Display Start Address 0300000 Refresh D Size in byte s 000 ascii C 8 bit C 16 bit 32 bit 0 00300000 0x00000004 0 50 529 0 5085258 OxE2695B1D 0 00300010 Ox34D1A951 OxES21DB10 OX2CFF7AEB 0x819A7091 0 00300020 0 05804910 0 02006583 4 4967 OxFB9BFOSD 0x00300030 0x804531B4 OxFC2A8002 OxABASC4F6 0 055 5 6 n nn2nnnan rim mo 1 DDRAM DataFlash AT4SDB DCB EEPROM 24 NandFlash NorFlash OTP One wire EEPROM SRAM
26. 3 9 47 AM 1 31 2013 9 47 AM 1 31 2013 9 47 AM 1 31 2013 9 47 AM 5 28 2013 12 19 PM 1 31 2013 9 47 AM 6 14 2013 9 42 AM 5 28 2013 7 14 AM 6 14 2013 9 42 AM 6 5 2013 11 38 AM UBI Fili TCL Fil Windo TCL Fil DTB Fi DTB Fi DTB Fi DTB Fi Windo BIN Fil BIN Fil File MYD SAMABD3X User Manual at91sama5d3x Memory Display Size in byte s 0400 0 00300000 0 00300010 0 00300020 0 00300030 n 0nn2nnnan Start Address 0 300000 Refresh 0x00000004 0 3401 951 0x05B04910 0x804531B4 Display format 8 bit C 16 bit 32 bit 0 50 529 OxE821DB10 OxD2D06583 OxFC2A8002 Nnnna 0x5D85258F Ox2CFF7AEB OxBC4E4967 OxABASC4F6 gt OxE2695B1D 0x819A7091 OxFBSBFOSD 0 055 5 6 DDRAM DataFlash AT4SDB DCB AT24 NandFlash NorFlash OTP One wire EEPROM SRAM SerialFlash AT25 AT26 Download Upload File 3 Send File D SAMASD3X Linux image ulmagd 5 Receive File Name Compare sent file with memory Scripts Execute 2 12 1 Yo U SANIA2USAJ LITIUXCHT Send File D SAMASD3X Linux image sama5d34ek dtb at address 0 180000 GENERIC SendFile D SAMASD3X Linux image sama5d34ek dtb at address 0x180000
27. 68 1 1 seq 1 ttl 64 time 2 391 ms 64 bytes from 192 168 1 1 seq 2 ttl 64 time 3 924 ms 64 bytes from 192 168 1 1 seq 3 ttl 64 time 2 254 ms 64 bytes from 192 168 1 1 seq 4 64 time 2 005 ms 3 Set 192 168 0 1 as the default gateway route add default gw 192 168 0 1 Test connection with 202 112 17 137 ping 202 112 17 137 PING 202 112 17 137 202 112 17 137 56 data bytes 64 bytes from 202 112 17 137 seq 0 ttl 54 time 32 202 ms 64 bytes from 202 112 17 137 seq 1 ttl 54 time 24 457 ms 64 bytes from 202 112 17 137 seq 2 ttl 54 time 22 918 ms 64 bytes from 202 112 17 137 seq 3 ttl 54 time 23 178 ms 64 bytes from 202 112 17 137 seq 4 ttl 54 time 29 341 ms 4 Configure DNS server View current DNS server address by ipconfig all command machine DNS is 202 103 24 68 Set target board s DNS depend on the circumstances echo nameserver 202 103 24 68 tee etc resolv conf Ping www baidu com to test extranet access 5 Use Telnet access to the BBS telnet bbs scut edu cn The test result is show in figure 3 19 48 MYIR TECH LIMITED www myirtech com MVR Make Your Idea Real User Manual BBS 1 10 15 283 o oo 0 00 0 00 MER Entering character mode Escape character is Men Rit th K DES bbs gznet edu cn 202 112 17 137 o Warmly Welcome to Bulletin B
28. ANSI 4 sd 0 0 0 0 sda 16076800 512 byte logical blocks 8 23 GB 7 66 GiB sd 0 0 0 0 sda Write Protect is off sd 0 0 0 0 sda Write cache disabled read cache enabled doesn t support DPO or FUA sda sda1 sd 0 0 0 0 sda Attached SCSI removable disk 2 Entering the following command to mount inserted U disk and view U disk contents mount t dev sda1 mnt Is mnt usb 2 MYD S5PV210 2 MYD SAMA5D3X Dev Res 22 22 222 2 9 22 Michael Jackson Beat It mp3 22222 Dangerous mp3 BOOTEX LOG Qt_Arm rar DSC04807 JPG qt FOUND 000 45 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 3 Unplug U disk directly when the use is completed system will uninstall automatically 3 7 3 SD Card application 1 When Micro SD card is inserted HyperTerminal displays SD card information mmcoO host does not support reading read only switch assuming write enable mmc1 new high SD card at address aaaa mmc1 aaaa SUO2G 1 84 GiB mmeblk0 p1 2 Mount and view SD card mount t dev mmcblkOp1 media sdcard Is media sdcard 360 LOST DIR duba 360Download Music iReader Android PicStore mm_sec dat Audio QQ qqservicec log Backup QQBrowser scan txt BaiduMapSdk Qzone tencent BlackBerry RMS tmp DCIM Sounds wandoujia Download audio play list txt GT S3600C samsung bluetooth 3 Pull out SD card directly system will uninstall it automat
29. File size 0 50 3 byte s sam ba 2 12 1 96 Writing 0 50 3 bytes at 0x180000 buffer addr 0x2001052C 0x20000 bytes written by applet Figure 3 16 34 UXLOUUUU U MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 9 Download rootfs ubi to address 0x80000 Refer to figure 3 17 Note Select Enable OS PMECC parameters and click Execute to select Trimffst 1 a Ev SAM BA 212 ot sagas NN CN CNN o File ipt Ei rom Applet traces on DBGU 32 bit infos 7 Apply DxE2695B1D 4 Number of sectors per 4 vi 01387031 Sparesize 64 DxFBSBFOSD Number of ECC bits requir 0 055 5 6 Size of the ECC secto 52 1024 6 DTP One wire EEPROM SRAM SerialFlash AT25 AT26 conc Receive File 1 Address 0 800000 Size For Receive File 0400 byte s Compare sent file with memory Scripts Enable OS PMECC parameters F UXZUUUU Dyes wiern Dy dppiec z HE Writing 0x20000 bytes at 0x4A0000 buffer addr 0x2001052C E 0x20000 bytes written by applet Writing 0x1F5A8 bytes at 0x4C0000 buffer addr 0 2001052 1 5 bytes written by applet sam ba 2 12 1 NANDFLASH NandHeaderValue HEADER 0 0 00405 sam ba 2 12 1 96
30. Linux at91 tar xvjf linux at91 tar bz2 cd linux at91 2 Compile image sh linux 512mb If use the board carries 256MB DDR2 please replace linux 512mb with linux 256mb After compile kernel ulmage file in arch arm boot directory is Linux image files that we need sama5d31ek dtb sama5d33ek dtb samabd34ek dtb sama5d35ek dtb is Linux device tree image file what we need 3 5 6 Install and Compile Linux File System 1 Install cd opt linux Buildroot at9 1 tar buildroot at91 tar bz2 cd buildroot at9 1 2 Compile sudo apt get install flex bison texinfo unzip gettext sudo apt get install g xz utils cp buildroot config config make It takes long time to compile kernel rootfs ubi in arch arm boot directory is Linux file system 39 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 3 6 Make Linux File System rootfs ubi can be formulated and modified Here is an example how to add application into file system root directory 3 6 1 Write Demo Program hellomyir First of all Program hellomyir 1 Create and compile hellomyir c vi hellomyir c Enter the following in hellomyir c save and exit include lt stdio h gt int main int argc char argv int i printf argc ed argc for i 0 i lt argc i printf argv Ved s n i argv i return 0 2 Compil
31. Make Your Idea Real MYD SAMA5D3X User Manual Chapter 4 Android System Guide 4 1 Overview Android is a Linux system based open source operating system mainly used in portable devices Android operating system originally developed by Andy Rubin development initially mainly support mobile phone In 2005 Android is acquainted by Google formatting the open mobile phone alliance to improvement it gradually extended to the tablet computer and other area Since its first release Welcomed by the majority of consumers Android s market shares around the world more than Symbian system for the first time in the first quarter of 2011 ranking first in the world The data shows that in February 2012 Android accounted for 52 5 of the share of the global smartphone operating system market Android system is running based on Linux system mainly made by Linux Kernel System libraries Dalvik virtual machine application framework and applications written mainly by JAVA Its framework is as shown in figure 4 1 APPLICATIONS APPLICATION FRAMEWORK DT MEE MEE MEME Manager Providers 5 ystem Manager E 1 0 d T Manager Manager LIBRARIES ANDROID RUNTIME E LINUX KERNEL 59 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMABD3X User Manual Figure 4 1 This chapter describes how to build and run Android 4 0 4 system in MYD SAMA5D3 X platform include the following main
32. N 52 3 8 2 Qt development envi Onmiblfil ss aeris nde uto 55 Chapter 4 Android System 59 59 4 2 60 4 3 Build Android System 61 4 3 1 Install Download 61 4 3 2 Connect Board and 61 4 3 3 Automatic 62 4 3 4 62 4 3 5 4 3 inch and 7 0 inch LCD 70 4 4 Compile Android System EIIGS 71 4 4 1 Android System Principle 71 4 4 2 Compile System 72 4 5 Android System Application 73 4 5 1 USB origo ete 73 4 5 2 Browse Picture 73 4 5 3 Flay A dio PSS 74 4 53 Ethernet Fes duod oeil ee 76 45 5 78 A 79 Appendix 2 sales FAQ and technical Support 82 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMABD3X User Manual Chapter 1 Product Overview 1 1 Product Description MYIR has lunched MYD SAMA5D3X series boards which are based on Atmel ATSAMABSD3X series processor SAMA5D31 SAMA5D33 SAMA5D34 SAMA5D35 based on ARM Cortex A5 Running at up to 536 MHz carries 256MB NandFlash 4MB Data Flash 16bits 256 512MB DDR2 SDRAM It has rich peripheral interfaces High
33. N package bmmx 5mm 19 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual gt MDC MDIO Management Interface for PHY register configuration gt Power supply VCC core 1 2 V e VCCQ 3 3 V 2 5 V ETH Module interface circuit is shown in figure 2 15 1000 AttheDe Assertion of Ret CONFIG 2 0 001 ModecRMII Duplex Mode Hal Duplex Node Dele Speed Mode f00Mbps Nway Auto Negotlatlon Enable RITLRTGRITT 422 61 are not needed Figure 2 15 2 3 10 HDMI Module HDMI key features gt Support HDMI1 3 SimplayHD DVI1 0 protocol DVD AUDIO support 4xIIS input Support 2 channel 192HZ or 8 channel 96HZ Programmable DDC control system design WV Flexible interrupt register 20 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual gt 72 QFN package 10x10mm gt Support ICE 60958 or ICE 61937 Support MDO MDIO management interface VCC core 1 2 V e VCCQ 3 3 V 2 5 V HDMI Module interface circuit is shown in figure 2 16 INI RO aAA 2K 03 O m 1 2 my eux 180218012 98160440 ug m hn SAN 292 18 10 72 RI
34. PU module details please refer to the user manual MYD SAMA5D3X CPU module user manual PDF 2 2 1 CPU module architecture and CPU features 1 CPU module architecture is shown in figure 2 1 7 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real MYD SAMA5D3X User Manual COMi or Board JTAG ae DBGU Bridge ZIGBEE 232 USB DBGU 112 F 1 5554 O interface JTAG CONEXAN USART U5B DBGU LI Micro mux _ Modem LCD Parti LCD Part 2 058 USB Host 2 H Device Figure 2 1 2 CPU The Atmel SAMAS5D3 series is a high performance power efficient embedded MPU based on ARM Cortex A5 achieve 536MHZ with power consumption levels below 0 5mW in low power mode The device features a flexible size instruction and data caches Memory Management Unit MMU and Floating Point Unit FPU The Cortex A5 processer implements the ARM v7 VFPv4 D16 architecture and runs 32 bits ARM instructions 16 bits Thumb instructions and 8 bit Java byte codes in Jazelle state The processor has the ARM Thumb ThumbEE Jazelle states controlled by the T bit and J bit in the CPSR 2 2 2 DDR2 SDRAM DDRAM device key features gt VDD 1 8V 0 1V VDDQ 1 8V 0 1V gt All inputs and outputs are compatible with SSTL_18 interface 8 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real MYD SAMA5D3X
35. Select Enable OS PMECC parameters in Scripts tab then click Execute using the default option click OK directly Note there cannot check Trimffs Refer to figure 4 8 212 at91sama5d3xeek Applet traces on DBGU pmecc softwareecc i infos Apply Pmecc boot header configuration 2695810 19 7091 Number of sectors per page In bd Sparesize 6464000 BOBFOSD Number of ECC bits NN DSSASBC6 3 Size of the sector 7 1024 One wire EEPROM SRAM SerialFlash AT25 AT26 Send File Receive File Address 00 Size For Receive File 0x1000 byte s Compare sent file with memory Scripts Enable OS PMECC parameters M LUGUINY appiet d uress UXZUUUUUUU Memory Size 0x10000000 bytes I Buffer address 0x2001052C Buffer size 0x20000 bytes Applet initialization done sam ba 2 12 1 NANDFLASH NandHeaderValue HEADER 0 0 00405 sam ba 2 12 1 USBserial COM4 Board at91sama5d3x ek Figure 4 8 5 Select Erase All in Scripts tab and then click Execute Refer to figure 4 9 65 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMABD3X User Manual File Script File Help at91sama5d3x Memory Display Start Addi Refresh Display
36. SerialFlash AT25 AT26 Download Upload File 7 Size For Receive File 0x1000 byte s Compare sent file with memory Execute UXZUUUU DYLES dL AUUT UXZUULUDZL 0x20000 bytes written by applet Writing 0x20000 bytes at 0x60000 buffer addr 0x2001052C 0x20000 bytes written by applet Writing bytes at 0x80000 buffer addr 0 2001052 Ox8FCC bytes written by applet sam ba 2 12 1 96 Figure 4 13 9 Download sama5d3xek dtb to 0 0018 0000 Department Refer to figure 4 14 SAM BA 2 12 at91sama5d3x el Open Look in Android 4 0 4_r2 1 sama5d3x nandboot Name Date modified Type 1at91sama5d3 nandflash tcl 4 11 2013 1 01 PM TCLFil Size in byte s 000 5 amp at91 sama5d3ek_nandflash 6 3 2013 10 06 AM Windo at91sama5d3ek_nandflash tcl 4 9 2013 02 TCLFil at91samaSd3ek pda nandflash 4 9 2013 302 Windo atO1samaSd3ek_pda_nandflash tcl 4 9 2013 3 02PM 0 00300020 jat91sama5d3xek nandflashboot android 4 11 2013 12 57 PM BIN Fil 0 00300030 logfile 6 7 2013 7 31PM 4 0 ibrari samaSd31 ek dtb 4 11 201312 23PM DTB Fi sama5d31ek_pda dtb 4 11 20131223 DTB Fi sama5d33ek dtb 4 11 20131223 DTB Fi sama5d33ek_pda dtb 4 11 2013 12 23PM DTB Fi 17 sama5d34ek dtb 4 11 2013 12 23 DTB Fi
37. U module jumper JP1 JP2 backboard disconnect hold CS_BOOT button At the same time development board switches to USB_5v ress NRST reset board then turn SW2 on and then start download Display logfile file as follows 79 MYIR TECH LIMITED www myirtech com e Make Your Idea Real MYD SAMA5D3X User Manual 1 argv 2 sama5d3xek_demo_linux_nandflash tcl E Connection USBserial COM3 not found E Connection list USBserial COM13 COM1 It indicates that port isn t right as above I argv 0 USBserial COMS but connections list is E Connection list USBserial COM13 1 which shows native port is COM13 not and it needs to modify COM port Note COM port is that your host use Q2 Download system successfully but can not start system Analysis and Answers If download Linux image to board with SD card mounted system might fail to start and show following message on Hyper Terminal Please unplug SD card and try to download Linux image again Q4 Automatic download for a long time HyperTerminal did not continue to output download information Analysis and Answers This may be stuck in automatic download process It can end sam ba exe process in task manager and then restart download If start SAM BA v2 11 Click Connect and pops up the following window when in automatic download 80 MYIR TECH LIMITED www myirtech com MVR Make Your Idea Real MYD SAMA5D3X
38. User Manual WV Auto refresh and self refresh Organizational structure 8 blanks Page size 128 Meg x 16 16 Meg x 16 x 8 banks Programmable CAS latency CL Programmable CAS additive latency AL Programmable burst lengths 4 or 8 Adjustable data output drive strength 2 2 3 Serial DATAFLASH 4MB dataflash key features gt gt Single 2 7V 3 6V Supply Serial Peripheral interface Compatible Support SPI Modes 0 and 70 MHz Maximum Clock Frequency Flexible Uniform Erase Architecture 4 Kbyte Blocks 32 Kbyte Blocks 64 Kbyte Blocks Full Chip Erase Individual Sector Protection with Global Protect Unprotect Feature 64 Kbyte Physical Sectors Hardware Controlled Locking of Protected Sectors Flexible Programming Byte Page Program 1 to 256 Bytes Automatic Checking and Reporting of Erase Program Failures JEDEC Standard Manufacture and Device ID Read Methodology Low Power Dissipation 7 mAActive Read Current Typical 15 pA Deep Power Down Current Typical Endurance 100 000 Program Erase Cycles Data Retention 20 Years Complies with Full industrial Temperature Range 9 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real MYD SAMA5D3X User Manual gt Industry Standard Green Pb Halide free RoHS Compliant Package Options 8 lead SOIC 200 mil wide 16 lead SOIC 300 mil wide 2 2 4 NORFLASH amp NANDFLASH 1 16MB norflash key features O
39. ace applications Includes Gigabit and 10 100 1000 Ethernet up to three HS USB ports dual CAN three SDIO SD MMC UARTs SPls TWIs soft modem LCD controller with graphics accelerator camera interface 12 bit ADC 32 bit timers and more State of the art security Includes secure boot Advanced Encryption Standard AES Triple Data Encryption Standard DES encryption engine Secure Hash Algorithm SHA and True Random Number Generator TRNG gt Low system cost the 0 8mm ball pitch package reduces the PCB design complexity A simple power management scheme and impedance matching on DDR lines reduce the need for external components Three USB ports save the cost of an external USB hub The basic features of MYD SAMABD3X are as follow Electrical parameters 2 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real MYD SAMA5D3X User Manual gt Working temperature Industrial level Temperature 40 C 85 C commercial level temperature 0 C 70 C gt Operating humidity 0 to 90 gt Electrical Specifications 5V power supply Base Board 5V power supply CPU module 3 3V power supply from SODIMM200 DDR2 connector gt Mechanical Dimensions Base Board 154mm x 110 mm CPU module 45mm x 67 6 mm Processor gt SAMA5D31 D33 D34 D35 32 bits ARM v7 A Thumb2 processor runs at up to 536MHz gt 32 Data Cache 32KB Instruction Cache Memory gt 160KB chip ROM 128KB chip SRAM 512MB
40. brary file from Qt Embedded source code Note on the development board to download 02 Im ages Linux directory of Images for example download specific steps refer to 3 3 3 automatic download or 3 3 4 manual download Here for Ubuntu10 04 PC environment 51 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 3 8 1 Qt cross compile tool chain For general use Qt program development can be directly supplied CD ROM Qt cross tool chain the disc 02 Images Linux Qt Arm directory contains the tool chain corresponding Qt library so with this compiler tool chain the Qt program can be run directly on the board CD ROM provides detailed configuration Qt cross tool chain as follows 52 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual Graphics qt linuxfb multiscreen linuxfb Graphics plugin Decorations qt styled windows default Decorations plugin Keyboard driver qt tty usb Keyboard driver plugin Mouse driver qt pc linuxtp pc linuxtp tslib Mouse driver plugin OpenGL support no SQLite support qt qt Table 3 2 1 Install Qt cross compile tools to usr local Set up qt arm copy Qt cross compile tools to this directory and decompress 53 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual cd mkdir qt arm cd qt arm cp media cdrom 04 Linux Sou
41. content 1 Build Android system 2 Compile Android 3 Android System use 4 2 Software Resources Software resources are shown in table 4 1 AT91Bootstrap Use to load Uboot 1 Support Nand Flash Erase read and write Boot 2 Support network to download image program Uboot 3 Support settings save the environment variable 4 Support display contrast modify memory content 5 Support the bootm bootargs settings Develop Linux kernel for MYD SAMA5D3X Linux Kernel Linux 3 6 9 hardware Network port ETHO driver Serial port driver USART1 DBGU Device USB USB HOST 2 USB OTG Drivers SD card driver Micro SD SDCard LCD touch LCD driver GPIO driver Have been tested to provide the source System Files Android System Files Have been tested to provide binary image file Table 4 1 60 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real User Manual 4 3 Build Android System This chapter describes how to use image to build Android system 4 3 1 Install Download Tool Install Atmel ISP download software SAM BA 2 12 or later Note If install SAM BA 2 11 and earlier versions it needs to first uninstall the all SAM BA and USB driver If need two or more SAM BA version coexistence different SAM BA versions use different USB interface 4 3 2 Connect Board and SAM BA 1 Connect Board to PC Please follow steps sequentially Sp
42. development environment This section describes how compiled Qt cross tool chain and the associated library This method can be developed Qt operating environment when Qt library cannot 55 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual meet the actual development needs Tslib code source and Qt s code source are in the CD ROM directory 04 Linux Source Qt Arm Qt Arm Qt Source 1 Establish working directory ed mkdir qt arm cd qt arm 2 Compile tslib installation D Decompress cp media cdrom 04 Linux Source tslib tar gz tar xvzf tslib tar gz cd tslib 2 Compile installation If haven t added arm none Linux gnueabi to the PATH added it to the PATH usr local GCC linaro arm inux_linux gnueabihf 4 7 2013 04 201 3041 5 bin perform the following command export PATH PATH opt gcc linaro arm linux gnueabihf 4 7 2013 04 20130415 linux bin Install automake libtool sudo apt get install automake libtool Configure tslib installation path can be set up their own where installed into usr local tslib autogen sh configure CC arm linux gnueabi gcc CXX arm linux gnueabi g prefix usr local tslib host arm linux func malloc 0 nonnullzyes Compile installation make sudo make install After installing tslib Modify second line module raw input to module raw input and mus
43. droid 4 0 4_r2 1 sama5d3x nandboot sama5d34ek dtb at address 0x180000 GENERIC SendFile D SAMASD3X Android demo image Android 4 0 4_r2 1 sama5d3x nandboot sama5d34ek dtb at address 0x180000 F File size 0 50 3 byte s Writing 0x50F3 bytes at 0x180000 buffer addr 0x2001052C E 0x20000 bytes written by applet sam ba 2 12 1 USBserial COM4 Board at91sama5d3x ek Figure 4 15 11 Download rootfs ubi to 0 0050 0000 Refer to figure 4 16 Note be sure to check Trimffs 69 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real User Manual gt ECC id MEER x EN File Script File Ce pmecc softwareecc C Start Address 0300000 Refrd ES boot header configuration Apply Size in byte s 0400 Number of sectors page ja M 0x00300000 0x00000004 gt Spare size 3 Number of ECC bits required Size of the ECC seor 6 512 1024 0 00300030 0 804431 4 Ecc 5 PR DDRAM DataFlash AT45DB DCB E SRAM SerialFlash AT25 AT26 Download Upload File TB SAMASD3X Android demo image Android 4 0 4 72 s Receive File Address For Receive File 0 1000 byte s Scripts 7
44. droid system files 4 4 1 Android System Principle 1 File description Boot program Compiled by AT91 boot bin Bootstrap source used to start u boot u boot bin The secondary boot for boot kernel Configure the environment variables u boot Env provided u boot operation parameters Describe hardware device tree u boot DTB in the start up will Flash when samabd3x dtb the address of the file as the entrance to the parameters passed to the kernel Linux kernel file compiled by Linux ulmage kernel source code rootfs ubi Android file system SAM BA script files control the flash all tcl burning process Automatic programming tools MS DOS batch the manual flash all bat programming process does not require this file Table 4 2 2 The principle of the system Power on starts system form Nand Flash the start steps is as following 71 MYIR TECH LIMITED www myirtech com Y iH Make Your Idea Real MYD SAMA5D3X User Manual Fixed boot code in atsama5d3x internal rom and copy a boot program at91 SAMA5D3Xek Nand Flashboot 3 1 bin Nand Flash to SRAM to run Boot program initializes hardware basically such as setting CPU frequency configure running PIO and then copy the secondary boot program uboot bin to DDRAM and begin to Execute 2 Secondary bootloader uboot is mainly responsible for boot Linux including set Linux operating environment Load L
45. e hello myir c Add cross compiler tools path to PATH export PATH PATH opt gcc linaro arm linux gnueabihf 4 7 2013 04 20130415 _linux bin arm linux gnueabihf Use the cross compiler tool to compile arm none linux gnueabi gcc static o hellomyir hellomyir c 3 6 2 Mount UBIFS File System UBIFS is a new flash file system by nokia engineers under the help of Szeged University which is considered the next generation of JFFS2 files system UBIFS file system specifically for the large capacity FLASH embedded mobile devices mounting UBIFS file system must have mid interface while Ordinary PC usually has no mtd 40 MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real MYD SAMASD3X User Manual manage disk So here needs nandsim simulator simulate mtd device with a RAM space then mount UBIFS file system The concrete steps are as follows 1 Load UBIFS Enter the following command sudo apt get install mtd utils sudo modprobe nandsim first _byte 0x2c second id 0 third id 0 90 fourth id 0 95 If execute successfully there will be mtdO and mtdOrO devices in dev directory Is dev mtd dev mtdO dev mtdOro 2 Erase 0 partition the operation is as follows sudo flash eraseall dev mtdO Erasing 128 Kibyte ffe0000 100 96 complete 3 Load rootfs ubi to new 0 partition Here used dd command to load as follows sudo dd
46. e Board Introduction secco Sos 11 2 3 1 Power supply amp Push button 11 23 2 CAN 12 M M 13 2933 Mod l 14 2 3 5 SODIMM EIN 14 2 3 6 Smart Module sisane eae 16 2 3 7 Audio Hodeeeeeee 17 2 39 8 USB D WM 18 2 8 9 ETHERNET anite 19 2 3 10 HDMI Module eer 20 2 3 11 USART Module amp 21 2 dump Setting 22 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Chapter 3 Linux System Guide 23 23 are eee oe 24 Stat LINUX SYSTEM 25 3 3 1 Install Download 25 222 eundcm 25 3 3 3 Automatic 26 3 3 4 Manual Dounload E eee 27 3 3 5 4 3 and 7 0 inch LCD configuration esses 35 3 4 Linux Development Environment 37 3 5 Installati
47. ecific steps are as follows 1 Switch development board to 5 v power off position 2 Connect to PC and board through mini USB 3 Disconnect JP1 and hold CS BOOT button At the same time switch development board to USB 5V If first time the PC opportunities prompt to install board driver Select SAM BA installation directory under the relevant position can be installed as shown in figure 4 2 ACDSee5RE Adobe E gt Atmel 0 samba 2 12 applets doc dry Figure 4 2 2 If the serial interface as shown in Figure 4 3 my 61 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real User Manual computer gt properties gt Management gt device manager gt port which shows board driver has been installed According to the actual situation here is COM4 File Action View Help LE AEST Do 5 Computer Management Local g lichuanmingt PC 4 un System Tools Batteries 3 Task Scheduler Computer E Event Viewer Disk drives Shared Folders By Display adapters Local Users and Groups i DVD CD ROM drives Performance 5 Human Interface Devices 523 Device Manager IDE ATA ATAPI controllers 4 Storage gt Imaging devices Disk Management lt Keyboards Services and Applications Memory technology driver n Mice and other pointing devices Modems K Monitors N
48. eps if it requires 1 Open HyperTerminal baud rate 115200 Data bits 8 Parity None Stop bits 1 data flow control none After start Linux log in as root command buildroot login root 2 Run the calibration procedure and click the five corresponding calibration points on the LCD screen The calibration can be carried out 15 calibrate xres 480 yres 272 Took 12 samples Topleft X 2 767 178 Took 14 samples Topright X2 793Y 2 947 Took 13 samples Botright X 309Y 934 44 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Took 12 samples Botleft X 308Y 169 Took 10 samples Center X 557Y 556 29 638855 0 011581 0 495638 331 720245 0 364475 0 006420 Calibration constants 1942412 758 32482 21739618 23886 420 65536 3 After calibration is complete it needs to restart system calibration to take effect The operation is as follows sync reboot 3 7 2 U disk application 1 Follow information will display on terminal when inserting a u disk on USB host port usb 1 3 new high speed USB device number 2 using atmel ehci usb 1 3 New USB device found idVendor 13fe idProduct 3600 usb 1 3 New USB device strings Mfr 1 Product 2 SerialNumber 3 usb 1 3 Product DT 101 G2 usb 1 3 Manufacturer KINGSTON usb 1 3 SerialNumber C1690905 scsiO usb storage 1 3 1 0 scsi 0 0 0 0 Direct Access KINGSTON DT 101 G2 8 07 PQ 0
49. eters U Boot gt saveenv Saving Environment to NAND Erasing redundant NAND Erasing at 0 100000 100 complete Writing to redundant NAND done 5 Restart the development board or direct input boot command guidance system will use the new configuration of the kernel boot parameters U Boot gt boot Note Calibrate configuration will not be available after change configuration need to be run ts calibrate terminal to recalibrate again If Android system can directly click on AndroidCalibration to run calibrate tool 3 4 Linux Development Environment Structure The contents of this chapter please refer to description VirtualBox s Linux based development environment to build pdf 3 5 Installation and Compile 3 5 1 Create Working Directory Establish a working directory and copied 04 Linux Source to opt linux own working directory also can be edited 3t mkdir opt linux cd opt linux cp r media cdrom 04 Linux Source 37 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 3 5 2 Install Cross Compiler Tools Decompress cross compiler tool chain sudo apt get install build essential git libncurses5 dev u boot tools sudo apt get install flex bison texinfo zip unzip zlib1g dev gettext sudo apt get install libsdl dev libesdO dev libwxgtk2 6 dev sudo apt get install uboot mkimage sudo apt get install flex bison texinfo un
50. etwork adapters Ports COM amp LPT 2 1 USB to Serial Converter Processors SD host adapters X Sound video and game controllers System devices 9 Universal Serial Bus controllers Figure 4 3 4 3 3 Automatic Download Note please pull out SD card before download otherwise an error may happen Take downloading of image for 4 3 inch LCD and 512 DDRe configure as example After complete chapter 4 3 1 and 4 3 2 open CD ROM directory 02 Images Linux image LCD_4 3_ DDR2 512MB double click samabd3xek demo linu x nandflash Then SAM BA will download Linux image automatically to board Entire download process takes about three minutes When pop logfile log file automatically reset board there will be Android start information 4 3 4 Manual Download Take downloading of image for 4 3 inch LCD and 512MB DDR2 configure as example All image files used in this chapter can be founded in the CD ROM directory 62 MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real User Manual 02 Images Android image LCD_4 3_ DDR2_512MB NandFlash content of Android system is divided as shown in figure 4 4 Root FS UBIFS en Linux Kernel Ox200000 Ox180000 Device Tree dtb U Boot Env Ox100000 Redundant U Boot Env U Boot Ox40000 AT91Bootstrap NAND FLASH Fig
51. face 1 LCD Hardware interface is shown in figure 2 7 LCDDATO 4 PD24 4 6 LCDDAT 5 LCDDAT3 m Jum 0 RR10D LCDDATT 8 LCDDATB RRHD 5 LCDDATS 09 LODDATIO 7 EVY 2 LCDDAT T wm 5 EGODATTZ RRIZA T NA 8 RRI2B LCDDATIS An cH 9 me CEDAT REISE I YT us og 9 6 LCDDATI8 1 7 2 9 10 LCDDAT20 RRI4A_1 REDS RR14B___LCDDAT21 dao LCDDAT22 3 US E B 7 LCDPWM 5 12 PEEL RESET 00 3 DISP R92 LCDDISP TEE I HR die Wr LCDDEN LCOVSYNCRRISB 2 7 VSYNC LCDHSYNC e LCDPCK 4 5 9 AD2 RRID 5 TP XR 4 Poot ADT XM RRI6B 7 7 2 TED 4 gt 27 27 019 gt ESW 120 33 L D R98 NP 9 2 JTAG interface is shown in Figure 2 7 figure 2 8 14 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMABD3X User Manual 5V 12 12 SPIO MOSI SPIO NPCS3 ESW 110 33 L D CTS2 12 12 Figure 2 8 3 User interface is shown in figu
52. http www myirtech com support asp for more details Noted 1 The shipment will start in 3 biz days by Fedex Express it usually take 7 days to reach regular cities or regions 2 We will use DHL Express for West asia or middle east countries it usually take 7 days to reach regular cities or regions 3 The remote regions defined by Fedex DHL may cause delay 14 days in generally 4 Some countries have strict import policy we will help to make shipping invoice with you requirement like invoice value trade term custom statements and H S code etc Please contact us with these shipment requirements if your country has strict custom affairs Support and maintains MYIR provides 12 months warranty for hardware products if the defects or failures were not caused by wrong use Return steps for defective products 1 Please email or call us get a Return Merchandise Authorization RMA by providing purchase details and reasons for return defective incorrect etc 2 MYIR will make a shipping invoice list value total item description etc for you return request China have strict limit on return products so please use MYIR s shipping invoice to return items to avoid custom delay Contact Tel 86 0755 22929657 Fax 86 0755 2553 2724 Mail to sales myirtech com support myirtech com Website www myirtech com 82 MYIR TECH LIMITED www myirtech com
53. ically 3 7 4 Play MP3 Music Before playing music connect headphones or stereo to J11 U disk storages music and is inserted into USB interface Play music in U disk by mplayer command in terminal mount t vfat dev sda1 mnt Is mnt madplay mnt Dangerous mp3 Sounds will come from the headset Terminal information is shown as follow MPEG Audio Decoder 0 15 2 beta Copyright C 2000 2004 Robert Leslie et al Press Ctrl C to end playing music 3 7 5 Network Port Test 46 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 1 The development board connected to a PC using crossover Ethernet cable through the super terminal for a development board configuration is not the IP address of the current local area network LAN other equipment takes up Here use address 192 168 0 2 ifconfig ethO 192 168 0 2 up ADDRCONF NETDEV UP eth link is not ready macb f0028000 ethernet ethO link up 1000 Full IPv6 ADDRCONF NETDEV CHANGE eth0 link becomes ready 2 Test board to PC network by ping command here host IP 192 168 0 3 Ping development board in PC ping 192 168 0 10 Refer to figure 3 18 C FINDO S system32 cad exe Reply from 192 168 0 2 bytes 32 time lt ims Reply from 192 168 0 2 bytes 32 time lt ims Reply from 192 168 0 2 bytes 32 time lt ims Ping statistics for 192 168 0 2 Packets Sent 4 Received 4 Lost
54. if rootfs ubi of dev mtdO 9497640 records in 94976 0 records out 48627712 bytes 49 MB copied 0 73911s 65 8MB s 4 Mount UBIFS system file After completing the above step load ubi modules and attach to mtdO mount UBIFS file system like mounting ordinary mtd device Load ubi modules and attach to equipment sudo modprobe ubi mtd 0 2048 Create a new mount point mkdir fsmount Mount it by the following command sudo mount t ubifs 050 0 fsmount Is fsmount bin boot dev etc home lib media mnt proc sbin sys tmp usr var Now that mount UBIFS file system is successful 41 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 3 6 3 Modify UBIFS System Files After mount UBIFS file system successfully it can modify file contents such as add delete and modify files It should add compiled demo program hellomyir to system root directory The operation is as follows sudo cp hellomyir fsmount sync Is fsmount bin boot dev etc hellomyir home lib media mnt proc sbin sys tmp usr var 3 6 4 Regenerate UBIFS System File After modification it needs to regenerate file system by mkfs ubifs tool Enter the following command to generate a new UBIFS file system sudo mkfs ubifs r fsmount m 2048 e 126976 c 2024 o ubifs img mkfs ubifs parameter description Establish the system file directory m Minimum transfer u
55. igure 4 21 Ethernet configuration Ethernet Turn off Ethernet Ethernet configuration Configure Ethernet devices Figure 4 21 2 Configure Ethernet Select Dhcp to obtain dynamic IP Otherwise select Static IP to set IP address subnet mask DNS server default gateway manually Refer to figure 4 22 76 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real MYD SAMA5D3X User Manual Figure 4 22 3 After configure input string www baidu com Refer to figure 4 23 figure 4 24 9 www baidu con Figure 4 23 77 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual tog 31 haol23 Fal ES XE Figure 4 24 4 5 5 APK Test The contents of this chapter please refer to Android development environment and use Eclipse pdf 78 MYIR TECH LIMITED www myirtech com e M Y iR Make Your Idea Real MYD SAMASD3X User Manual Appendix 1 FAQ Q1 Report Connection USBserial COMxx not found XX port number and according to the situation such as host machine is COM13 then XX is 13 pop up logfile file contents As shown below Analysis and Answers This problem happens due to SAM BA connection failed please follow steps D Development board switch to 5 v power off position 2 Through the micro USB line connected to the PC and development board Connect the CP
56. inux image file ulmage pass startup parameters to Linux last boot Linux to start 3 When boot Linux kernel Android file system will be mounted automatically At this point Android system is booted 4 4 2 Compile System Files Android system is running on Linux based system so if build Android system set up a Linux based platform firstly 1 Decompression cross compiler tool to usr local compile AT91Bootstrap at91 SAMA5D3Xek Nand Flashboot 3 1 bin compile u boot to u boot bin refer to 3 5 1 3 5 2 3 5 3 3 5 4 2 Compile Linux kernell used in Android system Unzip Linux kernel to working directory cp media cdrom 05 Android Source Linux at91 linux at91 tar bz2 opt android cd opt android tar xvjf linux at91 tar bz2 linux at91 Compile Linux kernel make_image sh android 512mb For products with 256MB DDR2 please replace android 512mb with android 256mb After compile kernel ulmage in directory arch arm boot is Linux kernel programming 72 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual samabd31ek dtb sama5d33ek dtb sama5d34ek dtb sama5d35ek dtb is Android device tree image file what we need 4 5 Android System Application 4 5 1 USB Keyboard Test Insert USB keyboard to J24 press the NumLock key when the lights in the upper right corner turn green it shows USB keyboard can be used as far as on PC t
57. ion modules from the source code 4 Compile Qt and run application There are several Qt sample program in 04 Linux Source Qt Arm Qt Examples here is Masterdetail example how to use Qt cross compilation tool chain to compile Qt application and run on the target board D Copy program to Qt arm cd qt arm 54 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real MYD SAMA5D3X User Manual cp media cdrom 04 Linux_Source Qt_Arm Qt_Examples masterdetail tar gz tar xvzf masterdetail tar gz cd masterdetail Compile the Qt project qmake project qmake make If compilation error error QtSql QtXml No such file happens need to manually add file SQL XML to masterdetail Pro after edited project 8 After perform above command copy masterdetail to development board to run on Is masterdetail chmod 0777 masterdetail masterdetail qws The result is shown in the figure 3 21 Qt Music Archive File Help Artist Details Artist Ane Brun Number of Albums Spending Time With Morgan 2s Spending Time With Temporary Dive Ane Brun 2005 t2003 The Great October Sound Thomas Dybdah 2002 Stray Dogs Thomas Dybdahl 2003 One day you dance for me New York City Thomas Dybdahl 2004 Ompa Til Du Der T Kaizers Orchestra 2001 Evig Pint Kaizers Orchestra 2002 Maestro Kaizers Orchestra 2005 Figure 3 21 3 8 2 Qt
58. ional 5 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual Chapter 2 Hardware Resource Introduction 2 1 CPU module Base Board Resources Overview MYD SAMABD3X board features are shown in table2 1 Processor Atmel SAMA5D31 5D33 5D34 5D35 ARM Cortex A5 core Frequency at up to 536 2 Memory 512MB DDR2 SDRAM 256MB DDR2 for optional Flash 256MB Nand Flash 4MB Data Flash 16MB NorFlash 16 Bits USB USB HOST 2 2 2 2 Mini USB Host Device Audio Audio Input MIC Input Audio Output Network ETH 10 100M Ethernet Port ETH 1000M Ethernet Port Serial DBGU Serial USART1 JTAG JTAG Interface LCD Support 4 3 inch Touch Screen 6 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual Real Time Clock On RTC Board and backup 1 1 1 1 battery 20 Pins User Extended Interface Extended 30 Pins User Interface Extended Interface 60 Pins User Extended Interface Power 5V Power Input 1 1 1 1 SD Card Micro SD Interface 1 1 1 1 SD MMC SD MMC Interface 1 1 1 1 CAN Interface 0 0 2 2 RS485 RS485 Interface 1 1 1 1 User Button 1 1 1 1 Button System Button 3 3 3 3 Table 2 1 2 2 CPU module Introduction About C
59. lay Start Address 05300000 Refresh Display format Applet traces on DBGU Size in byte s 0100 ascii C 8 bit C 16 bit 32 bit infos bd Apply 0 00300000 0 00000004 0 50 529 0 5085258 0 2695 1 0x00300010 0x34D1A951 OxE821DB10 Ox2CFF7AEB 0x819A7091 3 0x00300020 0x05804910 OxD2D06583 OxBC4E4967 OxFB9BFO9D 0x00300030 0x804531B4 OxFC2A8002 OxABASC4F6 0 055 5 6 mandala tebe oda B patur Download Upload File Send File Name D SAMA5D3X Linux image u boot bit Receive File Name 040000 Size For Receive File 051000 DDRAM DataFlash AT45DB DCB EEPROM AT24 NandFlash NorFlash OTP One wire EEPROM SRAM SerialFlash AT25 AT26 Receive File Scripts Send Boot File 2 2 Execute Efasiliy VIUCKS DOLCI F Erasing blocks batch 5 Erasing blocks batch 6 F Erasing blocks batch 7 sam ba 2 12 1 96 NANDFLASH SendBootFilePmecc Sending boot file done sam ba 2 12 1 Figure 3 12 Download ubootEnvtFileNand Flash bin this file generated by sam ba when programing to 0 000 0000 Refer to figure 3 13 32 MYIR TECH LIMITED www myirtech com e Y iR Make Your Idea Real MYD SAMA5D3X User Manual File Script File at91sama5d3x Memory Display Start Address 0300000 Refresh 8
60. nit size e Logical size of erase block c The largest number of erase logic blocks 0 Specify the output file View smallest transfer unit size and logical erase block size by the following command 3t ubinfo dev ubiO ubiO Volumes count 1 Logical eraseblock size 126976 bytes 124 0 KiB Total amount of logical eraseblocks 2048 260046848 bytes 248 0 MiB Amount of available logical eraseblocks 0 0 bytes Maximum count of volumes 128 Count of bad physical eraseblocks 0 Count of reserved physical eraseblocks 20 Current maximum erase counter value 1 Minimum input output unit size 2048 bytes Character device major minor 250 0 42 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Present volumes 0 View erase block number by using the following command ubinfo dev ubiO 0 Volume ID 0 on ubiO Type dynamic Alignment 1 Size 2024 LEBs 256999424 bytes 245 1 MiB State OK Name rootfs Character device major minor 250 1 Then use ubinize tool to generate fsimage ubi file Firstly it needs to create configuration files of ubinize cfg vi ubinize cfg Enter the following save and exit ubifs mode ubi image ubifs img vol_id 0 vol_size 64MiB vol_type dynamic vol_name rootfs vol_flags autoresize vol_alignment 1 Enter the following command to generate final fsimage ubi file sudo ubinize m 2048 p 128 o fsimage ubi ubinize cfg
61. nter uboot console mode U Boot 2012 10 Jul 22 2013 10 26 52 CPU SAMA5D31 Crystal frequency 12 MHz CPU clock 528 MHz Master clock 5 132 MHz DRAM 512 MiB WARNING Caches not enabled NAND 256 MiB 0 In serial Out serial Err serial Net macbO Warning failed to set MAC address Hit any key to stop autoboot 1 2 Input the command print to print all the environment variables sets of the current uboot the value of the variable bootargs is the kernel boot parameters U Boot gt print baudrate 115200 bootargs console ttyS0 115200 mtdparts atmel nand 8M bootstrap uboot kernel ro rootfs rw rootfstype ubifs ubi mtd 1 root ubi0 rootfs Icdz480x272 bootcmd nand read 0 21000000 0x00180000 0 10000 read 0 22000000 0 00200000 0x380000 bootm 0 22000000 0x21000000 bootdelay 1 ethact macbO stderr serial stdin serial stdout serial 36 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Environment size 356 131067 bytes 3 4 3 inch LCD please refer to 2 if 7 0 inch LCD need to amend LCD 480 x272 in bootargs for LCD 800 x480 the command is as follow U Boot gt set bootargs console ttySO 115200 mtdparts atmel_nand 8M bootstrap uboot kernel ro rootfs rw rootfstype ubifs ubi mtd 1 root ubi0 rootfs 800 480 4 Enter the following command to save the new configuration of the kernel boot param
62. o input 4 5 2 Browse Picture Test 1 Select Gallery icon Refer to figure 4 15 WIDGETS el 91873 AndroidC alib Atmel Browser Calculator i Clock Dev Tools Downloads Email Ethernet j HelloMYIR Jack ORL Messaging Settings Figure 4 15 2 Click Gallery and select a picture folder Refer to figure 4 16 73 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Figure 4 16 3 View picture the result is shown in figure 4 17 Figure 4 17 4 5 3 Play Audio Test 1 Enter interface and Select Music icon Refer to figure 4 18 74 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual APPS WIDGETS al 91873 AndroidC alib Atmel Browser Calculator Camera Of LI Dev Tools Downloads Email Ethernet j HelloMYIR Jack Messaging Mus gt gt 5 Settings Figure 4 18 2 Select Songs option Refer to figure 4 19 Honey Honey www 7765 com 906 000400 765 com cO DPuOGA00 JXB RAPS EE Figure 4 19 3 Select a song to play As shown in figure 4 20 75 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Figure 4 20 4 5 4 Ethernet Test 1 Enter interface and select icon Ethernet refer to f
63. oard Service BBS of o o CERNET Southern Regional Center o oo o If you have any problems please send email to o o scutbbs scut edu cn o CERNETAP SA iere fe BBS 1 Add after YourlD to login for BIGS AB 9 25000 mm Aids 12970 _ guest Figure 3 19 3 7 7 Login board via telnet 1 Configure IP IP can allocate designated IP 192 168 1 166 instead ifconfig ethO 192 168 1 166 2 Start telenet service telnetd 3 Login board by telenet client Use telenet in windows telenet is available when adding system copments Win7 as example type command as follows telnet 192 168 1 166 Enter user name telenet user password telenet as show fogure 3 20 49 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual r Telnet 192 168 1 166 buildroot login telnet_user Password 5 pud home te lnet_user Figure 3 20 After login on board by telnet telenet_user can make operations and switch to super user by follow command su The current directory will change to root after this command Noted user cann t login by root authority directly the DVD provide telnent_user in Linux system for login by telenet 3 7 8 Mount NFS file system Noted here we build NFS server on Ubuntu as example 1 Build NFS server on Ubuntu 1 Install nfs kernel server sudo apt
64. on and Compile a arises M Sous 37 3 5 1 Create Working DITBCIOL yos ic ttp 37 3 5 2 Install Gross Compiler Tools E Posti re 38 3 5 3 Install AT91 Bootstrap Source and 38 3 5 4 Install uboot Source and Compile esses 38 3 5 5 Install and Compile Linux kernel Source 39 3 5 6 Install and Compile Linux File 39 3 6 Make Linux File System eC 40 3 6 1 Write Demo Program hellomyir eese 40 3 6 2 Mount UBIFS File Sy tem cs totae bre ard tre rr RE 40 3 6 3 Modify UBIFS System Files rA RES 42 3 6 4 Regenerate UBIFS System 42 8hef t eon 44 1 Touch Screen Calibration TR 44 dre PCAN 45 3 7 3 SD Card application ripe 46 3 7 4 Mus eee 46 2275 Network amen 46 37 6 Telnet 48 3 7 7 Login board telnet 49 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 2 7 8 MOUNT NFS SY SIS UT an a 50 3 7 9 RTO APG ANION I t 51 M CD 51 3 9 1 QUCIOSS compile tool CHAIN saei karte Stt ores inde Ee pira ku RE
65. r complete chapter 3 3 1 and 3 3 2 open CD ROM directory 02 Images Linux image LCD_4 3_ DDR2_512MB double click sama5d3xek_demo_linux_nandflash Then SAM will download Linux image automatically to board Entire download process takes about three minutes When logfile log automatically reset board there will be Linux start information Linux use please refer to chapter 3 7 3 3 4 Manual Download Note please pull out SD card before download otherwise an error may occur Take downloading of image for 4 3 inch LCD and 512MB DDR2 configure as example Using SAM BA manually download Linux all image files in this section can be founded in the product directory of the CD 02 ImageWinux imageW CD 4 3 DDR2_512MB 1 After complete chapter 3 3 1 and 3 3 2 open SAM BA to set corresponding parameters Connection is USB seriaNCOMXX XX is each computer s COM port choose it by actual situation here is board select at91samabd3x ek And then click Connect specific settings and connected results are shown in figure 3 4 3 5 SAM BA 2 12 S Select the connection USBserial COM4 Select your board at91sama5d3x ek M JLink speed default Y JLink TimeoutMultiplier o Customize lowlevel Connect Exit Figure 3 4 27 MYIR TECH LIMITED www myirtech com Y iR Make Your Idea Real MYD SAMASD3X User Manual File Script File at91
66. rce Qt Arm Qt 4 5 3 Tslib 1 4 tar gz sudo tar xvzf Qt 4 5 3 Tslib 1 4 tar gz C usr local There will be more than two directories qt4 5 3 arm and tslib in usr local qt4 5 3 arm contains tools libraries and header files used in cross compilation etc Tslib contains link libraries and configuration files used in touch screen 2 Set the system environment variables D If you haven t added arm Linux gnueabi to PATH here cross compiler path is ust local gcc linaro arm linux gnueabihf 4 7 2013 04 20130415 linux bin execute the following command export V PATH PATH opt gcc linaro arm linux gnueabihf 4 7 2013 04 20130415 linux bin 2 Set the environment variable Qt application development Execute the following command at terminal export PATH PATH usr local qt4 5 3 arm bin export LD LIBRARY PATH LD LIBRARY PATH usr local qt4 5 3 arm lib Or add the above command to etc profile so set these environment variables automatically when system login 3 Burning Qt library image Refer to 3 3 3 automatic download or 3 3 4 manual download to burn library image the Images has been set for Qt environment and already contains the libraries Qt application Commonly used supported by the function modules as shown in table 3 2 If the features provided can t meet actual demand Please refer to the next section 3 8 2 cross compilation Qt development environment to configure the required funct
67. re 2 9 5V 3V3 T J2 12 RXD0 8823214 lt __ TXD0_RS232 12 ME ch 9 12 PE25 QZ 19 12 PE26 23 1 gt 24 lt 22 m 21 7 9 PC18 gt 20 17 7 9 16 p Pc 7 lt 1 79 5V 3V3 J3 SCK1 RXD1 28 12 TXD2 5 lt RXD2 112 12 RTS2 C 52 2 PD11_SPIO_MOSI SPIO_NPCS3 ESW 110 33 L D 3V3 _ 59 a 57 PCO 1 MDIO gt PCS 3 L s i 1 PC3 E1 RX1 10 z Tx1 e 38 PC TXl 5 9 a 1 n 7 n 41 lt lt 5 12 6 1 PDS CIO CK gt 5 6 PD9 5 2910 28 ED 5597 8 E 204 5 E 6 Bug 5 lt 00 5 6 7 PB12 5 LA 5 5 T3 20 lt 20 5 P 5 PB22 5 5 H PB25 25 5 lt WAKE UP 4 5 gt SHDN 4 110 33 1 Figure 2 9 15 MYIR TECH LIMITED www myirtech com Make Your Idea Real 4 ISI interface is shown in figure 2 10 MYD SAMABD3X User Manual 110 TSW 115 07 L D 4 p ISI RST ZB RSTN 12 PE24 TWDi PC27 aT vppiopo R29 1 5k ISI VSYNC ISI HSYNC ISI PCK ISI DO ISI 01 ISI D2 d ISI D3 ISI D4 PA21 ISI D5 ISI D6 PCoB ISI D9 ISI 010
68. rganization Page size 128K Bytes 4Blocks top to bottom Block size 32k Bytes Read Operation e Random Read 25 us Serial Access 25 ns gt Fast Write Cycle Time Page Program time 200 us Typ Block Erase Time 20 us Typ gt Power VCC core 1 7 V 2 0 V e VCCQ 1 7 V 3 6 V Endurance 100 000 Program Erase Cycles Data Retention 10 Years 2 256MB nandflash key features Organization Page size 2K 64 Bytes Block size 128K Bytes 64 Pages Plane size 1056Mb 128K 4K x1024Blocks Device size 2112Mb 1056Mbx2planes gt Array performance e Read 25 Program 200 us TYP 1 8v 3 3V 10 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real User Manual Erase block 700us TYP Power 2 7V 3 6V Endurance 100 000 Program Erase Cycles Data Retention 10 Years 48 pin TSOP type1 CPL package Vv V WV signal Write protect entire device 2 2 5 ETHERNET Module ETHERNET key features are as follows Single chip 10 100 1000Mbps IEEE compliant Transceiver RGMII1 3 Interface support 25MHZ crystal is used to generate all required clocks Power down and power saving modes MDO MDIO Management Interface 48 pin bmm x 5mm QFN package WV Power supply VCC core 1 2 V VCCQ 1 0 3 3 V 2 5 V 2 3 Base Board Introduction 2 3 1 Power supply amp Push button
69. ry and start u boot 2 u boot Secondary boot program which is used for kernel image updates load kernel and boot kernel starts 3 u boot Env Configure environment variables and provide u boot running parameters such as ip address start a command kernel boot parameters 4 sama5d3x dtb Describe hardware device tree U boot DTB in the start up will Flash when the address of the file as the inlet parameters are passed to the kernel 5 Linux Kernel Design Linux 3 6 9 kernel for 6 Root FS The buildroot file system support QT graphical application 3 2 Software Resources Boot Boot Strap First boot program source code available program u boot Secondary boot program source code available Linux kernel only for MYD SAMA5D3X_ hardware Linux kernel Linux 3 6 9 source code available USB Host driver supports the mode of OHCI and USB Host EHCI transmission source code available USB Device USB Device Driver Gadget source code available Device Ethernet Ethernet driver source code available Drivers MMC SD MMC SD Card driver source code available NandFlash Smart Media driver source code NandFlash available 24 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual TWI I2C 2 driver source code available SPI SPI driver source code available WM8904 WM8904 Audio driver source code a
70. sama5d3x Memory Display Start Address 0800000 Refresh Size in byte s 0x100 ascii C 8 bit 16 bit 32 bit 0 00300000 0 00000004 OxSOBCCS29 0 5085258 OxE2695B1D 0x00300010 0 3401 951 0 8210810 Ox2CFF7AEB 0x819A7091 0x00300020 0x05B04910 0 02006583 0 4 4967 9 9 0 00300030 0 80453184 OxFC2A8002 OxABASC4F6 0 055 5 6 m DDRAM DataFlash AT45DB DCB EEPROM 24 NandFlash NorFlash One wire EEPROM SRAM X SerialFlash AT25 AT26 m Download Upload File Send File Name Receive File Address Size For Receive File 0 1000 byte s Compare sent file with memory Scripts Enable Serialflash SPIO CS0 Execute loading history file 0 events added SAM BA console display active Tcl8 5 9 Tk8 5 9 sam ba 2 12 1 sam ba 2 12 1 Figure 3 5 USBserial COM4 2 Click NandFlash tab and execute Enable NandFlash Erase All Enable OS PMECC parameters in Scripts tab Select an action and click next to Execute execution When Execute Enable OS PMECC Pop up dialog box click OK to use the default settings the specific operation is as follows in figure 3 6 SAM BA 2 12 at91samaS A Script File Help
71. speed USB2 0 Audio input audio output LCD interface CAN interfaces JTAG debug interface Serial port and Micro SD card interface The MYD SAMA5D3 board support Linux 3 6 9 and Android 4 0 4 and deliver full periphery driver source code help users to make quick software application and evaluation for ATMEL SAMA9D3 ARM Cortex A5 processors 1 2 Product Overview 5V Power ETHO ETH1 Telephone Debug Camera UART PW Switch JTAG Power LCD RS485 Touch CAN1 HDMI CANO Audio In USB Host x 2 Audio Out Mini USB MIC Battery EXT Interface USERKEY 5 NRST Wakup MMC SD Micro SD Figure 1 1 1 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual 1 3 Product Features The MYD SAMASDS integrates components and periphery interfaces for developing ARM Cortex A5 and its key features as follow gt High performance architecture Based on the ARM Cortex A5 core with floating point unit the SAMAS5D3 series is ideal for applications requiring high precision computing and fast data processing Features a 64 bit internal bus architecture and 32 bit wide DDR controller running up to 166MHz that offers up to 1328MB s of bandwidth gt Market leading low power consumption Ideal for battery operated applications the SAMA5D3 series consumes less than 200mW when running at maximum speed and under 0 5mW in low power mode Comprehensive peripheral set for connectivity and user interf
72. sr local qt4 5 3 arm bin export LD LIBRARY PATH LD LIBRARY PATH usr local qt4 5 3 arm lib Or add the above command to etc profile so set these environment variables automatically when system login 4 Transplant Qt to development board D Copy library to the board Compress Qt files cd usr local gqt4 5 3 arm tar zcf lib tar gz lib Copy lib tar gz to development board and then decompress mkdir p usr local qt4 5 3 arm tar xzvf lib tar gz C usr local qt4 5 3 arm 2 Set up environment variable Environment variable has been written in etc setqtenv execute following command on the development board 57 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual source etc setqtenv Or manually input Settings export LD_LIBRARY_PATH lib LD_LIBRARY_PATH export QTDIR usr local qt4 5 3 arm export T_ROOT usr local tslib export PATH T_ROOT bin PATH export LD_LIBRARY_PATH T_ROOT lib QTDIR lib LD_LIBRARY_PATH export TSLIB CONSOLEDEVICE none export TSLIB_FBDEVICE dev fb0 export TSLIB TSDEVICE dev input eventO export TSLIB_PLUGINDIR T_ROOT lib ts export TSLIB_CONFFILE T_ROOT etc ts conf export TSLIB_CALIBFILE etc pointercal export QWS_KEYBOARD USB dev input event1 export QWS MOUSE PROTO Tslib dev eventO export QWS FONTDIR QTDIR Ilib fonts 58 MYIR TECH LIMITED www myirtech com
73. t top grid 3 Compile install qt embedded D Decompress cp media cdrom 04 Linux Source Qt Arm Qt Source gt embedded linux opensource rc 4 5 3 tar gz tar xvzf qt embedded linux opensource src 4 5 3 tar gz cd qt embedded linux opensource src 4 5 3 Specify cross compiler 56 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual Edit mkspecs QWS Linux arm g qmake Conf vi mkspecs qws linux arm g qmake conf Enter following command arm Linux to be replaced by Arm none Linux gnueabi add LTS changes are as follows modifications to g conf QMAKE arm linux gnueabi gcc lts CXX arm linux gnueabi g lts QMAKE LINK arm linux gnueabi g lts QMAKE LINK SHLIB arm linux gnueabi g lts 3 Qt configuration configure prefix usr local qt4 5 3 arm xplatform qws linux arm g release opensource qt zlib qt libtiff qt libong qt libmng qt libjoeg make libs nomake docs embedded arm little endian qt freetype depths 8 16 24 qt gfx linuxfb qt kbd usb qt mouse pc qt mouse linuxtp qt mouse tslib qt sql sqlite qt3support l usr local tslib include L usr local tslib lib confirm license Enter configure help to look at parameters description Compile the installation make sudo make install 5 Set environment variables Execute following command at terminal export PATH PATH u
74. ure 4 4 Download Linux by SAM BA manually 1 After completed chapter 4 3 1 and 4 3 2 double click samba v2 11 there will appears interface Refer to figure 4 5 Select your board at91sama5d3x ek speed default TimeoutMultiplier Customize lowlevel Connect Exit Figure 4 5 2 Click Connect to enter SAM BA Refer to figure 4 6 63 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real User Manual at91sama5d3x Memory Display Start Address 05300000 Refresh imas oa DIGU Size in byte s 0400 5 ascii C 8 bit 16 bit 32 bit fee z Apply 0x00300000 0x00000004 OxDOBCC129 Ox5D95058F OxE2695B1D 0x00300010 Ox34D1A951 0x6821DB10 Ox2CFF72EB 0x819A7091 0x00300020 0x05B04910 OxDADO6183 OxFC4EC967 OxFB9BFOS9D 0x00300030 0x804431B4 OxFC2A8002 OxABAIC4F6 0 055 5 6 4 DDRAM DataFlash AT45DB DCB EEPROM 24 NandFlash NorFlash OTP One wire EEPROM SRAM SerialFlash AT25 AT26 Download Upload File Send File Name Receive File Address 00 Size For Receive File 0 1000 byte s Scripts Enable Serialflash SPIO CS0 Execute loading history file 0 events added
75. urrent Condition Under voltage Lockout Ensures that Switch is off at Start Up Output can be Forced Higher than Input Off State Open Drain Fault Flag Slow Turn ON and Fast Turn OFF WV Enable Active High Active Low USB HOST Interface circuit is shown in figure 2 13 8 lt gt 888 DV USB A D S W TH R Figure 2 13 2 mini USB Host Device key features are as follows 70 mQ High Side MOSFET 500 mA Continuous Current Thermal and short Circuit Protection Vv WV Accurate Current Limit 0 75A min 1 25 A max 18 MYIR TECH LIMITED www myirtech com MYR Make Your Idea Real User Manual Vv WV Operating Range 2 7V to 5 5V 0 6 ms Typical Rise Time Deglitched Fault Report Bidirectional Switch Ambient Temperature Range 40 C to 85 C ESD Protection Mini USB circuit is shown in figure 2 14 USBA_DM 3 USBA_DP 3 Figure 2 14 2 3 9 ETHERNET Module ETHERNET key features are as follows gt gt Vv V WV Single chip 10 100Mbps IEEE 802 3 compliant Ethernet Transceiver RGMII1 2 Interface support with 50MHz reference clock output to MAC and option to input 50MHz reference clock Programmable interrupt output On chip termination resistors for the differential pairs Baseline Wander Correction Power down and power saving modes 32 pin QF
76. vailable LCD driver support 4 3 inch Scalable 7 inch source LCD Controller code available RTC clock driver source code available 4 wire resistive touch screen driver source code Touch Screen available PWM pulse width modulation driver source code PWM available USART Serial port driver source code available LED driver including GPIO LED PWM LED driver LED source code available The buildroot file system support QT graphical System Files QT application source code available Table 3 1 3 3 Start Linux System 3 3 1 Install Download Tool Here use SAM BA v2 12 it can find in CD 03 Tools SAM BA sam ba_2 12 exe specific installation method please follow document Tools SAM BA sam ba install pdf Install pack 2 12 patch4 exe after 2 12 exe 3 3 2 Connect Board to PC 1 Connect Board to PC Please follow steps sequentially Specific steps are as follows D Switch development board to 5 v power off position 25 MYIR TECH LIMITED www myirtech com Make Your Idea Real User Manual 2 Connect to PC and board through mini USB 3 Disconnect JP1 and hold CS BOOT button At the same time switch development board to USB 5V If first time the PC opportunities prompt to install board driver Select SAM BA installation directory under the relevant position shown in figure 3
77. zip gettext sudo apt get install g xz utils cp media cdrom 03 Tools Cross_compiler gcc linaro arm linux gnueabihf 4 7 2013 04 20130415 linux tar bz2 sudo tar xjf gcc linaro arm linux gnueabihf 4 7 2013 04 20130415 linux tar bz2 C opt export ARCH arm export CROSS COMPILE opt gcc linaro arm linux gnueabihf 4 7 2013 04 20130415 linux bin arm linux gnueabihf 3 5 3 Install AT91 Bootstrap Source and Compile 1 Install Cd opt linux Bootstrap tar xvjf at91bootstrap tar bz2 cd at91bootstrap 2 Compile make mrproper make at91samabd3xeknf uboot defconfig make At91SAMA5D3Xek Nand Flashboot 3 1 bin in binary directory is AT91Bootstrap file Rename it to boot bin for automatic download AT91Bootstrap is a boot loader for ATMEL chip which initialize necessary hardware GPIO Clock SDRAM etc then copy uboot to SDRAM to run 3 5 4 Install uboot Source and Compile 1 Install cd opt linux U boot tar xvjf u boot at91 tar bz2 38 MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD SAMA5D3X User Manual cd u boot at91 2 Compile make distclean make samabd3xeknf 512MB config make If use the board carries 256MB DDRz2 please replace samabd3xeknf 512MB config with samabd3xeknf 256MB config U boot bin is U boot file that we download in u boot at91 directory 3 5 5 Install and Compile Linux kernel Source Code 1 Install cd opt linux
Download Pdf Manuals
Related Search
Related Contents
6 - SEW Eurodrive Installation and Service Manual LED JETSOLARIS Retrouvez plus d`infos dans le fichier PDF here - RFID Race Timing Systems SOPLADOR INALÁMBRICO A BATERÍAS DE IÓN DE LITIO DE 20V RASTEME SYSTEMS CO., LTD. Black & Decker BDH55 Use & Care Manual ADTRAN XS027 Satellite Radio User Manual Copyright © All rights reserved.
Failed to retrieve file