홈 > 고객/기술지원 > Q & A
i.MX8M | MV8895 | MV8890 | MV7420 | MV5260 | MV5422 | MV4412TAB | MV4412 | S5PV210 | iMX6Q | AM3358
Android | Linux | Windows CE | Firmware
 
Re, mv2450 질문(USB, 디버그 포트)
등록인 : 마이크로비젼 |

>안녕하세요
>
>mv2450보드를 사용하고 있는 필로시스의 김수환입니다.
>
>몇가지 문의 사항이 있습니다.
>
>1. 현재 저희가 가지고 있는 보드의 usb device단자와 pc를 연결하여 cdc로 통신을 하려고 하는데요.
> pc쪽에서 보드를 인식하지 못해 진행을 못하고 있습니다. 어떻게 해야하나요?
> (usb cdc를 사용하기 위한 구체적인 방법도 알려주세요)
>
>2. usb host 단자에 usb2serial 칩인 pl2303가 들어가 있는 케이블을 연결하여 사용하려고 하는데요.
> cat > ttyUSB0을 하면 no such device라고 나오고 연결이 되질 않네요 무엇인 문제인가요?
>
>3. 디버그 포트로 설정되어 있는 com3를 사용하려고 하면 시스템이 다운되어 버립니다.
> 어떻게 해야하나요? (cat > ttySAC3 사용시 다운됨)
>
>아래사항은 로그출력 화면 내용입니다.
>
>빠른 기술지원 부탁드립니다.
>
>
>
>
>U-Boot 1.3.4 (Oct 30 2009 - 22:40:09) for SMDK2450
>
>
>CPU: S3C2450@400MHz
> Fclk = 800MHz, Hclk = 133MHz, Pclk = 66MHz
>Board: SMDK2450 Mobile DDR
>DRAM: 128 MB
>Flash: 1 MB
>NAND: 128 MB
>In: serial
>Out: serial
>Err: serial
>Net: smc911x
>Hit any key to stop autoboot: 0
>
>NAND read: device 0 offset 0x40000, size 0x300000
> 3145728 bytes read: OK
>Boot with zImage
>
>Starting kernel ...
>
>Uncompressing Linux.................................................................................................................................. done, booting the kernel.
>Linux version 2.6.24.2 rel-3-0-3 (root@philosys-linux) (gcc version 4.2.2) #351 Tue Jun 21 17:35:28 KST 2011
>CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
>Machine: SMDK2450
>Ignoring unrecognised tag 0x00000000
>Memory policy: ECC disabled, Data cache writeback
>CPU S3C2450 (id 0x32450003)
>S3C24XX Clocks, (c) 2004 Simtec Electronics
>S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666 MHz
>Warning: USB host bus not at 48MHz
>S3C2450: epll on 48.000 MHz, usb-bus 48.000 MHz
>CPU0: D VIVT write-back cache
>CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
>CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
>Built 1 zonelists in Zone order, mobility grouping on. Total pages: 12446
>Kernel command line: root=/dev/mtdblock2 rootfstype=cramfs init=/linuxrc console=ttySAC0,115200
>irq: clearing subpending status 00000002
>PID hash table entries: 256 (order: 8, 1024 bytes)
>timer tcon=00500000, tcnt d902, tcfg 00000200,00000000, usec 0000170a
>Console: colour dummy device 80x30
>console [ttySAC0] enabled
>Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
>Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
>Memory: 49MB = 49MB total
>Memory: 45324KB available (3644K code, 367K data, 208K init)
>Mount-cache hash table entries: 512
>CPU: Testing write buffer coherency: ok
>net_namespace: 64 bytes
>NET: Registered protocol family 16
>S3C2450: Initialising architecture
>S3C2443: IRQ Support
>S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
>DMA channel 0 at c3800000, irq 88
>DMA channel 1 at c3800100, irq 89
>DMA channel 2 at c3800200, irq 90
>DMA channel 3 at c3800300, irq 91
>DMA channel 4 at c3800400, irq 92
>DMA channel 5 at c3800500, irq 93
>DMA channel 6 at c3800600, irq 99
>DMA channel 7 at c3800700, irq 100
>usbcore: registered new interface driver usbfs
>usbcore: registered new interface driver hub
>usbcore: registered new device driver usb
>NET: Registered protocol family 2
>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
>TCP established hash table entries: 2048 (order: 2, 16384 bytes)
>TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
>TCP: Hash tables configured (established 2048 bind 2048)
>TCP reno registered
>NetWinder Floating Point Emulator V0.97 (double precision)
>JFFS2 version 2.2. (NAND) Aⓒ 2001-2006 Red Hat, Inc.
>yaffs Jun 21 2011 17:32:55 Installing.
>io scheduler noop registered
>io scheduler anticipatory registered (default)
>io scheduler deadline registered
>io scheduler cfq registered
>S3C_LCD clock got enabled :: 133.333 Mhz
>LCD TYPE :: LTE430 will be initialized
>GPF DATA : DAT :0xf0 CON:0x5500
>Window[0] - FB1: map_video_memory: clear ff200000:0007f800
> FB1: map_video_memory: dma=32980000 cpu=ff200000 size=0007f800
>Window[0] - FB2: map_video_memory: clear ff23fc00:0003fc00
> FB2: map_video_memory: dma=329bfc00 cpu=ff23fc00 size=0003fc00
>Console: switching to colour frame buffer device 60x34
>fb0: s3cfb frame buffer device
>lp: driver loaded but no devices found
>ppdev: user-space parallel port driver
>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
>s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
>s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
>s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
>s3c2440-uart.3: ttySAC3 at MMIO 0x5000c000 (irq = 94) is a S3C2440
>RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
>loop: module loaded
>eth0: LAN9215 (rev 0) at 0xc385e000 IRQ 48
>eth0: Ethernet addr: 00:09:c0:ff:ec:48
>Linux video capture interface: v2.00
>Request irq 81 for codec
>Request irq 82 for preview
>S3C FIMC v2.3
>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
>ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
>S3C NAND Driver, (c) 2007 Samsung Electronics
>S3C NAND Driver is using hardware ECC.
>NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
>Creating 4 MTD partitions on \"NAND 128MiB 3,3V 8-bit\":
>0x00000000-0x00040000 : \"Bootloader\"
>0x00040000-0x00400000 : \"Kernel\"
>0x00400000-0x03400000 : \"Root - Cramfs\"
>0x03400000-0x08000000 : \"File System\"
>usbmon: debugfs is not available
>s3c2410-ohci s3c2410-ohci: S3C OHCI
>s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
>s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
>usb usb1: configuration #1 chosen from 1 choice
>hub 1-0:1.0: USB hub found
>hub 1-0:1.0: 2 ports detected
>usb usb1: Product: S3C OHCI
>usb usb1: Manufacturer: Linux 2.6.24.2 rel-3-0-3 ohci_hcd
>usb usb1: SerialNumber: s3c24xx
>usb 1-1: new full speed USB device using s3c2410-ohci and address 2
>usb 1-1: device descriptor read/64, error -62
>usb 1-1: device descriptor read/64, error -62
>usb 1-1: new full speed USB device using s3c2410-ohci and address 3
>usb 1-1: device descriptor read/64, error -62
>usb 1-1: device descriptor read/64, error -62
>usb 1-1: new full speed USB device using s3c2410-ohci and address 4
>usb 1-1: device not accepting address 4, error -62
>usb 1-1: new full speed USB device using s3c2410-ohci and address 5
>usb 1-1: device not accepting address 5, error -62
>usbcore: registered new interface driver cdc_acm
>drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
>usbcore: registered new interface driver usbserial
>drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
>usbcore: registered new interface driver usbserial_generic
>drivers/usb/serial/usb-serial.c: USB Serial Driver core
>drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
>usbcore: registered new interface driver pl2303
>drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
>drivers/usb/serial/usb-serial.c: USB Serial support registered for TI USB 3410 1 port adapter
>drivers/usb/serial/usb-serial.c: USB Serial support registered for TI USB 5052 2 port adapter
>usbcore: registered new interface driver ti_usb_3410_5052
>drivers/usb/serial/ti_usb_3410_5052.c: TI USB 3410/5052 Serial Driver v0.9
>Loaded s3c-udc version Jun 21 2011
>mice: PS/2 mouse device common for all mice
>mv2450-buttons successfully loaded
>input: mv2450-buttons as /class/input/input0
>S3C Touchscreen driver, (c) 2008 Samsung Electronics
>S3C TouchScreen got loaded successfully : 12 bits
>input: S3C TouchScreen as /class/input/input1
>S3C24XX RTC, (c) 2004,2006 Simtec Electronics
>s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
>s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
>i2c /dev entries driver
>s3c2410-i2c s3c2410-i2c: slave address 0x10
>s3c2410-i2c s3c2410-i2c: bus frequency set to 378 KHz
>s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
>S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
>s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
>[s3c_hsmmc_probe]: s3c-hsmmc.0: at 0xc4e00000 with irq 37. clk src: hsmmc esysclk hsmmc-ext
>[s3c_hsmmc_probe]: s3c-hsmmc.1: at 0xc5600000 with irq 36. clk src: hsmmc esysclk hsmmc-ext
>Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 2007 UTC).
>ASoC version 0.13.1
>ear detect: interrupt request successed.
>WM9713/WM9714 SoC Audio Codec 0.12
>asoc: AC97 HiFi <-> s3c24xx-ac97 mapping ok
>ALSA device list:
> #0: SMDK2450 (WM9713)
>TCP cubic registered
>NET: Registered protocol family 1
>RPC: Registered udp transport module.
>RPC: Registered tcp transport module.
>s3c2410-rtc s3c2410-rtc: setting system clock to 2031-12-21 02:05:25 UTC (1955585125)
>VFS: Mounted root (cramfs filesystem) readonly.
>Freeing init memory: 208K
>mount /etc as ramfs
>cp: recursion detected, omitting directory \'/mnt/etc/network\'
>cp: recursion detected, omitting directory \'/mnt/etc/sysconfig/console\'
>cp: recursion detected, omitting directory \'/mnt/etc/sysconfig/networking/profiles\'
>INIT: version 2.86 booting
>INIT: /etc/inittab[45]: duplicate ID field \"3\"
> Welcome to Samsung SMDK System
> Press \'I\' to enter interactive startup.
> storage network audio done [ OK ]
>Setting clock : Sun Dec 21 03:05:28 MET 2031 [ OK ]
>Setting hostname Samsung: [ OK ]
>mount: mounting /dev/nfs on / failed: Invalid argument
>Enabling swap space: [ OK ]
>INIT: Entering runlevel: 3
>Entering non-interactive startup
>Starting system logger: [ OK ]
>Starting kernel logger: [ OK ]
>selected clock c03e3e30 (pclk) quot 35, calc 115740
>selected clock c03e3e30 (pclk) quot 35, calc 115740
>eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
>
>Samsung SMDK Board on a armv5tejl
>Samsung login:
>

마이크로비젼 기술지원팀입니다.

1번과 2번 작업을 보드 Host USB를 이용하여 작업을 진행하고 있는 것 같습니다. 현재 MV2450-LCD Linux에서는 Host USB는 구현이 안되어 있는 상태이기 때문에 테스트를 진행하시기 전에 먼저 Host
USB를 구현하셔야 합니다. 이점 참고하시길 바랍니다

3번 uart통신관련 작업을 진행하고 있는 것이라면 당사에서 구현한 디버그 포트를 사용하시지 마시고 다른 uart포트를 사용하여 테스트를 진행하시길 바랍니다. 디버그 포트는 출력 메시지와 명령어를 입력하기 위해서 구현한 포트이기 때문입니다. 다른 포트를 이용하여 테스트를 진행해 보시길 바랍니다.
덧글 0 | 엮인글 0
 





 
    564 / 2,662,734
서울특별시 구로구 구로3동 235번지 한신IT타워 1004호 TEL. 02-3283-0101 FAX. 02-3283-0160
사업자등록번호 : 116-81-51889 대표자 : 이현재 E-MAIL : sale@microvision.co.kr
COPYRIGHT 2004 (주)마이크로비젼 ALL RIGHTS RESERVED.
%3Cul+class%3D%22Klocation%22%3E%3Cli+class%3D%22first%22%3E%3Ca+href%3D%22..%2Fhome%2F%22%3EHOME%3C%2Fa%3E%3C%2Fli%3E%3Cli%3E%3Ca+href%3D%22..%2Fhome%2Fsub03.php%22%3E%EA%B3%A0%EA%B0%9D%2F%EA%B8%B0%EC%88%A0%EC%A7%80%EC%9B%90%3C%2Fa%3E%3C%2Fli%3E%3Cli%3E%3Ca+href%3D%22..%2Fhome%2Fsub03.php%3Fmid%3D51%22%3EQ+%26+A%3C%2Fa%3E%3C%2Fli%3E%3C%2Ful%3E