Project

General

Profile

Activity

From 12/03/2013 to 01/01/2014

12/31/2013

PS 02:07 AM Software Development: USB-OTG as a peripheral and a host
Hello,
I am using a MityDSP L138F with a custom board. This board has provision for a USB 1.1 Host and an USB 2 OTG port. I am trying to configure the USB-OTG port as a peripheral and get it detected through a Windows as well as a Linux...
Preejith S P

12/20/2013

DR 11:46 AM Software Development: RE: DSP- EDMA Transmission problem
I'm not sure why you are dividing by 4 for the number of words to transfer (numwords>>2), but I think that is your problem. ii will be set to 1024 in the example you show, so it should transfer 1024 16-bit words, which is what you are s... David Rice
RK 10:33 AM Software Development: DSP- EDMA Transmission problem
Hello,
I am having the following problem:
I am invoking an EDMA transfer in my DSP-side application. To do so, I did the following:
Rafał Krawczyk

12/19/2013

MW 07:16 AM Software Development: RE: "Regarding video Frame data flow without using Linux OS-Linux frame buffer"
Hi Naveen,
You can use the UPP port (see the tcDspUpp core in the DSP/core library) or use the VPIF (same pins, see the tcDspVpif class) with the 674x core in DSP/BIOS to have the DSP receive data directly.
We only use / support Li...
Michael Williamson
NK 02:10 AM Software Development: "Regarding video Frame data flow without using Linux OS-Linux frame buffer"
Hello sir,
Thank you for replying my previous queries.
We are using MitydspL138F VDK for developing prototype, for one of our image processing application project. The complete Qt framework of the kit is explained fine in the VDK d...
Naveen K.S

12/16/2013

MW 09:50 AM Software Development: RE: First base with USB, OMAP-L138F
And... the capacitance requirements for any USB interface are *very* important. See the USB specification (usb.org) on the capacitance and in-rush current requirements. If you don't get these right, you may have trouble getting the HOS... Michael Williamson
MW 09:48 AM Software Development: RE: First base with USB, OMAP-L138F
Hello Helmut,
This is really an embedded linux question in general and not just a MityDSP-L138 specific question. But to get the OTG port to look like a mass storage device, you will need to enable the MASS STORAGE device gadget in ...
Michael Williamson
HF 09:36 AM Software Development: RE: First base with USB, OMAP-L138F
Thanks. I'm tasking my kernel guy on this. The link for RNDIS advice will be helpful.
HOWEVER, I would prefer it look like a mass storage device, so the host PC can directly access the embedded system's file system.
But when I se...
Helmut Forren

12/13/2013

MW 02:07 PM Software Development: RE: Accessing SPI1 bus
Hi,
To get the spidev device, you need to add an entry for it in your platform baseboard file.
See the recent "industrial I/O board platform file":http://support.criticallink.com/gitweb/?p=linux-davinci.git;a=blob;f=arch/arm/mach-d...
Michael Williamson
MF 01:40 PM Software Development: RE: Accessing SPI1 bus
Nope. I don't see that either.
I am going with the low level register access for now. I have SPI driver code that ran on a C6748 and am porting that. You can gain access to the registers using mmap().
Mary Frantz
GG 12:21 PM Software Development: RE: Accessing SPI1 bus
Hi Mary,
My guess would be that since in your baseboard file you set the modalias to "M25PE80" as part of the spi_board_info you will get a /dev/M25PE801.1 entry, or something to that affect, instead of /dev/spidev1.1.
Thanks,
\Greg
Gregory Gluszek

12/12/2013

MC 06:48 AM Software Development: RE: Call to tcDspFpgaGpio::ConfigurePin() makes the Dsp crash
Thanks Mike!
That was definitely the reason of the crash.
Thank you.
Michele
Michele Canepa

12/11/2013

JC 04:01 PM Software Development: RE: First base with USB, OMAP-L138F
The only things I see different in your circuit besides the removed 5V vbus switch(U101) are:
* Missing USB0_ID pulldown (R110)
* Missing capacitor (C119)
I'm not sure if either of these are required if using the port in periphera...
Jonathan Cormier
HF 12:17 PM Software Development: RE: First base with USB, OMAP-L138F
Jonathan,
Yes, we have a USB A connector coming from USB 0. So this should be akin to connecting a USB A to USB mini cable from the PC to the system. So I *should* be able to get this work. But no, there is not 5V being provided. ...
Helmut Forren
JC 11:31 AM Software Development: RE: First base with USB, OMAP-L138F
Mike, Correct me if I'm wrong.
"So maybe the question boils down to this. Can you plug a USB OTG device into a PC, using what kind of cable, and it all work itself out with the PC as host and the device as peripheral? If so, then I ne...
Jonathan Cormier
HF 11:03 AM Software Development: RE: First base with USB, OMAP-L138F
Michael,
Great. First, the P/N on my Critical Link baseboard actually matches the next to last, "80-000268RI-2 B". But if I need to make a revision to the board, I'll consult the last entry as you advised.
(((Please humor me whil...
Helmut Forren
MW 07:28 AM Software Development: RE: First base with USB, OMAP-L138F
Schematics for the industrial I/O base board are on this "wiki page":http://support.criticallink.com/redmine/projects/indio/wiki/Industrial_IO_Revision_Information. Use the most recent one.
There are 2 USB ports available. 1 only su...
Michael Williamson
HF 07:08 AM Software Development: RE: First base with USB, OMAP-L138F
Jonathan, I'll try those things. FYI one test case with a USB flash drive works for the critical link baseboard, but not our custom baseboard. I need to compare schematics. There may be something different, such as failure to provide ... Helmut Forren
MW 07:12 AM Software Development: RE: Call to tcDspFpgaGpio::ConfigurePin() makes the Dsp crash
Hi Michele,
Set the CORE_INT_EOF_LEVEL to 1.
Our framework uses 2 levels (2 seperate GPIO interrupt lines between FPGA and OMAP-L138). By default, level 0 is used for cores managed by the ARM and level 1 is used for cores managed ...
Michael Williamson
MC 05:48 AM Software Development: RE: Call to tcDspFpgaGpio::ConfigurePin() makes the Dsp crash
This is the crash dump on the serial output:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c5368000
[00000000] *pgd=c5312831, *pte=00000000, *ppte=00000000
Internal error: Oops: 80000005 [#1] PR...
Michele Canepa

12/10/2013

DG 09:27 PM Software Development: RE: First base with USB, OMAP-L138F
Hello!
If you have got console why don't you just copy files from your PC to board?
And another option - if USB host is available on the board, just connect a USB stick and copy files from it.
Make sure that something like
/dev/mmcbl...
Dmitry Gorulko
MC 03:56 PM Software Development: Call to tcDspFpgaGpio::ConfigurePin() makes the Dsp crash
Dear Sirs,
I have to use a GPIO bank over FPGA to route some interrupts (let's say 8) through the fpga to the DSP.
For the purpose, I have used the call to tcDspFpgaGpio::ConfigurePin() method and subsequently SetISRCallback() method t...
Michele Canepa
PD 12:55 AM Software Development: RE: Compiling the HelloWorld application with CGT
Thanks Mike,
I will try that out. However for the time being, I am continuing with CCS on Windows. :)
Regards
Prashant
Prashant Dabholkar

12/06/2013

MF 11:49 AM Software Development: RE: Accessing SPI1 bus
I don't see a SPI /dev/ entry.
Tried this (as in the example at https://www.kernel.org/doc/Documentation/spi/spidev_test.c)
Mary Frantz
GG 11:07 AM Software Development: RE: Accessing SPI1 bus
Hi Mary,
Reading and writing over a SPI bus on Linux is pretty simple. You need to open a file descriptor for the SPI /dev/ entry and use ioctl SPI_IOC_MESSAGE commands to send spi_ioc_transfer structs to the device.
Here's a for...
Gregory Gluszek
MF 10:41 AM Software Development: Accessing SPI1 bus
How do you read/write to a device on the SPI1 bus (CS1) on the ARM side? Is there an example? Can I do low level register read/writes or is there a driver?
I am using MDK_2012-08-10
I have recompiled the kernel with a custom base...
Mary Frantz
JC 09:43 AM Software Development: RE: First base with USB, OMAP-L138F
Once you have the network connection up you can easily move files using ssh and winscp. Jonathan Cormier
JC 09:39 AM Software Development: RE: First base with USB, OMAP-L138F
It maybe of use to you to have the usb port act as a network device so you can send files over the network. See http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Enabling_USB_RNDIS_Support. Jonathan Cormier
HF 07:01 AM Software Development: First base with USB, OMAP-L138F
I have inherited development responsibility for a custom base board using an OMAP-L138F SoM. I need to get USB working in one manner or another.
The cable designed by the board originator has a USB-A type plug on it, implying that ...
Helmut Forren

12/05/2013

SH 02:59 PM Software Development: RE: DSP software sometimes does not start
Thanks for the reply Mike - I took a look at my code and the Debug outbound is created before the inbound in the DSP software. In any case, the problem "went away" - after a couple of glitches after first loading the software in the /mn... Steven Hill
MW 12:37 PM Software Development: RE: DSP software sometimes does not start
I suspect that you may have a race condition between the ARM and the DSP setting up inbound and outbound message Qs.
The inbound message queues create local message q structures. The outbound message queues attempt to continuously a...
Michael Williamson

12/04/2013

SH 05:41 PM Software Development: DSP software sometimes does not start
I have a strange problem with starting up some software on bootup. I have followed the instructions in this link:
[[http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/ARM_Software_FAQs]]
with a line that looks like...
Steven Hill
GG 01:46 PM Software Development: RE: Loading DSP-Code from Linux without DSPLink/DSPBios
Hello Benedikt,
As far as I know, we've really only had experience running DSP code that uses the BIOS. Have you downloaded and looked at our MDK or our [[DSP Hello World]] starter guide? In the MDK we have a class called dspapp that...
Gregory Gluszek
BK 12:15 PM Software Development: Loading DSP-Code from Linux without DSPLink/DSPBios
Hej hej,
I have a coff-file with my DSP-Algorithm which runs perfectly when I start it via JTAG or via U-Boot. [Linux is up on the ARM in parallel. The communication between Linux and DSP is also working.]
Now I want to load the DS...
Benedikt K.

12/03/2013

JC 04:21 PM Software Development: RE: Read-only file system using systemd for startup
I think that's the first step. The programs that have problems should then print error messages in the boot log. Might make things easier to take a boot log of the rw and ro boots to compare them so you can find the errors easier. Jonathan Cormier
SH 04:19 PM Software Development: RE: Read-only file system using systemd for startup
Yes, I was going to try just updating /etc/fstab and the bootarg environment variable and see if that works...what do you think? Steven Hill
BD 02:48 PM Software Development: RE: Read-only file system using systemd for startup
Stephen,
Do you have an /etc/fstab in your filesystem? Have you tried updating that file as described in step 4?
-Bob
Bob Duke
 

Also available in: Atom