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

Login with username, password and session length
May 22, 2012, 04:01:16 AM
News: Welcome to GLomation peer support forum
Pages: [1]
Topic Tools  
Read October 19, 2010, 02:12:16 PM #0
dann

Disabling periphericals

Hello,

Can anybody tell me how to disable the peripherals which I don't want use during execution of my program? My application needs only USB (for the wireless card) , Ethernet port,  Timer and debugging serial port. I need to be sure that the system wont be disturbed by the other peripherals.

Thank you for any help.
 
Read October 19, 2010, 03:37:03 PM #1
admin

Re: Disabling periphericals

Some of the drivers needs to be disable via kernel configuration and some needs source code modification.  To disable other serial ports you need to modify source code file /arch/arm/mach-at91/board-sam9260ek.c in function static void __init ek_map_io(void).  Just comment out the lines that configures the USART ports that you don't need.  In the kernel configuration you need to go through all the sections and disable all the features such as SPI, I2C, SD card, sound, etc.

 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re