Activity
From 05/04/2012 to 06/02/2012
06/02/2012
- MW 01:01 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
- Hello François,
On the DSP side, if you are using the tcIPCInbound class, are you calling the ReturnBuffer() method in your callback handler? You need to do this or else the underlying POOL objects used by the GetBuffer() calls are n... - MW 12:52 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Non-FPGA module NAND Timings
- Hi,
Yes, currently the NAND timings are set up in the u-Boot code in line 290 of the file:
u-boot/board/davinci/mityomapl138/mityomapl138.c
The current linux kernel port for the MityDSP-L138 family of SOMs does not modify the NA...
06/01/2012
- Hi,
I don't know if somebody has seen this kind of issue. I have a ARM/DSP application based on the "DSP HelloWorld". I added some message queues and tasks. The ARM/DSP application is messages intensive. After boot, everything is goin... - (Posted on behalf of a customer)
In the wiki it says that without a FPGA the NAND access changes: "... on the Industrial I/O host board, by adding additional wait states to the default NAND timings (contact critical link for details)....
05/31/2012
- MW 12:54 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
- Raja,
A couple of thoughts come to mind:
1) If your volume is high enough, Critical Link may be able to pre-program the NAND for you.
2) You could set up a switch on your board (or use a custom "programming board" or even our De... - RV 12:16 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
- Hi Michael,
Thanks for your reply.
I will try with the tera term script file.
We have just SD card available. I have tried to program and could program boot loader.
But the procedure is vast and in future if need to be program... - MW 11:01 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
- Another note:
Do you have any other I/O connections for storage such as MMC or USB Host (sticks)? If so you could load the data using those interfaces via u-Boot instead of serial (which is a little slow for large images).
-Mike
- TI 10:33 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
- Raja
This TI page talks about various ways to flash the NAND (from CCS, etc)
http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Flashing_U-Boot_with_CCS
You can load u-boot over serial using the xmodem/ymodem proto...
05/30/2012
- RV 05:37 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
- Hi Alex,
I have also referred the same link provided by you (http://processors.wiki.ti.com/index.php/Linux_Debug_in_CCSv5). But I am trying for procedure mentioned under stop mode debug. As our final board is not having ethernet, tryi... - AB 05:21 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
- Raja,
Typically we load the kernel over either tftp/nfs and write it onto the MityARM-3359 flash memory or boot from nfs (http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Kernel). Previously we have loaded th... - RV 03:46 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
- Hi Alex,
Do we have any inputs on connecting JTAG to Mityarm board and can be used for flashing?
Alternatively i tried 'Linux Debug in CCSv5" from TI site and created project in CCSV5 for linux. But during connecting to target it g... - CK 04:36 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
Yes, I have only spotted that today, but when I changed the inputs to 0b10, with some difficulty since they are tiny pins, the unit still does not work. I have missed a few bits out but I suppose that is why we do dev boards.
... - MW 01:34 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Hi Charlie,
I went back and reviewed your hardware design.
It looks like you have PS1 and PS0 floating on your design. This will result in the Serial Bus configuration to become "I2C Master Mode for EEPROM" and will set the person... - RV 01:21 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
- Hi Tim,
Thanks. I will wait for your response.
Regards,
Raja. - TI 01:19 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
- Raja
I am looking in to this... I am suspecting that the u-boot MLO was not configured correctly for the nand flash partitioning scheme.
cheers
/Tim - RV 01:18 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Flashing NAND from SD Card
- Hi,
Do we have any answer on this.
Thanks,
Raja. - SP 09:53 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Increasing CPU speed
- Hello Mike,
Some parts of your answer were really helpful and gave me some hints such as I think I can proceed.
My hope was, that you could help me with a code snipped (or link) how you implemented the core voltage improvement, bec... - MW 08:12 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Increasing CPU speed
- You have both the ARM+DSP running sysbios? Which do you intend to control the CPU speed (they are tied to the same clock)? I am assuming the ARM?
If you have reference code for the TI OMAP-L138 EVM: the key difference you'll need to... - Hello,
As mentioned in the title, we plan to increase the cpu speed from 300MHz (default) to 456MHz. In a Linux environment this isn't a problem because the command
05/29/2012
- MW 07:50 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Hi Charlie,
I will try to respond tomorrow with details. Ran out of time today. Sorry for the delay.
-Mike
- CK 10:22 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
Thanks for the suggestions.
1) The line you mention is the line I had to remark out to get the unit to run. I have now changed it as per your suggestion and linux now runs correctly, but still not the switch.
2) I am not su... - RV 03:21 PM MitySOM-335x (ARM Cortex-A8 Based Products) 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... - RV 09:58 AM MitySOM-335x (ARM Cortex-A8 Based Products) 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...
05/28/2012
- MW 06:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- OK Charlie,
Three things:
1) In the board file, I think you need to configure the emac_pdata->phy_id to "". This means that the kernel should assume the PHY is always connected (which it is).
2) Not sure how the strapping works... - CK 10:41 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
I have successfully merged the version 3.4.0+ with the mitydsp-linux-3.2, but i stil can't get the KSZ8995MA chip to work. It seemd to be recognised but i can't ping anything. The two error messages have now gone. Please could yo...
05/25/2012
- CK 07:45 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
I can't find what is causing these two error messages. Any help would be appreciated.
Also, I am no expert on the git system. I have download a new version of the kernel version 3.3.7.
If I use "git merge ../linux-3.3.7 mas...
05/24/2012
- TI 01:33 PM MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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... - MW 10:23 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Charlie,
A quick thing that could be a problem are these messages: - CK 10:14 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
I have been working on getting linux kernel version 3.3.0+, which I downloaded from linux-davinci, working on the MiyDSP-l138 board, both when mounted on the industrialio board and on our development board, on our board principal...
05/21/2012
- RV 06:06 PM MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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... - GG 09:48 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Warning messages when running DSP Hello World
- Hi François,
We've seen this issue before, but haven't been able to track it down yet. It seems to be benign, so I would not worry about it for now. I'll be sure to post any updates here if we find anything else out.
\Greg
05/19/2012
- BB 10:40 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Downloading and Installing the Virtual Machine?
- Thanks Mike!
- MW 06:56 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Downloading and Installing the Virtual Machine?
- I think there is a link to the VM appliance, I'll try to get someone to post that for you.
There is a newer image, but it simply has the newer MDK images and toolchains installed as well as support for the MityARM-335X (Cortex-A8 prod... - Hi Folks,
The Wiki says the current version of the VM appliance can be downloaded, but I can't find a download link. Does one exist?
I have the VM from the DVD that came with my board (dated Monday, April 11, 2011 9:10 AM). Is this...
05/18/2012
- Hi,
I was able to walk-through the DSP_Hello_World tutorial. The test applications seems to run well until arm application ends. There are assertion messages printed at the end. It happends only when the arm application uses the relea... - RV 12:14 PM MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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... - CK 07:47 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
Thanks, that did the job.
The bad news is that 3.2.0 does not have KS8995 support. It seems that this only starts in 3.3.0
regards
Charlie - MW 06:22 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- I don't think your compiled correctly or uploaded the correct uImage to the machine.
The "Image Name: Linux-2.6.34-rc1-00098-ga450029-" suggests that your are still building off the master branch, and not the mitydsp-linux-v3.2 branch... - CK 04:34 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
I have downloaded the branch as above but when i compile i get the following:-
Image Name: Linux-2.6.34-rc1-00098-ga450029-
Created: Fri May 18 09:17:20 2012
Image Type: ARM Linux Kernel Image (uncompressed)
Data S... - CK 03:49 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
I have found a branch 'mitydsp-linux-v3.2', which I assume is the one you referred to, which I am downloading now. I will let you know how I get on with it.
regards
Charlie
05/17/2012
- AB 09:54 PM MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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... - CK 03:46 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
Thank you for your assistance. I would like to look at the version 3.2, so if you could let me know how to access it I would be obliged.
The switch on the dev board will be used initially to allow me to connect to our local ne... - MW 09:50 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Hi Charlie,
I guess the first question is, "what do you want to do with the switch?". As I mentioned before, we have successfully implemented the KSZ8995 into at least one design here, and if you have all the ports mentioned above co... - CK 09:22 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- Mike
I am the customer who submitted this post. I had a problem with logging on which is why Tom posted this for me. Hopfully, I have now sorted this out.
I am new to Linux, so if the questions sound naive, then that is because I a...
05/16/2012
- RV 05:42 PM MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Connecting JTAG to Mityarm board
- Hi,
Do we have some inputs on this topic please?
Thanks,
Raja. - MW 02:42 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: MACHINE type for the MDK ...
- MACH_TYPE_MITYOMAPL138, 2650 (decimal).
The machine type is registered and can be found in the autogerated machine information.
The board file is arch/arm/mach-davinci/board-mityomapl138.c.
I don't advise running our kernel on a... - (posted on behalf of a customer)
The Linux which I installed is the latest available with MDK-2-12, version Angstrom v2012.03-core - Kernel 3.2.0. I am currently downloading and installing the version for a different board to get to k... - MW 02:38 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: KSZ8995MA Ethernet Switch Support
- We have had customers successfully integrate both an KSZ8893MBL switch and the KSZ8895MAI switch with the MityDSP-L138.
Are you not able to send/receive packets from the OMAP-L138 to the switch?
Typically, these switches power up w... - (posted on behalf of a customer)
Have you, or do you know of anyone who has got a KSZ8995MA Ethernet Switch chip to work with the MityDSP-L138? The chip works fine as a switch but I want to get the Linux to recognise it. I will presum...
05/15/2012
- MW 08:40 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Starterware EMIFA to FPGA example code
- Hi Emmet,
The processor will write or read the first (lower address) 16 bits first, followed by the upper 16 bits when configured in little endian mode.
We've been coding this way for a long time (since the TMS320C671x) and I thoug...
05/11/2012
- RV 12:23 PM MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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/09/2012
- EB 04:22 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Starterware EMIFA to FPGA example code
- Hi Mike,
In the case of 32 bit transfers as described above -
Can you tell me which 16-bit value is transferred first?
I need to make VHDL to pass all 32 bits on the same clock edge to other 32-bit IP in my FPGA design.
In other...
05/08/2012
- MW 04:55 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming the FPGA
- Appreciate the feedback on the wiki page. I've updated it per your comments.
-Mike
- TE 04:40 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming the FPGA
- Thanks! That worked. An even better solution than the bootfpga solution.
I was basing what I did on the wiki page for Programming the FPGA (http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Programming_the_FPGA). ... - MW 03:03 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming the FPGA
- Hi Tim / Emmett,
Did you remember to saveenv? (just checking)
A couple of things:
You might want to avoid using the "bootfpga" environment variable. We've had a couple of customers manage to brick their system by programming v... - TE 02:15 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming the FPGA
- Emmett and I were able to get the DONE LED by calling loadfpga after the loadb 0xc0700000. The problem is that when we setup the bootfpga environment variable, it doesn't work.
I am calling the following:
loadb 0xc0700000 ->this ini... - I have read both forum entries of the same name.
The first one seems to be most applicable, since I have the MityARM-1808F with the LX16 FPGA.
I followed the instructions from the first post, which was difficult in iMPACT.
The trick...
05/07/2012
- AS 12:01 PM MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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 MitySOM-335x (ARM Cortex-A8 Based Products) 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...