Home
Datasheet
Contents
1. 18 CHAPTER 3 MINI3250 SOFTWARE SYSTEM FOR LINUX ese ein ee eindes qure RR sama ua ak 20 DT srereife MRSA M 20 38 2 EIN I Kernel TER 20 3 2 1 Generate Kernel Image coiere PUER ENSEM QE GR Ge EG Ge cot FEN URS HEN ORE DEN FUND 20 3 2 2 Custom Linux kernel for M3290 N 23 CHAPTER 4 UPDATE IMAGE TO MINGS SO o n DRS GE Ee GR GO ee ee GE De 26 4 1 Bum Stag T de ie EE ER EE RE EE RT TER ER ie 26 4 1 1 Hardware requement sesse se ese se se se Ge ee Ge ee Ge Gee Ge Be Ge ee GR Ge Gee Se ee Re Ge ee ee AR Ge Gee Ge 26 da le ES ie e RE EE OE EE EE 26 4 1 3 Download the Stage 1 Loader to Mini3250 eese 27 4 2 Update UDOO ER 28 4 2 1 Update Uboot through UARTB se se se ee Re Ge ee Ge eee Re GR Ge Re Ge Re GR ee Ge Re Ge Re Re Ge ee 28 4 2 2 Update Uboot through MicroSD card stake AN ae kodes ee ene en um 29 4 3 Update Linux Kernel aseo d eee ne EA ie t t nde PN lis ee e ides 30 4 3 1 Update Kernel througt Network TFTP server sse 30 4 3 2 Update Kernel througt MicroSD Card ietsie sense Gee EN dee ee GE dee idee ee eg ge 31 4 4 Update JFFS2 MOSYSIBM 32 4 4 1 Update the JFFS2 filesystem through Network eese 32 4 4 2 Update filesystem through MicroSD Card sss 33 4 5 Customize Your Own 10206 DIES eie Ge ee ie AG ene ee ee Ge GN
2. Touchscreen interface Touchscreens gt Keyboards gt lt gt Devkit3250 Buttons support Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 25 of 41 T mlL Mini3250 User Manual Chapter 4 Update image to Mini3250 This chapter mainly descripte how to update the Bootloader kernel and the filesystem image to Mini3250 4 1 Burn Stage 1 Loader 4 1 1 Hardware requement In order to download the Stage 1 Loader to Mini3250 user need to extend the UART5 and starup mode of Mini3250 Mini3250 The pin need to expand are show as table 4 1 VDD33 RS232 SERVICE_N Figure 4 1 Table 4 1 Pin function VDD33 Power supply GND Ground U5 RX UART receive U5 TX UART send SERVER_N Start up mode select MR_RESET System reset 4 1 2 Enviroment setting Burnning the Stage 1 Loader to the Mini3250 the English Version Windows XP operating system is needed if your PC was installed the other vesion Windows XP system please follow the steps to set PC language enviroment 1 gt Open the area and language option form the control pannal 2 gt Select advance option and then change the language to English USA 3 gt At last press the OK button and reset the PC Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 26 of 41 T mlL Mini3250 User Manual 4 1 3 Download the Stage 1 Loade
3. 3 2 Linux Kernel If user need add or delete some character is respectively to or from kernel or increase certained hardware support to kernel To modify the drive compiled into kernel user need recompile the kernel The following steps will describe how to generate the kener image for the MINI3250 with the Linux develop kit in the supplied CD 3 2 1 Generate Kernel Image The supplied CD provide the Linux develp kit for the Mini3250 user can use it to coustomilize the system and generate the kernel image 1 gt Uncompress Linux kernel package The name of kernel source pack is linux 2 6 27 8 mini3250 tar bz2 Execute the following command to unzip bz2 pack Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 20 of 41 T mll Mini3250 User Manual tar zxvf linux 2 6 27 8 mini3250 tar bz2 C home mini3250 Caution file name may vary with the version upgrade please check it a gainst the file name appearing in supplied CD 2 gt Load default configurations In order that user could fast configure kernel root folder of kernel source code provides four default configuration files mini3250 480x272 mouse config for 4 3 inch LCD use mouse in QT mini3250 480x272 touch config for 4 3 inch LCD use touch screen in QT mini3250_800x480_mouse_config for 7 0 inch LCD use mouse in QT mini3250_800x480_touch_config for 7 0 inch LCD use mouse in QT Enter kernel source code folder generated exute mak
4. 1 code 66 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 38 of 41 T mlL Mini3250 User Manual type 1 code 67 type 1 code 68 65 66 67 68 is the key code we set in driver User can redefine the key code by editing file below drivers input keyboard buttons buttons devkit3250 c buttons info tab IRQ_GPI_01 0 INP STATE GPI 01 0 A Key1 IRQ_GPI_02 0 INP_STATE_GPI_02 0 B Key2 IRQ_GPI_08 0 INP STATE GPI 08 0 C Key3 IRQ_GPI_09 0 INP STATE GPI 09 0 D Key4 5 2 8 Uart Test Devkit3250 Device node of uarts register in Linux system dev ttySO gt Uart5 dev ttyS1 gt Uart3 dev ttyS2 gt Uart4 dev ttyS3 gt Uart6 IrDA dev ttyTXO gt Uart1 dev ttyTX1 gt Uart2 dev ttyTX2 gt Uart7 dev ttySCMAO gt Uart8 Devkit3250 SPI extend dev ttySCMA1 gt Uart9 Devkit3250 SPI extend Run command below root bit app com d dev ttyS1 SEND 1234567890 SEND 1234567890 Connet the RX and TX pin of Uart3 with jumper rerun the command root bit app com d dev ttyS1 SEND 1234567890 RECV 1234567890 Notes Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 39 of 41 T mlL Mini3250 User Manual Pin Discription 2 RX 3 TX 5 2 9 EEPROM Test Devkit3250 root bit app eeprom eeprom write 0x000010 hello Embest eeprom read 0x000010 hello Embest dump buf
5. 16 of 41 Rev 1 0 5 September 2012 T mlL Mini3250 User Manual ADDR O 12 ADDR 13 14 NCSO NSRAS DQMO DOMI DATA O0 15 DOM2 DOM3 DATA 16 31 LPC3250 Figure 2 6 SDRAM Function 2 6 3 NANDFLASH The NAND memory is comprised of a single 128MB chip located at U5 and is interfaced via the LPC3250 NAND memory bus The function description of the Mini3250 NANDFLASH is shown as figure 2 7 more information please refer to the schematic of the Mini3250 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 17 of 41 T mlL Mini3250 User Manual LPC3250 NANDFLASH Figure 2 7 NANDFLASH function 2 6 4 NORFLASH The NORFLASH memory is comprised of a single 2MB to 16MB chip located at U13 The function description for the NORFLASH circuit module is shown as figure 2 8 u em OE Est C LPC3250 NORFLASH Figure 2 8 NORFLASH function 2 6 5 LED There are two LEDs in the Mini3250 D1 is used for the power indication and D2 is provided for development purposes The LED s status is show as table 2 7 Table 2 7 LED s status STATUS ON OFF D1 Mini3250 Power ON Mini3250 Power OFF D2 GPO 901 in low level GPO 01 in high level Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 18 of 41 T mlL Mini3250 User Manual The location of the User LED and the functi
6. 4 3 Update Linux Kenel In this version of Uboot we provide two way to update kernel one is throught netwrok TFTP server and the other is through the MicroSD card user can select one of them to update the kernel image if it is necessary 4 3 1 Update Kernel througt Network TFTP server In order to download the Linux kernel by network User should expand the Ethernet module and UARTS serial moudle for Mini3250 shown as figure 4 5 VDD33 UARTS J RS232 PC m Mini3250 GND Figure 4 5 The follow steps will describe how to download the kernel image through TFTP server 1 gt Run serial communicating tool i e hyper teminater under Windows XP or minicom under the Linux opeating system on you developing platform and set the communication paramter to com1 115200 8n1 2 gt Install the TFTP server to your develop platform Make sure there is ulmage kernel file in the folder where tftp server is provided on PC power on Mini3250 and then press the SPACE key to get into the Uboot command line atfter the terminate prompt the press any key to 3 gt Input the follow command in the Uboot command line to set the kernel start enviroment note the ip address of the TFTP server and Mini3250 must in the same segment setenv bootfile ulmage setenv fileaddr 80100000 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 30 of 41 T mlL 4 gt 5 gt Mini3250 User Man
7. ENET TXD3 of LPC3250 ENET MDC Connect to GPIO 02 KEY ROWG ENET MDC of LPC3250 ENET RXDO Connect to KEY COLA ENET RXDO of LPC3250 ENET RX ER Connect to KEY COL2 ENET RX ER of LPC3250 ENET TXD1 Connect to KEY ROW5 ENET TXD1 of LPC3250 ENET TX ER Connect to KEY ROWO ENET TX ER of LPC3250 ENET CRS Connect to KEY COL3 ENET CRS of LPC3250 ENET TXDO Connect to KEY ROWA ENET TXDO of LPC3250 ENET TX CLK Connect to KEY COLO ENET TX CLK of LPC3250 ENET TXD2 Connect to KEY ROW1 ENET TXD2 of LPC3250 ENET MDIO Connect to GPIO 03 KEY ROW7 ENET MDIO of LPC3250 ENET COL Connect to GPI 09 KEY COL7 ENET COL of LPC3250 USB signal USB D Connect to USB D of ISP1301 with ESD protection USB D Connect to USB D of ISP1301 with ESD protection USB ID Connect to ID of ISP1301 SD signal MS DIOO Connect to MS DIO0 MAT0 0 of LPC3250 with 10kOHM pull up MS DIO1 Connect to MS DIO1 MATO 1 of LPC3250 with 10kOHM pull up MS DIO2 Connect to MS DIO2 MATO 2 of LPC3250 with 10kOHM pull up MS DIOS Connect to MS DIOS MATO 3 of LPC3250 with 10kOHM pull up MS SCLK Connect to MS SCLK of LPC3250 with 10kOHM pull up MS BS Connect to MS BS of LPC3250 with 10kOHM pull up GPIO 01 Connect to GPIO 01 of LPC3250 and MicroSD slot detect pin Power signal VDD33 Mini3250 main power supply and power supply for LCD VCC5 USB HOST and power supply for LCD VSBAT LPC3250 RTC back up power supply GND GND of Mini3250 PWM signal PWM OUT2 Connect to PWM OUT2 LCDVD 19 of LPC
8. kua 34 5 1 Hardware Connection essent tette tenete tne tenete rennen tenen rene 36 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 3 of 41 T mlL Mini3250 User Manual 5 2 Hyper Terminal COMI EAN E M 36 5 2 LINUX Software Usage Cm 36 5 2 1 Command rz Receiving File from PC sosio eis sos es sees ek eed eed eds ie 36 5 2 2 Command tftp Receiving File From TFTP Server sss 37 5 2 9 Usmo USE DISK ER 37 5 24 Using MicroSD OT ska treet PI tren tant tr or rte enn tr eer tartar erent he 37 52 5 Terminate Program sae n tees oe e ate as ea ie ed redet are tede oae 37 5 2 5 Set System TIME soeur ede bs us devil ern ions vi uns Duci urn vt ue Leti ee euer ge Ge ee 38 5 2 7 Button Test Devkit3250 rro eet a REI REOR TENE ER cle 38 5 2 8 Wart Test DevKit8250 die nri ees fenem terere eh ee eg ee deci evo ee 39 5 2 9 EEPROM Test Devkit3250 siese MAU ERR eds Roe RUM boe DEB URN ie 40 5 2 10 Led 8 Beep Test Devkit3250 ee ee Re RA Re GR AA Re RA ee ener tnn 40 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 4 of 41 T mlL Mini3250 User Manual Chapter 1 Mini3250 Introduction Mini3250 is designed as a compact stable and reliable ARM based module board It is ready to be the core of your new product The Mini3250 measuring only 75mm by 55mm however it has integrated one LCD connector one MicroSD card sock
9. send an break to the Mini3250 by click the send break from the control submenu of the tera term 7 After download successes please Input the follow comand to write the Uboot to NANDFLASH from SDRAM TIMLL3250 gt erase 6 6 1 llerase the nandflash except the stagel lodaer area TIMLL3250 write 0x83fc0000 384 320 0 write the Uboot to Mini3250 NANDFLASH NOTE Try help command for command usage for example help erase 4 2 2 Update Uboot through MicroSD card Updating the kernel image through MicroSD card the hardware requirement is show as figure 4 1 The UARTS5 is optional as the UARTS just use for printing the imformation during update process The follow steps will show you how to update the Uboot through MicroSD card 1 Copy the u boot bin to the root directory of the MicroSD card 2 Insert the MicroSD card to the MicroSD card slot and then reset Mini3250 3 After Mini3250 detects the MicroSD card and the u boot bin in the MicroSD card it will update the u boot bin to the NANDFLASH automatically Loading bootloader to SDRAM from SD card Success Starting block erase U Boot update complete Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 29 of 41 T mlL Mini3250 User Manual Loading kernel to SDRAM from SD card File in SD root directory doesn t exist Loading Filesystem to SDRAM from SD card File in SD root directory doesn t exist Running Bootloader from NANDFLASH
10. with the usb cable provided with product Then terminal wil show scsi 1 0 0 0 Direct Access ChipsBnk SD MMCReader 4081 PQ 0 ANSI 2 sd 1 0 0 0 sda 1990656 512 byte hardware sectors 1019 MB sd 1 0 0 0 sda Write Protect is off sd 1 0 0 0 sda Assuming drive cache write through sd 1 0 0 0 sda 1990656 512 byte hardware sectors 1019 MB sd 1 0 0 0 sda Write Protect is off sd 1 0 0 0 sda Assuming drive cache write through sda sda sd 1 0 0 0 sda Attached SCSI removable disk Type command as below to mount the device root bit mount t vfat dev sda1 mnt Then the content in your USB disk will exist in directory mnt 5 2 4 Using MicroSD Card Insert MicroSD card in Mini3250 slot then terminal will show root bit mmc0 host does not support reading read only switch assuming write enable mmcO0 new SD card at address 0007 mmcbIk0 mmc0 0007 SD2GB 1931264KiB mmcblk0 p1 Type command as below root bit mount t vfat dev mmcblkOp1 mnt Then the content in your MicroSD will exist in directory mnt 5 2 5 Terminate Program Terminate current running program with Ctrl C Else terminate background program with command kill for example as below root bit ps PID Uid VmSize Stat Command 1 root 540 S init 2 root SW lt kthreadd 3 root SW lt ksoftirqd 0 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 37 of 41 T mlL Mini3250 User Manual 4 root SW l
11. 012 9 of 41 T mlL Mini3250 User Manual Table 2 2 signal mapping Signal Function system signal ONSW Connect to ONSW of LPC3250 TST CLK1 Connect to GPO 00 TST CLK1 of LPC3250 MR RESET Connect to nMR of MP811 with 100KOHM pull up NRESET Connect to RESET N of LPC3250 and NRESET of MP811 with 100KOHM pull up RESOUT Connect to RESOUT N of LPC3250 Memory bus signal ADDR 0 23 Connect to EMC A 0 23 of LPC3250 DATA 0 15 Connect to EMC D 0 15 of LPC3250 NBLS 0 1 Connect to EMC BLS 0 1 of LPC3250 EMC CS t 3 N Connect to EMC CS 1 3 N of LPC3250 NWE Connect to EMC WR N of LPC3250 NOE Connect to EMC OE N of LPC3250 UART signal U1 TX Connect to U1 TX of LPC3250 U1 RX Connect to Ui RX CAP1 0 GPI 15 of LPC3250 U2 TX Connect to U2 TX U3 DTR of LPC3250 U2 RX Connect to U2 RX U3 DSR GPI 17 of LPC3250 U2 HRTS Connect to GPO 23 U2 HRTS U3 RTS U3 TX Connect to U3 TX of LPC3250 U3 RX Connect to U3 RX GPI 18 of LPC3250 U3 CTS Connect to U2 HCTS U3 CTS GPI 16 of LPC3250 U3 DCD Connect to GPI 05 U3 DCD U3 RI Connect to GPI 28 U3 RI U4 RX Connect to GPI 19 U4 RX of LPC3250 U4 TX Connect to GPO_21 U4_TX LCDVD 3 of LPC3250 U5 RX Connect to U5 RX GPI 20 of LPC3250 U5 TX Connect to U5 TX of LPC3250 U6_IRTX Connect to U6 IRTX of LPC3250 U6_IRRX Connect to U6 IRRX GPI 21 of LPC3250 U7_RX Connect to U7 RX CAPO 0 LCD
12. 2 35 of 41 TimlL Mini3250 User Manual Chapter 5 Linux Application Development Guide 5 1 Hardware Connection Connect UART5 port of Mini3250 and serial port of PC with serial cable provided with product 5 2 Hyper Terminal Configuratin Open hyper terminal program on PC and set parameter as below 115200 Bits per second 8 Data Bits No Parity 1 Stop Bit No Flow Control 57600 HyperTerminal Da SE mm COM1 Properties Port Seitings Bi pes sere EEN v Data bits 8 Parily None Stop bits 1 Flow contrat None OF Cancel App auto detar Aro detect Figure 5 1 1 Hyper Terminal Parameter Configuration Power up the device and boot information will show in hyper terminal 5 2 Linux Software Usage 5 2 1 Command rz Receiving File from PC Type Linux command rz in shell mode root bit rz Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 36 of 41 T mlL Mini3250 User Manual Click right button of mouse choose send file then pop up a diagram choose the file you want to send Click button Send certain seconds later the file will exist in your current directory 5 2 2 Command tftp Receiving File From TFTP Server Type Linux command tftp in shell mode root bit tftp r filename g tftp server ip gt Eg tftp r myfile g 192 192 192 105 5 2 3 Using USB Disk Connect USB disk and Mini3250
13. 3250 JTAG signal NTRST Connect to NTRST of LPC3250 with OOHM to NRESET DBGEN Connect to DBGEN of LPC3250 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 12 of 41 T mlL Mini3250 User Manual TMS Connect to TMS of LPC3250 with 10kOHM pull up TCK Connect to TCK of LPC3250 with 10kOHM pull up TDO Connect to TDO of LPC3250 with 10kOHM pull up RTCK Connect to RTCK of LPC3250 TDI Connect to TDI of LPC3250 with 10kOHM pull up NOTE More electrical specification of the pins please refers to the Datasheet of the LPC3250 2 5 Interface description The interfaces layout of the Mini3250 is shown in Figure 2 4 40 ma J Buttom Figure 2 4 Interface Layout 2 5 1 LCD interface Mini3250 provides a FPC connector for the LCD interface There is an default 5V power supply on the LCD interface user can change the power supply to 3V by change the resistance to support a different LCD And it support the16bpp 5 5 5 and 16bpp 5 6 5 modes the LPC3250 LCD controller provides The LCD Interface consists of the following components gt LCD Power gt LCD panel data gt PWM controlled backlight and LCD enable gt Touch panel signal Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 13 of 41 T mlL Mini3250 User Manual Table 2 3 shows a detailed mapping of the LPC3250 LCD port signals Table 2 3 LCD Signal Assignment 1 VDD33 VCC5 PO
14. DFLASH The default pack of Mini3250 nfs includes several kinds of GUI graph interfaces flash_eraseall dev mtd3 lerase the filesystem partition mount t jffs2 dev mtdbloclk3 mnt tar xzvf mini3250 qtopia xxxxx tar gz C mnt xxxxx stand for the touch or mouse It correspond to the different GUI graph interfaces 4 4 2 Update filesystem through MicroSD Card Updating the filesystem image through MicroSD card the hardware requeiament is show as figure 4 1 the UART5 is optional as the UART5 just use for printing the imformation during update process The follow steps will show you how to update the Uboot through MicroSD card 1 2 3 gt 4 gt 5 gt 6 gt 7 gt 8 gt Mini3250 Copy rootfs_image jffs2 to the root directory of MicroSD card Copy loadme_fs bin to the root directory of MicroSD card Rename rootfs_image jffs2 to fs and loadme_fs bin to loadme bin Set SERVER_N pin at high level Insert the MicroSD card to the MicroSD card slot and then power up Mini3250 After the Mini3250 detects the MicroSD card and the fs in the MicroSD card it will download the filesystem to the sdram automatically Then system will run loadme bin It copies fs from sdram to NANDFLASH Remove MicroSD card and reset after nand write complete Loading bootloader to SDRAM from SD card File in SD root directory doesn t exist Timll Technic Inc User Guide Rev 1 0 5 September 2012 33 of 41 T mlL Loading kernel to SDRAM
15. Ground 8 VDD33 Power Power 2 6 Introduction of Circuit Module 2 6 1 Mini3250 memory mapping The memory mapping of the Mini3250 is shown as table 2 6 Table 2 6 Mini3250 memory mapping Start address End address Device CS note 0x0000 0000 0x7FFF FFFF IROM or IRAM CPU Internal Memories 0x8000 0000 Ox9FFF FFFF SDRAM EMC DYSCO 32bit width OxA000 0000 OxBFFF FFFF EMC DYSC1 0xC000 0000 OxDFFF FFFF RESERVED RESERVED RESERVED OxE000 0000 OXEOFF FFFF NORFLASH EMC CS0 8bit width OXE100 0000 OXE1FF FFFF EMC CS1 OXE200 0000 OXE2FF FFFF EMC CS2 OXE300 0000 OXE3FF FFFF EMC CS3 OXE400 0000 OxFFFF FFFF RESERVED RESERVER 2 6 2 SDRAM The Mini3250 SDRAM configured for 32 bit access using two 16 bit wide RAM chips at U3 and U4 The LPC3250 is capable of addressing a single RAM bank located at memory address 0x8000 0000 and extending to OX9FFF FFFF via the DYCSO signal But the permissible SDRAM memory access ranges of Mini3250 supplies for on board memory are 64Mbytes from Lower Memory Address 0x80000000 to Upper Memory Address 0x83FF FFFF The second SDRAM memory bank located on DYSC1 is not used on the Mini3250 Accesses to this region of memory should not be performed The function description of the Mini3250 SDRAM is shown as figure 2 6 more information please refer to the schematic of the Mini3250 Mini3250 User Guide Timll Technic Inc
16. HM pull up MS DIO 3 0 Output MicroSD card data lines with 10kOHM pull up GPIO 01 Input Detection signal with 200kOHM pull up The function description of the Mini3250 MicroSD card socket is shown as figure 2 5 CLK uS plow wx __ nara MicroSD card socket MS_SCLK GPIO_01 LPC3250 Figure 2 5 Function description 2 5 3 USB interface The Mini3250 provides a USB OTG interface with a Mini AB OTG connector The signals of the connector connect to LPC3250 through the OTG ATX from NXP ISP 1301 The USB DATA pins are ESD protected The USB_VBUS signal is connected to a current limited power distribution switch TPS2045 output pin 2 5 4 JTAG interface Optional JTAG Connector of Mini3250 provides a JTAG connection interface to the LPC3250 Table 2 5 provides a detailed list of the signals at the JTAG connector You should cross reference this with your JTAG probe to ensure compatibility Table 2 5 JTAG Signal Assignment Pin No Signal Name Type Function 1 TMS input Test mode select input with 10k pull up 2 TDO output Test data output with 10k pull up 3 TDI input Test data input with 10k pull up Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 15 of 41 T mlL Mini3250 User Manual 4 TCK input Test clock input with 10k pull up 5 NTRST input Test Reset 6 NRESET output System reset 7 GND Power
17. IN MISO1 LCDVD 20 LCDVD 21 GPI 27 6 GPIO 04 SSEL1 LCDVD 22 SPI2 CLK SCK1 LCDVD 23 GPO 08 LCDVDI8 7 GPO 22 U7 HRTS U7 RX CAPO 0 LCDVD 10 U7 TX MAT1 1 LCDVDI11 LCDVD 14 GPI 23 8 U7 HCTS CAPO 1 GPO 21 U4 TX LCDVD 3 GPI 01 SERVICE N LCDCLKIN GPI 22 9 GPI 04 SPI1 BUSY GPI 07 CAP4 0 MCABOR GPIO 00 10 GND KEY COL4 ENET RXDO KEY COLS ENET RXD1 11 KEY COL3 ENET CRS KEY COL2 ENET RX ER KEY COL1 ENET RX CLK IENET REF CLK 12 KEY ROW4 ENET TXDO KEY ROWS5 ENET TXD1 KEY ROW3 ENET TX EN 13 KEY COLO ENET TX CLK GPI 02 CAP2 0 GPI 06 HSTIM CAP ENET RXD3 ENET RXD2 14 GPI 08 KEY COL6 GPI 09 KEY COL7 KEY ROW2 ENET TXD3 SPI2 BUSY ENET RX DV ENET COL 15 KEY ROW1 ENET TXD2 KEY ROWO ENET TX ER GPIO 02 KEY ROW6 ENET MDC 16 GPIO 03 KEY ROW7 DBGEN MR RESET ENET MDIO 17 RESET N TMS RTCK 18 TDO TDI TCK 19 NTRST U6 IRTX U6 IRRX GPI 21 20 U5 TX U5 RX GPI 20 GPO 12 MC2A LCDLE 21 GPI 19 U4 RX GPI 28 U3 RI GPI 05 U3 DCD 22 U3 TX U3 RX GPI 18 U2 TX U3 DTR 23 GPO 23 U2 HRTS U3 RTS U2 RX U3 DSR GPI 17 U2 HCTS U3 CTS GPI 16 24 U1 TX U1 RX CAP1 0 GPI 15 GND 25 ADIN2 TS AUX IN ONSW GPO 17 26 EMC BLS1 EMC BLSO EMC CS3 N 27 VDD33 VSBAT GND 2 4 Signal Mapping The signal mapping of Mini3250 is show as table 2 2 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2
18. Mini3250 User Manual Rev 1 0 Release 2012 09 05 T mll TimlL Mini3250 User Manual Revision History 1 0 2012 09 05 Initial version Contact information For additional information please visit http www timll com Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 2 of 41 T mlL Mini3250 User Manual Table of Contents CHAPTER 1 MINI3250 INTRODUCTION f m 5 1 1 Processor Introduction htt titer iride eec a Se Gee aE NEN E E duod 3 INT UI c 5 CHAPTER 2 HARDWARE ON UIE Es EE OE EN 6 2 1 Mini3250 system block diagram errore see ee ge Re Re Ge eaa Re Ge Re Ge Re GR ee aK Re Re Ge Re Ge ke 6 c GV OUE SE ts ER ED RE ee V E A 6 2 3 PIn Ve UR OE HE E p O P OLO 7 ZLOM so EE 9 2 9 Interface COSCHPLION 0 O O ed eee ee Ee ee 13 25 1 LOD interface is SE et ede tec e ed aes ered EG eere e e dn de ge De 13 25 2 MicroSD card ImnierideE iese Eie ee ic eek i a Ge ee ae ees Ge Oe Need 15 2 5 3 USB Interface SER Rr dre EE IR E EE kika ui Erde ia t 15 2 54 JTAG interface Optional eire risen rte rper ee ri dca UR He Dee Ke See Kees 15 2 6 Introduction of Circuit Module eT 16 2 6 1 Mini3250 memory mapping tnter tenens 16 26 2 SR RE EE E ERATES 16 2 6 3 MANDELA SEE sies a ee Ge ed ee n Ge ee be ee Ge ee ea ei 17 2 6 4 NORFLASH ee aet ee ee ee romeo Do ee eo ei eg Ge ee 18 N ODLED usa
19. N excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt 1qq99 99999999999999999999999999999999999999999999999999999999909999 Networking support gt Device Drivers gt File systems gt Kernel hacking gt Security options gt Cryptographic API gt Library routines gt Load an Alternate Configuration File Save an Alternate Configuration File SX X X X X X X X X X lt Select gt lt Exit gt lt Help gt 99999999999999999999999999999999999999999999999999999999999999999999999995 Figure 3 2 Enter configuration file names such as Mini3250 800480 mouse cfg and press Enter shown as figure 3 3 i xulb LINUXSERYER Ipc3250 mini3250 linux 2 6 27 8 Enter the name of the configuration file you wish to load Accept the name shown to restore the configuration you last retrieved Leave blank to abort k mini3256_860486_mouse cfg x 99999999999999999999999999999999999999999999999995 lt Ok gt lt Help gt qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqa j Figure 3 3 while in main menu select Exit to exit and save the settings 3 Compile image After loading configuration file save settings and exit then exute make ulmage command to Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 22 of 41 T mlL Mi
20. Progress gt 9 43 4 Figure 4 3 6 gt Driver the SERVER_N pin to low level and then driver the MR_RESET pin to low level to reset the Mini3250 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 27 of 41 T mll Mini3250 User Manual GND GND After the reset the system will start up from the UART5 and begin to download the application to Mini3250 from the PC then you can release SERVER N to high level Figure 4 4 show the download progress m Comport control r Status Terminal output com3 7 Enabling terminal mode Open Switching to programmed mode Waiting for BootID 5 found Cancel amp Sending A done Close port Expect Z nd BootId 5 found Sending U 3 done Expect R R found Sending startaddress done Enable Sending size done Terminal s ending code hd mode s Progress gt bytes sent 10007 92464 L 3037 Z4 Figure 4 4 7 After download finish The teminal outopt window will output the writing information Writing kickstart ICR page 0 Writing kickstart data Writing stage 1 application size info Writing stage 1 application Marking bootloader blocks as reserved Kickstart and stage 1 update complete NOTE Make sure the path of LPC3250_Loader exe doesn t contain any Chi nese character other wise it won t run normally 4 2 Update Uboot There two way to update the Ub
21. VD 10 GPI 23of LPC3250 U7_HRTS Connect to GPO 22 U7 HRTS LCDVD 1 4 U7 HCTS Connect to U7 HCTS CAPO 1 LCDCLKIN GPI 22 U7 TX Connect to U7 TX MAT1 1 LCDVD 11 of LPC3250 I2C signal l2C1 SCL Connect to l2C1 SCL of LPC3250 l2C1 SDA Connect to I2C1 SDA of LPC3250 l2C2 SCL Connect to I2C2 SCL of LPC3250 l2C2 SDA Connect to I2C2 SDA of LPC3250 12S signal Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 10 of 41 T mlL Mini3250 User Manual I2S1TX CLK Connect to I2S1TX CLK MAT3 0 of LPC3250 l281TX SDA Connect to I2S1TX SDA of LPC3250 I2S1TX WS Connect to 12S1TX_WS CAP3 0 of LPC3250 I251RX CLK Connect to P0 0 I281RX CLK of LPC3250 I2S1RX SDA Connect to GPI 00 I2S1RX SDA of LPC3250 Il281RX WS Connect to I2S1RX WS of LPC3250 SPI signal SPI2 CLK Connect to SPI2_CLK SCK1 LCDVD 23 of LPC3250 SPI1 CLK Connect to SPI1 CLK SCKO of LPC3250 MISO1 Connect to SPl2 DATIN MISO1 LCDVD 21 GPI 27 of LPC3250 MISOO Connect to SPI1 DATIN MISOO GPI 25 MCFB10f LPC3250 MOSI1 Connect to SPI2_DATIO MOSI1 LCDVD 20 of LPC3250 MOSIO Connect to SPI1 DATIO MOSIO MCFB2 of LPC3250 SSELO Connect to GPIO 05 SSELO MCFBO of LPC3250 SPI1 BUSY Connect to GPI 04 SPI1 BUSY of LPC3250 SPI2 BUSY Connect to GPI 08 KEY COL6 SPI2 BUSY ENET RX DV of LPC3250 SSEL1 Connect to GPIO 04 SSEL1 LCDVD 22 of LPC3250 ADC sign
22. WER Power supply Selected by R36 5V and R37 3V Power supply GND eov o toD pareto envo o ten parera toover o toD parera ficpvoze o toD parele ficovozs o toD parei c Weens Ic we Levo o tep parera toovp o ten parera eov o toD parei Lcvbis o toD pareta ficovois o toD pareta Lcovbis o ten parele c Weens c Neemet cvs o toD parera eov o ten parei ficovos o ten parera eov o ten parei m tcov o icbpmedwa s0 icoewa o LCD panel power enable Moje Noseme z Pwwoum o Back Light contr cow OTT data enable ouput sa vso Vertical synchronization puse ss usc o Horizontal synchronization puse 5 rook o jloopadcoek Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 14 of 41 T mlL Mini3250 User Manual TSXP VO Touch screen X plus TSYM TSYP VO Touch screen Y plus 2 5 2 MicroSD card interface Mini3250 owns a standard MicroSD card socket with plug detection design MicroSD card interface connects with the SD MMC card interface of CPU directly The detection signal uses the GPIO 01 of CPU Table 2 4 MicroSD card socket Pin Description Pin name Type Description MS SCLK Output MicroSD card clock output with 10kOHM pull up MS_BS Input MicroSD card command input with 10kO
23. al ADINO Connect to ADINO TS XM of LPC3250 ADIN1 Connect to ADIN1 TS_YM of LPC3250 ADIN2 Connect to ADIN2 TS AUX IN of LPC3250 GPIO signal GPO_02 Connect to GPO 02 MAT1 0 LCDVD 0 of LPC3250 GPO_03 Connect to GPO OS LCDVD 1 of LPC3250 GPO 04 Connect to GPO 040f LPC3250 GPO 05 Connect to GPO 05of LPC3250 GPO 06 Connect to GPO 06 LCDVD 18 of LPC3250 GPO 07 Connect to GPO 07 LCDVD 2 of LPC3250 GPO 08 Connect to GPO 08 LCDVD 8 of LPC3250 GPO 09 Connect to GPO 09 LCDVD 9 of LPC3250 GPO 10 Connect to GPO 10 MC2B LCDPWR of LPC3250 GPO 11 Connect to GPO 11 of LPC3250 GPO 12 Connect to GPO 12 MC2A LCDLE of LPC3250 GPO 14 Connect to GPO 14 of LPC3250 GPO 17 Connect to GPO 17 of LPC3250 GPO 20 Connect to GPO 20 of LPC3250 GPI 01 Connect to GPI 01 SERVICE N of LPC3250 GPI 02 Connect to GPI 02 CAP2 0 ENET RXD3 of LPC3250 GPI 07 Connect to GPI 07 CAP4 0 MCABORT of LPC3250 GPIO 00 Connect to GPIO 00 of LPC3250 Ethernet signal Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 11 of 41 T mlL Mini3250 User Manual ENET RXD1 Connect to KEY COL5 ENET RXD1 of LPC3250 ENET RX CLK Connect to KEY COL1 ENET RX CLK ENET REF CLK of LPC3250 ENET TX EN Connect to KEY ROWS ENET TX EN of LPC3250 ENET RXD2 Connect to GPI 06 HSTIM CAP ENET RXD2 of LPC3250 ENET TXD3 Connect to KEY ROW2
24. d File in SD root directory doesn t exist Running Bootloader from Block device U Boot 1 3 3 Jun 13 2010 15 10 33 DRAM 64 MB NAND 128 MiB In serial Out serial Timll Technic Inc User Guide Rev 1 0 5 September 2012 31 of 41 T mlL Mini3250 User Manual Err serial Hit any key to stop autoboot 0 NAND erase device 0 offset 0x1c0000 size 0x400000 Erasing at 0x5a0000 100 complete OK NAND write device 0 offset 0x1c0000 size 0x400000 4194304 bytes written OK Loading from NAND 128MiB 3 3V 8 bit offset 0x1c0000 Image Name Linux 2 6 27 8 Image Type ARM Linux Kernel Image uncompressed Data Size 1697112 Bytes 1 6 MB Load Address 80008000 Entry Point 80008000 4 4 Update JFFS2 filesystem When the file system in flash is damaged file system of flash is to be updated for some reason user can update it by downloading the filesystem through TFTP server or mounting root file system of PC using NFS The hardware reguemet are show as figure 4 1 Generate JFFS2 image for 2k page size NANDFLASH mkfs jffs2 r rootfs dir o rootfs_image jffs2 e 0x20000 s 0x800 pad 0x1e80000 n v Parameter pad Define the size of filesystem image It should be block aligned and match with nand write jffs2 If the file system you want to download is bigger than 60MB please refer to the 4 4 2 Update firesystem through the NFS server to update the file syst em 4 4 1 Update the JFFS2 filesys
25. e menuconfig command to configure the properties Cd home mini3250 linux 2 6 27 8 make menuconfig After that you will get into the Linux kernel configuration Shown as figure 3 1 Z xuIb LINUXSERYER Ipc3250 mini3250 linux 2 6 27 8 Linux Kernel Configuration Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes XN excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt AF oo EE EE EE EE EE EE General setup gt Enable loadable module support gt Enable the block layer gt System Type gt Bus support gt Kernel Features gt Boot options gt Floating point emulation Userspace binary formats Power management options x x x x x x x x x m lt Select gt lt Exit gt lt Help gt 99999999999999999999999999999999999999999999999999999999999999999999999995 Figure 3 1 Enter Load an Alternate Configuration File configurations shown as figure 3 2 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 21 of 41 T mlL Mini3250 User Manual i xulb LINUXSERYVER Ipc3250 mini3250 linux 2 6 27 8 Linux Kernel Configuration Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes
26. et and one USB 2 0 OTG port on board which helps to speed up your development sharply 1 1 Processor Introduction The Mini3250 is based on NXP s 32 bit ARM926EJ core microcontroller LPC3000 series which is the only ARM9 microcontroller that provides a vector floating point co processor The LPC3000 series is able to run in ultra low power mode even down to 0 9V as well as the lowest power consumption The LPC3000 series owns abundant peripheral resource one of the most distinguishing features is to provide 7 UART controllers which is rare in ARM microprocessors moreover it integrated a USB 2 0 OTG controller Ethernet controller and so on With such outstanding performance the Mini3250 is perfect to be employed in Industrial field Medical Equipment Intelligent Instrument Consumer Electronics Communication Product and etc 1 2 Features Microprocessor gt NXP LPC3250 operates at 208MHz up to 266MHz gt A32 KB instruction cache and a 32 KB data cache on chip gt Up to 256 KB of internal SRAM Memory gt SDRAM 64MB gt NANDFLASH 128MB gt NORFLASH 4MB up to 32MB supported Connector Extended via double 2 0mm pitch 3 lines 27 pin respectively connectors One JTAG port on the rear of the board Optional One 40 pin LCD connector MicroSD Card Socket gt One USB OTG 2 0 connector mini B type with ESD protection Indicator One power indicator One programmable LED Other facility gt Watchdog timer suppor
27. f rd 00000 68 65 6c 6c 6f 20 45 6d 0x008 62 65 73 74 21 00 00 00 5 2 10 Led amp Beep Test Devkit3250 root bit app led gpio opened Input key command a gt beep on b gt beep off c gt led on d gt led off a key 97 user b key 98 user c key 99 user d key 100 user gpio released AG root bit app 5 2 11 Audio Test Devkit3250 root bit app madplay music mp3 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 40 of 41 T mlL Mini3250 User Manual Notes The application source are in directory CD source application Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 41 of 41
28. from SD card File in SD root directory doesn t exist Loading Filesystem to SDRAM from SD card Success Running Bootloader from Block device U Boot 1 3 3 Jun 13 2010 15 37 30 DRAM 64 MB NAND 128 MiB In serial Out serial Err serial Hit any key to stop autoboot 0 NAND erase device 0 offset 0x5c0000 size 0x7a40000 Erasing at Ox7fe0000 100 complete OK NAND write device 0 offset 0x5c0000 size 0x1e80000 Writing data at 0x243f800 100 complete 31981568 bytes written OK Loading from NAND 128MiB 3 3V 8 bit offset 0x1c0000 Image Name Linux 2 6 27 8 Image Type ARM Linux Kernel Image uncompressed Data Size 1697112 Bytes 1 6 MB Load Address 80008000 Entry Point 80008000 4 5 Customize Your Own loadme bin Mini3250 User Manual loadme bin is used mainly used to update image to NANDFLASH from MicroSD card Now we will tell you how to build your own loadme bin to update your own image Extract u boot 1 3 3 loadme tar bz2 in CD source u boot 1 3 3_loadme tar bz2 tar jvxf u boot 1 3 3 loadme tar bz2 C home cd home u boot 1 3 3 loadme Open configration file vi include configs phy3250 h The only parameter you need to modify is Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 34 of 41 T mlL Mini3250 User Manual define CONFIG BOOTCOMMAND nand erase 5c0000 nand write jffs2 81000000 5c0000 1e80000 nboot 80100000 0 1c0000 b
29. kernel Run make menuconfig enter kernel configuration main menu Table 3 1 function PATH Option LED System T pe gt LPC32XX Enable a 1Hz LED heartbeat tick rate on Implementtations the Phytec LPC3250 MII RMII System Type gt LPC32XX chip Check to enable MII support or leave components disabled for RMII support UART System Type gt LPC32XX chip Enable UART5 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 23 of 41 T mlL Mini3250 User Manual components gt Standard UARTS Enable UART3 Enable UART4 Enable UART6 HSUART System Type gt LPC32XX chip Enable high speed UART1 components gt High speed UARTS Enable high speed UART2 Enable high speed UART7 I2C System Type gt LPC32XX chip Enable I2C0 components gt l2C interfaces Enable l2C1 Enable the USB OTG I2C peripheral SPI SSP System Type LPC32XX chip Enable SSPO for SPIO mode components gt SSP SPI interface MicroSD Device Drivers gt SD MMC support lt gt SD MMC block device driver card use bounce buffer for simple hosts LCD Graphics support Support for frame buffer devices LCD framebuffer support LCD Size System Type gt LPC32XX LCD module revisions Implementations gt X Select 4 3 inch LCD 480X272 Timll LOGO Graphics support gt bootup logo standard 224 color linux logo
30. ni3250 User Manual generate ulmage kernel Caution Compiling kernel requires compiler ver Arm linux gcc 4 3 2 version Pleas e install the Cross compile tools to your PC before you compile the kernel Make ulmage tmp umlinux2 tmp kallsyms2 S tmp kallsyms2 o umlinux SYSH P System map SYSH P tmp System map OBJCOPY arch arm boot Image arch arm boot Image is ready arch arm boot compressed head o arch arm boot compressed piggy gz arch arm boot compressed piggy o arch arm boot compressed misc o arch arm boot compressed umlinux OBJCOPY arch arm boot zImage Kernel arch arm boot zImage is ready UIMAGE arch arm boot uImage Image Name Linux 2 6 27 8 Created Wed Dec 9 15 29 16 2669 Image Type ARM Linux Kernel Image uncompressed Data Size 1648156 Bytes 1689 53 kB 1 57 HB Load Address 6x86668666 Entry Point 6x86668666 Image arch arm boot ulmage is ready xulb al INUXSERUER 1pc325 6 mini325 6 linux 2 6 27 8 Figure 3 4 Image file is generated at arch arm boot under kernel source code pack folder the kernel image ulmage that Uboot uses is generated 3 2 2 Custom Linux kernel for Mini3250 Above steps configure and compile kernel using default files in effect Linux kernel has quite a number of configuration options The following sections will describe some options in form of figures in order to help you learn kernel configurations as soon as possible so as to customize your own
31. nterface connector is shown in Table 2 1 Table 2 1 a Pin Allocation of Mini3250 1 of 2 No A B C 1 GND USB D USB D 2 GPIO 05 SSELO MCFBO SPI1 DATIO MOSIO MCFB2 SPI1 DATIN MISOO GPI 25 MCFB1 3 SPI1 CLK SCKO GPO 11 GND 4 l2C1 SDA I2C1 SCL l2C2 SDA 5 I2C2 SCL MS DIO3 MATO 3 MS DIO2 MATO 2 6 MS SCLK MS DIO1 MATO 1 MS DIOO MATO O 7 MS BS GPIO 01 I2S1TX WS CAP3 0 8 I2S1TX SDA I2S1TX CLK MAT3 0 GPI 00 I281RX SDA 9 I2S1RX WS PO O 2S1RX CLK GPO 20 10 GND GPO 14 GPO 05 11 GPO 04 GPO 00 TST CLK1 VCC5 12 EMC CS1 N USB ID EMC OE N 13 EMC WR N EMC CS2 N ADDR16 14 ADDR23 ADDR22 ADDR21 15 ADDR20 ADDR19 ADDR18 16 ADDR17 GND ADDR15 17 ADDR14 ADDR13 ADDR12 18 ADDR11 ADDR10 ADDR9 19 ADDR8 ADDR7 ADDR6 20 ADDR5 ADDR4 ADDR3 21 ADDR2 ADDR1 ADDRO 22 DATA15 DATA14 DATA13 23 DATA12 DATA11 DATA10 24 DATA9 DATA8 DATA7 25 DATA6 DATAS DATA4 26 DATA3 DATA2 DATA1 27 GND DATAO VDD33 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 8 of 41 T mlL Mini3250 User Manual Table 2 1 b Pin Allocation Pin Allocation of Mini3250 2 of 2 No D E F 1 ADINO TS XM GND GND 2 ADIN1 TS YM RESOUT N GND 3 GPO 02 MAT1 0 LCDVD 0 GPO_03 LCDVD 1 GPO_07 LCDVD 2 4 GPO 10 MC2B LCDPWR GPO O6 LCDVD 18 GPO 09 LCDVDI9 5 PWM OUT2 LCDVD 19 SPI2 DATIO MOSM SPI2 DAT
32. on description is shown as Figure 2 9 VDD33 Figure 2 9 Location of the User LED Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 19 of 41 T mlL Mini3250 User Manual Chapter 3 Mini3250 software system for Linux General NANDFLASH Partition Start Addr End Addr Size Name 0x0000 0000 0x000C 0000 0x000C 0000 SiL 0x000C 0000 0x0018 0000 0x000C 0000 U Boot 0x0018 0000 0x001C 0000 0x0004 0000 U Boot Parameter 0x001C 0000 0x005C 0000 0x0040 0000 Kernel 0x005C 0000 0x0800 0000 0x07A4 0000 Filesystem 3 1 Bootloader Bootloader for Mini3250 Linux system includes two parts one is Stage 1 Loader and the other is Uboot The Stage 1 Loader S1L is a robust third level boot loader written by NXP Semiconductor to simplify and enhance the LPC3250 booting procedure The S1L is feature rich with the ability to configure clocking virtual memory mapping data and instruction caches the ability to access NAND flash and the ability to boot applications images from the NAND flash SD Card or serial port to name a few of the features the S1L provides Mini3250 adapt Uboot as the Bootloader for Linux Uboot is a general free open source boot program that supports many kinds of processors it is similar to BIOS on PC but much more powerful Uboot supports features like booting from Ethernet and loading various kernels to NANDFLASH Uboot is free open source code software based on GPL
33. oot to the Mini3250 one is throught UART5 serial port And the other is through SD card Both of the two ways need to burn the Stage 1 Loader to Mini3250 first 4 2 1 Update Uboot through UART5 Update the Uboot to the Mini3250 the hardware connection show as figure 4 1 and then follow the steps to download the Uboot to Mini3250 and burn it to NANDFLASH 1 gt Run Tera Term Pro exe in the host PC Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 28 of 41 T mlL Mini3250 User Manual 2 Click the serial port from the set up submenu to configure the serial port communication paramter to com1 115200 8n1n and than click OK button 3 In order to get into the Stage 1 Loader command line please set GPI 02 or GPI 08 or GPI 09 to low level and then reset Mini3250 then terminal will show prompt TIMLL3250 gt 4 Input the the follow command to download the u boot bin to Mini3250 SDRAM TIMLL3250 load term raw 0x83fc0000 0x83fc0000 download the Uboot from PC thought UART5 5 After that the Tera Term Pro will prompt Starting terminal download send break to stop Please click the send file from the file submenu of the tera term to send the u boot bin to the Mini3250 NOTE when sending the u boot bin to the Mini3250 the binary protocol mus t be selected to transport the image you can select the binary option in the send file dialog 6 gt After the transmit complete Please
34. ootm That is the command system will run when u boot startup Before u boot startup the system automatically copy below files if exist to the specific address in SDRAM Meanwhile after complete copy u boot bin system burns it into NANDFLASH immediately so loadme bin doesn t need to burn u boot bin it s task is to burn ulmage or fs Filename MicroSD Copy to Addr SDRAM u boot bin Ox83FC 0000 ulmage 0x8010 0000 fs 0x8100 0000 Then we can split the CONFIG BOOTCOMMAND string into 3 command string define CONFIG BOOTCOMMAND nand erase 5c0000 nand write jffs2 81000000 5c0000 1e80000 nboot 80100000 0 1c0000 bootm D nand erase 5c0000 erase area from 0x5c0000 to the end of NANDFLASH 2 nand write jffs2 81000000 5c0000 1680000 write the image fs to NANDFLASH 8 nboot 80100000 0 1c0000 bootm read ulmage in NANDFLASH and boot Please take attention to the command nand write jffs2 The format is nand write jffs2 81000000 5c0000 lt filesize gt But how do we know the filesize It s defined by command mkfs jffs2 when you create jffs2 filesystem mkfs jffs2 r home nfs nfs3250 III o timll3250 jffs2 e 0x20000 pad 0x1e80000 s 0x800 n The parameter pad is the filesize of your jffs2 filesystem image Fill your own CONFIG BOOTCOMMAND string save the file Then type command below make phy3250 config make mv u boot bin loadme bin Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 201
35. r to Mini3250 The follow steps will show you how to download the Stage 1 Loader to Mini3250 1 Copy LPC3250 loader folder to your PC directory the path doesn t allow to contain any Chinese characters 2 Run LPC3250 loader exe application select the restore bin CD lmage to download to the Mini3250 3 Click the button to select the communication serial port 4 Enable the terminal mode if sucessul it will output the imformation in the terminal output window 5 Click the button to transmit the bin file to the Mini3250 see frame 5 LPC3180 Loader In xf File About LPC3250 loader V0 7 rev 34 m Program Flash pa sibl IRAM Address Size Program CAN T FIND NOTUSED Browse o5000004 Mo a Flash image Flash Address Size Full Erase CAN T FIND NOTUSED Browse fox0000 J E be patient F pian ot IRAM IRAM Address Size Lqad bin s Lestore4fin Browse 00000 Jox16830 tart prima Secondary Executable SDRAM SDRAM Address Size CAN T FIND NOTUSED Browse Jox80000004 m Uboot RootFS Kernel Images UBoot image SDRAM Address Size Download CAN T FIND NOTUSED Browse ox80000004 RootFS image SDRAM Address Size CAN T FIND NOTUSED _Browse 080000004 Ketnel image SDRAM Address Size CAN T FIND NOTUSED Browse Jo 80000004 M Compart control m Status Terminal output Cancel amp Close port Disable 3 erminal mode of gt
36. standard black and white linux logo standard 16 color linux logo Disable cursor when logo display USB Device Drivers input device lt gt USB supoort mouse support lt gt Support for Host side USB lt gt OHCI HCD support lt gt Event interface lt gt USB Human Interface Devices full HID support HID input layer support TOUCH Device Drivers input device lt gt Touchscreen interface support lt gt Event interface touchscreens lt gt LPC32XX touchscreen controller USB Disk Device Drivers gt USB support legacy proc scsi support lt gt SCSI disk support lt gt USB Mass Storage support Buttons Device Drivers gt lt gt Devkit3250 Buttons support Input device support gt Keyboards gt LED BEEP Device Drivers gt lt gt Devkit3250 GPIO device support Input device support gt Keyboards gt Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 24 of 41 T mlL Mini3250 User Manual Note Because UART4 and UART7 conflict with LCD driver please disable item below when enable UART4 or UART7 Device Drivers gt Graphics support gt lt gt Support for frame buffer devices gt ARM PrimeCell PL110 support Note When using mini3250 xxx mouse config please disable items below because all input events will affect mouse event So just only keep mouse input event Device Drivers gt Input device support gt
37. t events 0 258 root SW lt spi Ipc32xx 0 316 root SW lt rpciod 0 329 root 476 S lt sbin udevd daemon 353 bin 272S sbin portmap 369 root 168S usr sbin telnetd I bin login 371 root 740S sh 372 root 376 S usr sbin boa 376 root 656 R ps root bit kill 353 Then run command ps and the portmap program disappears 5 2 6 Set System Time Refer to command date help information root bit date help BusyBox v1 00 2005 04 24 17 33 0000 multi call binary Usage date OPTION MMDDhhmm CC YY ss FORMAT Displays the current time in the given FORMAT or sets the system date Options R Outputs RFC 822 compliant date string d STRING Displays time described by STRING not now I TIMESPEC Outputs an ISO 8601 compliant date time string TIMESPEC date or missing for date only hours minutes or seconds for date and time to the indicated precision S Sets time described by STRING r FILE Displays the last modification time of FILE u Prints or sets Coordinated Universal Time For example set time to 2010 6 12 13 12 you should run command below root bit date s 061213122010 Sat Jun 12 13 12 00 UTC 2010 If you want to store the time you set into rtc module please run below command root bit hwclock w 5 2 7 Button Test Devkit3250 root bit cd app root bit app button Then press KEY1 GPI 01 KEY2 GPI 02 KEY3 GPI 08 KEY4 GPI 09 type 1 code 65 type
38. ted with the microprocessor gt RTC VV VV Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 5 of 41 T mlL Mini3250 User Manual Chapter 2 hardware on Mini3250 This chapter describes the hardware circuit facility of the Mini3250 and a detailed description of the interface signals 2 1 Mini3250 system block diagram The block diagram of the Mini3250 is shown in Figure 2 1 OTG HEADER MELAND 0 TFT_LCD CONNECTOR TG_PHY Ed eg MM a DATA 15 0 a O OTAG p PIN ADDR 23 0 LPC3 25 0 WE OE CS GPO GPI GPIO IIS SDIO SPI IICBUS SUPERVISOR Bed NORFLASH Figure 2 1 Block Diagram of Mini3250 2 2 Layout The Mechanical Structure of Mini3250 is shown as figure 2 2 Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 6 of 41 T mlL Mini3250 User Manual 75 0mm 3 69 6mm E j 64 3mm S 54 6mm 33 4mm E d 18 8mm amp 9 4mm 1 3mm ih N M 55 0mm 53 6mm 52 2mm 10 5mm 14 imm 4 7 W VJ U W V 2 mm 65 3mm B Figure 2 2 Mechanical Structure of Mini3250 2o T NS o z 3 2 3 Pin Allocation The pin definition of the Mini3250 Expansion Interface is shown in Figure 2 3 Figure 2 3 Pin definition of the Mini3250 Expansion Interface Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 7 of 41 T mlL Mini3250 User Manual Pin Allocation of the Mini3250 Expansion I
39. tem through Network There two way to update the file system to FLASH through network one is through TFTP server and the other is through NFS 1 through TFTP server The operation of downloading the JFFS2 filesystem image to Mini3250 through TFTP server is almost the same as downloading the Linux kernel to Mini3250 after the hardware connection and environment setting please follow the steps to update the JFFS2 system through the TFTP server Mini3250 Timll Technic Inc User Guide Rev 1 0 5 September 2012 32 of 41 T mlL 1 Mini3250 User Manual Input the follow command in the Uboot command line to download the kernel to the SDRAM tftp 0x81000000 192 192 192 163 rootfs image jffs2 2 After the downlod complete please input the follow command to burn the filesystem to the NANDFLASH nand erase 5c0000 3a80000 nand write jffs2 81000000 5c0000 1e80000 2 through NFS server Update the filesystem throught the NFS require installing the NFS to the host PC Run following command when U Boot startup to set U Boot environment parameter setenv bootargs console ttyS0 115200n81 root dev nfs rw nfsroot lt nfs server ip gt home nfs nfs2440 III ip lt local ip gt lt nfs server ip gt lt gateway ip gt 255 255 255 0 eth0 off After booting system will mount nfs and enter console terminal After Mini3250 start up and mount the NFS please enter the follow command to update the special filesystem to the NAN
40. ual setenv serverip 192 192 192 163 setenv ipaddr 192 192 192 205 setenv gatewayip 192 192 192 101 setenv bootcmd nboot 80100000 0 1c0000 bootm Input the follow command in the Uboot command line to download the kernel to the SDRAM tftp 80100000 192 192 192 163 ulmage After the downlod complete please input the follow command to burn it to the NANDFLASH nand erase 1c0000 400000 nand unlock 1c0000 400000 nand write 80100000 1c0000 400000 nand lock 1c0000 400000 4 3 2 Update Kernel througt MicroSD Card Updating the kernel image through MicroSD card the hardware requirement is show as figure 4 1 the UART5 is optional as the UART5 just use for printing the imformation during update process The follow steps will show you how to update the Uboot through MicroSD card 1 gt 2 gt 3 gt 4 gt 5 gt 6 gt Mini3250 Copy the ulmage to the root directory of the MicroSD card Copy the loadme_kernel bin to the root directory of the MicroSD card and then rename it to loadme bin Set SERVER_N pin to high level Insert the MicroSD card to the MicroSD card slot and then power up Mini3250 After the Mini3250 detects the MicroSD card and the ulmage in the MicroSD card it will update the ulmage to the NANDFLASH automatically Remove MicroSD card and reset Loading bootloader to SDRAM from SD card File in SD root directory doesn t exist Loading kernel to SDRAM from SD card SUCCESS Loading Filesystem to SDRAM from SD car
Download Pdf Manuals
Related Search
Datasheet datasheet datasheet 360 datasheet pdf datasheet archive datasheet view datasheet catalog datasheet or data sheet datasheets360 datasheet esp32 datasheet4u datasheet lm35 datasheet 2n2222 datasheet meaning datasheet led datasheet search datasheet esp8266 datasheet arduino uno datasheet ne555 datasheet dht11 datasheet 2n3904 datasheet view access datasheet atmega328p datasheet bc547 datasheet gps module datasheets for datasets
Related Contents
(AC) Web User Manual - Chiyu Samsung RR19H1006SE User Manual Sony J-30SDI User's Manual Helios Ceiling Fan - Del Mar Fans and Lighting Methods for Verification of Network Timing and 光ファイバーセットアップガイド - 光ファイバー、インターネット接続サービス 6como confC360 QTP 03 - Grifo Copyright © All rights reserved.
Failed to retrieve file