Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
May 22, 2012, 03:55:53 AM
News: Glomation introduces new GECM-9G25 SODIMM system on module
Pages: [1]
Topic Tools  
Read September 29, 2010, 12:55:33 PM #0
aadelgadov

how to disable RS-232 No. 1 on GESBC-9G20 via software

I will try to use gpio pins PB[4,5, 22:26] by removing the MAX3243C chip from the SBC.
How can I locate the file I have to modify to get the software working accordingly to the previous mentioned change.

Thanks.
 
Read October 01, 2010, 10:12:03 AM #1
admin

Re: how to disable RS-232 No. 1 on GESBC-9G20 via software

The C source file is /arch/arm/mach-at91/board-sam9g20ek.c

Lines 59 - 65 enables two USART

 59         /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
 60         at91_register_uart(AT91SAM9260_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS
 61                            | ATMEL_UART_DTR | ATMEL_UART_DSR | ATMEL_UART_DCD
 62                            | ATMEL_UART_RI);
 63
 64         /* USART1 on ttyS2. (Rx, Tx, RTS, CTS) */
 65         at91_register_uart(AT91SAM9260_ID_US1, 2, ATMEL_UART_CTS | ATMEL_UART_RTS);

Comment these lines out.

 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re