Activity
From 04/26/2012 to 05/25/2012
05/24/2012
- TI 01:33 PM Software Development: RE: Flashing NAND from SD Card
- Raja
The MTD partitions set up in the kernel are also the positions uboot expects
things to be in
Creating 8 MTD partitions on "omap2-nand.0":
[ 1.088561] 0x000000000000-0x000000020000 : "SPL"
[ 1.094898] 0x000000020000-0x0000000400... - RV 11:47 AM Software Development: RE: Flashing NAND from SD Card
- Hi,
I could load bootloader to NAND and my boot log is as below. Flashed MLO at 0x0 and u-boot.img at 0x40000. u-boot image size is more than 256KB which will be written beyond the address 0x80000.
which address to write environmen...
05/21/2012
- RV 06:06 PM Software Development: RE: Flashing NAND from SD Card
- Hi Tim,
Do we have any answer on this.
I found one thing interesting from booting sequence of the board.
Below are the details on partitioning of NAND. Do we have to follow these adresses while flashing NAND? If so memory 0x260000... - MW 11:05 AM Software Development: RE: Usage of I2C1 to connect external peripheral
- The error you are seeing is from the I2C device not seeing the proper ACK response from the I2C slave device when it issues the request.
Can you get a scope on the I2C lines and set a trigger during either of the transactions above?
... - RV 10:57 AM Software Development: RE: Usage of I2C1 to connect external peripheral
- Hi Mike,
I am coming back to you after long time. we have created setup with the slave connected on mityarm.
Attaching application code for your reference.
#include<stdio.h>
#include<fcntl.h>
#include<unistd.h>
#include<sys/i...
05/18/2012
- RV 12:14 PM Software Development: RE: Flashing NAND from SD Card
- Hi Tim,
I have flashed as mentioned above.
But even now u-boot prompt is not appearing after booting from NAND.
Log is mentioned below.
U-Boot SPL 2011.09-00000-g23e81b9-dirty (Feb 24 2012 - 11:15:23)
Texas Instruments Revision ... - TI 10:42 AM Software Development: RE: Flashing NAND from SD Card
- Raja
Your uboot image is 373252 bytes long
you are only erasing/writing 0x40000, which is 262144 (256k)
try erasing 0x80000 and use the command
U-Boot# nand write.i 0x82000000 0x40000 ${filesize}
to write it.
cheers
/Tim - RV 10:08 AM Software Development: RE: Flashing NAND from SD Card
- Hi Tim,
I have followed your instructions and flashed NAND with MLO at 0x20000 and u-boot.img at 0x40000. but the booting stops during NAND boot. Ihave updated the log for your reference. Could you please check on this what could be w...
05/17/2012
- AB 09:54 PM Software Development: RE: Connecting JTAG to Mityarm board
- Raja,
Sorry about the delay but I did want to update the fact that I was able to have the debugger connect to my MityARM-3359 SoM through the 335x Development Kit from CCS5 using the XDS100v2 emulator.
Offhand I'm not sure which XI... - TI 06:01 PM Software Development: RE: Flashing NAND from SD Card
- Raja
The uboot spl (MLO) loads from nand at 0x00040000...
nand_spl_load_image: loading 2048 bytes from *0x00040000* to 0x80800000
you wrote the image of u-boot to flash at 0x00080000
U-Boot# nand erase *0x80000* 0x40000
U-Boot# nan... - Hi,
1. I have tried flashing NAND through SD boot. I have followed the steps mentioned in AM335x u-boot users guide.
Files used are by default provided with the MityArm SD card.
Steps followed are:
U-Boot# mmc rescan
U-Boot# m...
05/16/2012
- RV 05:42 PM Software Development: RE: Connecting JTAG to Mityarm board
- Hi Alex,
Thanks for your reply.
I will try with these files.
What are the sys-boot options i have to set while connecting to JTAG?
Thanks,
Raja. - AB 02:11 PM Software Development: RE: Connecting JTAG to Mityarm board
- Hello Raja,
Attached are both a gel file and a ccxml file that hopefully will get you going. The gel file has been used previously and should work for you with the MityARM-3359 SoM.
The ccxml file is setup for use with the XDS510 U... - TC 01:21 PM Software Development: RE: Connecting JTAG to Mityarm board
- Hi Raja -
Sorry for the delay in getting back to you on this. We are working this now and will have an answer for you as soon as we can.
Thanks,
Tom - RV 11:53 AM Software Development: RE: Connecting JTAG to Mityarm board
- Hi,
Do we have some inputs on this topic please?
Thanks,
Raja.
05/11/2012
- RV 12:23 PM Software Development: RE: Connecting JTAG to Mityarm board
- Hi Mike,
Yes, I am connecting to MityARM-3359 and not on TI eval board.
So i want to know what .gel file i need to select while configuring?
Is my sysboot options are correct as configuring XIP or any other configuration require... - MW 10:43 AM Software Development: RE: Connecting JTAG to Mityarm board
- Hi Raja,
Were you successful when you tried connecting the JTAG to the TI eval board?
I am assuming you are connecting to a MityARM-3359?
-Mike - Hi,
I have tried connecting JTAG XDS100V2 to the Mityarm evaluation board. Changed the boot options to give first boot option as XIP.
While configuring Code Composer CCS5.1 and target configuration section, which .gel file i need t...
05/07/2012
- AS 12:01 PM PCB Development: RE: Power Management w/ MityARM
- Mike,
Thanks for your response, it is really helpful to know how the PMIC is connected. I posted a question about how the tsp65910 Linux driver handles interrupts on the TI E2E forums and got a response from TI:
http://e2e.ti.com/su... - MW 11:06 AM PCB Development: RE: Reg. JTAG Reset and SD Card connection
- Hi Salam,
Thanks for the comments.
1. There is a 10K pull down on the JTAG Reset line so that the JTAG interface is held in reset in the absence of a JTAG emulator connection. The emulator should pull the signal high when it is co...
Hi,
As per the Mity carrier board design
1, the NRST of JTAG connector is permanently low,that means it is always in reset mode
Pls confirm.
2.No Pull-up resistor in SD Data lines and CMD line, Please confirm this also....
05/04/2012
- RV 03:50 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Hi Mike,
Thanks for the information.
I will check on the details provided by you.
Regards,
Raja. - MW 03:37 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Can you post your source code for the I2CTest (including the value of addr) and provide a specification to the device you are communicating with (part number, etc)? You are sending a buffer size of 5 down, are the remaining 3 bytes supp...
- RV 03:18 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Hi Mike,
Thanks for your response.
I am using I2C1 and using from application as /dev/i2C-2. This change of pin mux is only for my testing. In the final board we will be using the same pin mux used in the evaluation board. We are n...
05/03/2012
- MW 04:22 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Hi Raja,
Can you please post the full command lines for your output?
There are actually 3 I2C buses in play.
I2C0 is connected to ADS1000 (address 0x48) and port J700 on the DevKit Host board. It shows up as /dev/i2c-1 and is a... - RV 03:55 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Hi Tim,
Thanks for the reply.
Even my understanding is almost similar. But earlier I have tried with out connecting slave. Now I have connected the slave and still the error number is same and not able to write data to I2C. But ope... - TI 01:34 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Raja
You can use the i2c utilties to test the bus. The output below is from scanning both I2C buses.
@root@mityarm-335x:~# i2cdetect -y -a -r 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- --... - RV 12:00 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Hi Tim,
Gentle reminder about the above response.
Could you please let me know how to go ahead.
Regards,
Raja.
05/02/2012
- RV 02:52 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Hi Tim,
In Mity arm board I2C1 is configured on mii1_crs. pin and in Am335x based board same I2c1 is on spi0_d1 pin. I just want to know whether i can change to uart pin mux and probe on expansion connector.
this is to make sure tha... - TI 02:37 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Raja
The EREMOTEIO error comes from drivers/i2c/busses/i2c-omap.c and is because there is no Ack from
bus request.
Unless I misunderstand what you are doing, I don't think you can just change the pin muxing around.
The pin muxing is ... - RV 02:35 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Sorry i missed to mention file name details.
filename = /dev/i2c-2. - RV 02:27 PM Software Development: RE: Usage of I2C1 to connect external peripheral
- Hi,
Code i have used to access is mentioned below:
fd = open(filename, O_RDWR);
ioctl(fd, I2C_SLAVE, addr);
err = write(fd, buf, 5);
Open and ioctl with I2C slave are success. But write gives an error and the error number is:... - Hi,
I am trying to use the I2C1 to communicate to the slave.
To probe the signals on Mity board, i am planning to change the pin mux for I2C1 from
mii1_crs.i2c1_sda to uart0_ctsn.i2c1_sda, similarly for scl in file board-mityarm3...
04/30/2012
- MW 07:48 AM PCB Development: RE: Power Management w/ MityARM
- Hi Ali,
Sorry for the delay in response, you have a lot of questions wrapped up in these two posts, and we haven't gone through all the power management states here (we've been focused on basic interface functionality up until now, th...
04/27/2012
- AS 11:57 AM PCB Development: RE: Power Management w/ MityARM
- Sure enough after posting this I found the User's Guide for using TPS65910 with AM335x:
http://www.ti.com/lit/pdf/swcu093
Can I assume that this is how the PMIC is hooked up on the MityARM?
If so this is how I understand the PM sy...
04/26/2012
- RV 06:08 PM Software Development: RE: PIN mux details and modifications
- I have tested these pins too
can_pin_mux[] = {
{"uart1_rxd.gpio0_14", AM33XX_PIN_OUTPUT},
{"uart1_txd.gpio0_15", AM33XX_PIN_OUTPUT},
{"mii1_txd3.gpio0_16", AM33XX_PIN_OUTPUT},
{"mii1_txd2.gpio0_17", AM33XX_PIN_OUTPUT},
same... - MW 05:46 PM Software Development: RE: PIN mux details and modifications
- Hi.
In your log file, you show modification of gpio 100.
The gpio offset on the linux command line needs to be
GPIO = bank*32+offset
that corresponds to gpio3_4. I don't see that anywhere in your mux files.
Also, you nee... - RV 05:29 PM Software Development: RE: PIN mux details and modifications
- Hi,
But i have changed the can_pin_mux and LCD_Data0 pins aswell. but even those are also not working. I have attached the mux335x file for your reference.
Please let me know anything can be done. I will post to TI based on your in... - MW 05:21 PM Software Development: RE: PIN mux details and modifications
- Hi. OK.
From your log file, there is an error:
[ 0.079700] _omap_mux_get_by_name: Could not find signal lcd_data11.gpio0_8
This means that the pinmux setting for this pin you are trying to use as a GPIO is not properly defin... - RV 04:36 PM Software Development: RE: PIN mux details and modifications
- Log file.
- MW 04:25 PM Software Development: RE: PIN mux details and modifications
- Hi Raja,
Can you also post your boot up text (dmesg)? I just want to check for any boot / pinmux error messages if you haven't already done so.
-Mike
- RV 04:08 PM Software Development: RE: PIN mux details and modifications
- Attached the baseboard file for your refence.
Wanted to configure LCD_DATA pin to be configured as GPIO.
Thanks. - MW 03:49 PM Software Development: RE: PIN mux details and modifications
- Not yet (kind of bandwidth constrained, sorry).
You might try posting to the E2E site on TI's support site:
http://e2e.ti.com
This shouldn't be specific to the CL SOM, this is more of a basic AM335x question.
I will try to... - RV 03:44 PM Software Development: RE: PIN mux details and modifications
- Hi,
Do you have any updates for me regarding my approach on pinmux?
Thanks. - Hey,
We're trying to figure out how to utilized MityARM's power management capabilities in our design and this is hard to do without knowing how the AM3359<->PMIC connections operate. I've scoured the datasheets/design guides for TPS...