Cool stuff, I have to recompile this soon.
seen from United States
seen from United States
seen from France
seen from United States
seen from Türkiye
seen from Egypt
seen from Colombia
seen from United States
seen from Türkiye
seen from Egypt
seen from Japan
seen from Netherlands
seen from Australia

seen from Belarus

seen from Malaysia
seen from Spain
seen from United States
seen from China
seen from Australia
seen from Singapore
Cool stuff, I have to recompile this soon.
Configuring gpio on pandaboard linaro part 2
We left off at page 3719 of the technical reference manual for OMAP 4460. According to this page, we would want to set the following parameters.
register | description | value 8 | INPUTENABLE | 1 4 | PULLTYPESELECT | 1 3 | PULLUDENABLE | 1 2 - 0 | MUXMODE | 011
counting from the right, we have register "3-0" has the value of 1011 (base 2) = 11 (base 10) = b (base 16/hex) register "7-4" has the value of 0001 (base 2) = 1 (base 10) = 1 (based 16/hex) register "11-8" has the value of 0001 (base 2) = 1 (base 10) = 1 (based 16/hex)
so, we need to change the mux settings for this gpio to 0x11b.
--- start here ---
echo 0x11b > gpmc_ad13 cat gpmc_ad13
--> name: gpmc_ad13.gpio_37 (0x4a10005a/0x05a = 0x011b), b d18, t NA --> mode: OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE3 --> signals: gpmc_ad13 | kpd_col1 | c2c_data10 | gpio_37 | NA | sdmmc1_dat5 | NA | NA
ls /sys/class
--- stop here ---
Oh darn, I can't find /sys/class/gpio. Looks like I have to recompile the kernel. Information on how to do just that...
More on this on the next issue.
Configuring gpio on pandaboard linaro part 1
I don't think the linaro build for pandaboard has GPIO switched on by default. So this article is written to chronicle my journey to enabling GPIO on the Pandaboard ES. I'm a noob so please forgive me for not using the phrase, gpio interfacing from userspace.
Alright here goes.
Firstly read this literature and this. This should help you get going.
So according to these websites, you need to do the following...
--- start here ---
sudo bash grep GPIOLIB /boot/config-`uname -r` --> CONFIG_ARCH_REQUIRE_GPIOLIB=y --> CONFIG_GPIOLIB=y grep GPIO_SYSFS /boot/config-`uname -r` --> CONFIG_GPIO_SYSFS=y cd /sys/class/gpio
--- pause here ---
YIKES! If there is no directory called /sys/class/gpio... then probably your pin mux mode is not set to the GPIO functions. Here are links 1 and 2 to help you in do these sort of stuff.
Referring to the system reference manual, we find that the GPIOs have different mux modes. (Page 55 in the ES manual) I have GPIOs connected at GPMC_AD14 and GPMC_AD13 (pins 9 & 10 of J6).
Using this info, we can proceed with the mux config.
--- start here ---
cd /sys/kernel/debug/omap_mux #this is the place in userspace that magic (multiplexing) happens (at least for pandaboard) ls #to display all available interfaces cat gpmc_ad13 #change the latter to whatever port you wish to configure
--> name: gpmc_ad13.gpio_37 (0x4a10005a/0x05a = 0x000b), b d18, t NA --> mode: OMAP_PIN_OUTPUT | OMAP_MUX_MODE3 --> signals: gpmc_ad13 | kpd_col1 | c2c_data10 | gpio_37 | NA | sdmmc1_dat5 | NA | NA
### Okay this is a lot to handle, but notice that the 3 row of the output closely resembles the one that is reflected in the pandaboard system reference manual.
### according to page 198 of the OMAP 4460 data manual, GPMC is the General Purpose Memory Controller. Its an OMAP unified memory controller that interfaces ext. memory devices. Hmm....
### by the way "cat" means "concatenate" the file(s) and print on the standard output.
### We need to write the mux configuration to this "device", in HEXADECIMAL! Using the OMAP 4460 technical reference manual (5872 pages long!), we find (on page 3719) the pad configuration register functionality of the TI processor.
--- stop here ---
Pandaboard will be the death of me.
The most irritating part of pandaboard and OMAP 4460 processor is the dumb 1.8V logic level. It is extremely difficult to use i2c over this system.
Pandaboard ile ilgili dosyaları ilgili adresten rahatça erişebilirsiniz.
3D model çizimi - STP ve PRT formatında
PCB katman çizimi - DXF formatında
Box.net'in sağladığı hizmet için teşekkür ederim.
Pandaboard'a Linaro kurulumu
Pandaboard ES versiyonun için karşılaştığım en güncel linux dağıtımı Linaro oldu. Özellikle kurulduğu andan itibaren gelen bluetooth desteği göz ardı edilemez. Aynı zamanda MATLAB 2012b ile birlikte gelen "target hardware" özelliği içinde MathWorks bu dağıtımı desteklediğini belirtmişti.
Kurulum aşamalarını aşağıdan takip edebilirsiniz.
Linaro dağıtımının bize uygun sürümünü http://www.linaro.org/downloads/ adresinden indiriyoruz. Bu yazıyı hazırlarken dağıtım, Ubuntu 12.09 Desktop sürümü üzerine gidilmişti. (İşletim sistemimiz lt-panda-x11-base-precise_ubuntu-desktop_20120924-329.img.gz gibi bir pakette ...)
Ardından (Windows işletim sistemi kullandığınızı var sayıyorum) "Win32 Disk Imager" adlı programımızı https://launchpad.net/win32-image-writer adresinden temin ediyoruz. Bu ufak program sayesinde SD kartınıza IMG veya RAW uzantılı önceden derlenmiş linux dağıtımlarınızı basit bir arayüz altında kurabiliyorsunuz.
Win32 Disk Imager programını açıp imajımızı ve SD kartımızı seçiyoruz. Burada cihaz adını girerken çok dikkatli olmanızı tavsiye ederim.
İmaj ve biçimlenecek cihaz seçildikten sonra "Write" komutu ile imajı SD karta yazma işlemi başlatılabilir. Bu aşamada SD karta zarar verebileceği uyarısını kabül etmemizde sorgulanmaktadır.
Yazma işlem hızı SD kartınızın performansına göre farklılık gösterebilir ama her şey yolunda gider, elektrikler kesilmez veya Windows Update bir anda işletim sisteminizi yeniden başlatmazsa işlem başarı ile bitebilir.
NOT: Bu işlemleri epey bir yaptım, bir keresinde elektrikler kesilmesine rağmen SD karta birşey olmadı ama biraz ömrüm törpülendi. Teşekkürler TEDAŞ (!)
SD kart başarıyla yazıldıktan sonra güvenle kaldırıp Pandaboard'umuza takabiliriz.
Pandaboard'un enerjisini vererek SD kartın boot etmesini bekliyoruz. Dilerseniz RS232 girişinden boot işlemini takip edebilirsiniz. Yada monitörünüzden verbose adımlarını ve ardından Linaro masaüstü ekranının gelmesini takip edebilirsiniz.
Linaro, canlı (live) CD gibi çalışmaktadır. Varsayılan ayarlarından bizi en çok etkileyecek klavye düzenidir. Bunu da rahatlıkla ayarlar kısmından gerçekleştirebilirsiniz. İleriki yazılarda Linaro'da genel ayarlar üzerine yine detaylı açıklamalar olacaktır.
NOT: Linaro dağıtımında varsayılan kullanıcı adı ve şifre "linado" dur. "sudo" komutlarını bu kullanıcının şifresi ile gerçekleştirebilirsiniz.
Pandaboard için adaptör veya SMPS kullanırken giriş jakının orta ucunun (+) Pozitif olduğundan emin olunuz !
Pandaboard'u MATLAB hedef donanımı (target hardware) olarak çalıştırabilirsiniz !
Kaynakça: http://www.mathworks.com/academia/pandaboard/index.html