Project

General

Profile

Activity

From 04/30/2012 to 05/29/2012

05/29/2012

RV 03:21 PM Software Development: RE: Connecting JTAG to Mityarm board
Hi Alex,
I am working on to connect the JTAG to the mityarm board.
But having trouble how to proceed with project creation and connecting to target.
Do you have any procedure or example how to connect and flash the kernel to the...
Raja Vankam
RV 09:58 AM Software Development: RE: Flashing NAND from SD Card
Hi Tim,
I have programmed as per the address mentioned above.
But during booting MLO always looks for u-boot at 0x40000 and environment variables at 0x80000. As the bootloader size is more than 256K it goes beyond the location 0x8...
Raja Vankam

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...
Tim Iskander
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...
Raja Vankam

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...
Raja Vankam
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?
...
Michael Williamson
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...
Raja Vankam

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 ...
Raja Vankam
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
Tim Iskander
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...
Raja Vankam

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...
Alexander Block
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...
Tim Iskander
RV 04:52 PM Software Development: Flashing NAND from SD Card
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...
Raja Vankam

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.
Raja Vankam
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...
Alexander Block
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
Thomas Catalino
RV 11:53 AM Software Development: RE: Connecting JTAG to Mityarm board
Hi,
Do we have some inputs on this topic please?
Thanks,
Raja.
Raja Vankam

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...
Raja Vankam
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
Michael Williamson
RV 10:23 AM Software Development: Connecting JTAG to Mityarm board
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...
Raja Vankam

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...
Ali Asgar Sohanghpurwala
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...
Michael Williamson
AS 09:55 AM PCB Development: Reg. JTAG Reset and SD Card connection

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....
ABDUL SALAM

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.
Raja Vankam
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... Michael Williamson
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...
Raja Vankam

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...
Michael Williamson
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...
Raja Vankam
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: -- -- -- -- -- -- -- -- -- -- --...
Tim Iskander
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.
Raja Vankam

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...
Raja Vankam
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 ...
Tim Iskander
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.
Raja Vankam
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:...
Raja Vankam
RV 10:05 AM Software Development: Usage of I2C1 to connect external peripheral
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...
Raja Vankam

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...
Michael Williamson
 

Also available in: Atom