Project

General

Profile

Activity

From 09/30/2017 to 10/29/2017

10/26/2017

05:39 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Michael Williamson wrote:
> That is reasonable. Using large transfers and Async IO, we were able to get up to 14 MB/sec with the camera application. But 5 MB/sec sounds OK for a nominal transfer scenario.
> ...
Actually, the project ...
Okan Çalış
04:58 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Thank you. Okan Çalış

10/25/2017

TR 06:49 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Using SigProc Example
Hi, So we're in the process of integrating an external audio codec. We would like to get to the point of running FFTs on those acquired signals. I've reviewed the SDR uPP application and the FFT performance analysis papers but there are ... Tom Riddle
MW 04:57 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Using SigProc Example
What are you trying to do? Michael Williamson
TR 04:41 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Using SigProc Example
Hi,
So I was able to import and rebuild the SigProc lib example in the MDK-2014 /sw/DSP/lib/SigProc using CCS v5 on windows, plan to move that over to CCS in Linux.
Are there any simple examples available or documentation for how ...
Tom Riddle
MW 01:17 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
That is reasonable. Using large transfers and Async IO, we were able to get up to 14 MB/sec with the camera application. But 5 MB/sec sounds OK for a nominal transfer scenario.
I guess the question is if that is acceptable for your ...
Michael Williamson
JC 01:00 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Looking at some of the speed tests we ran with RNDIS, we were seeing about 10Mb/s or ~1.25 MB/s. So you results seem pretty good in comparison. Jonathan Cormier
05:22 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Hi, Jonathan and Mike,
Thanks for your help.
With the @usb.c@ code in "Linux-USB.org,":http://www.linux-usb.org/gadget/ I managed to send and receive bulk data using @GadgetFS@ last week. I modified the code to solve some minor pro...
Okan Çalış

10/24/2017

JC 03:30 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Updating devkit to latest MDK tfpt issue
Jorden Luke wrote:
> I figured it out by doing the config. The VM has two eth interfaces. I was using eth1 when I switch to eth0 it worked fine.
Awesome thanks for the update.
Jonathan Cormier
JL 03:30 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Updating devkit to latest MDK tfpt issue
I figured it out by doing the config. The VM has two eth interfaces. I was using eth1 when I switch to eth0 it worked fine.
Jorden Luke
JC 03:13 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Updating devkit to latest MDK tfpt issue
Certainly seems like the transfer is somehow being interrupted.
How is the L138 connected to your computer's network?
Direct cross-over cable or through a network switch? How much traffic on the network switch if applicable?
Do...
Jonathan Cormier
JL 02:53 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Updating devkit to latest MDK tftp issue
Hello I am new to the embedded linux world. I don't have too much experience with loading kernels using Uboot and tfpt. I was working on updating a MityDSP L138F to latest kernel. I followed the instructions in the wiki but once I ran th... Jorden Luke

10/23/2017

TR 09:50 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
Hi, Just a FYI, since 32MB was allocated for the DSP, passing mem=224MB in bootargs seems to work now. Thanks, Tom Tom Riddle
JC 05:01 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: MityDSP L138, using UART1 from the DSP
You can probably modify the enabled_uarts line in the board-mityomapl138.c file to not initialize UART1.
board-mityomapl138.c
Jonathan Cormier

10/22/2017

VV 02:27 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: MityDSP L138, using UART1 from the DSP
Hi,
I am trying to communicate using the UART1 from the DSP directly. Currently the ARM core uses the UART1, and I don't have access to the other UART pins. Is there a procedure that I need to follow to shutdown the UART on the ARM, s...
Vibhakar Vemulapati

10/20/2017

JC 01:50 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Blackhawk XDS560v2-USB Debugger gel file
Hi Andri, Sorry for the late reply.
Are you trying to run a bare bones application on the ARM or are you running a application under linux?
Jonathan Cormier

10/18/2017

MW 06:38 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
UBoot reports 128 MB,but you should be able to address 256 MB in uboot as well as the kernel. You may need to pass it a mem=256M for it to address it.
-Mike
Michael Williamson
TR 06:22 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
Oh wait I see 256MB from UBL... sorry its u-boot that is reporting 128MB, my bad Tom Riddle
TR 06:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
Hi,
So I used the files in the /images dir of the MDK 2014 and successfully programmed the board. However UBL continues to detect 128MB DRAM, the UBL version does list Jul 11, 2011.
Well I honestly can't recall what the board origi...
Tom Riddle
MW 05:00 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
So the patch to support 256 MB modules was introduced in our codebase 7/14/2011. We need to update the UBL wiki page to refer to the AIS images and code in the later MDKs for 256 MB modules.
I am sorry for the confusion.
If you pr...
Michael Williamson
TR 03:00 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
Hi Jonathan,
Thanks, I'll give it a try, however I did brick the board early on and had to reflash UBL and u-boot. Dunno maybe I grabbed the older 2010 UBL version at that time.
Regs, Tom
Tom Riddle
JC 01:13 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
I would expect that the precompiled UBL_SPI_MEM.ais file in MDK/images would have the 256MB DRAM support.
[[Updating_devkit_to_latest_MDK]]
Jonathan Cormier
TR 12:59 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
Hi,
I went as far as I could and ran into this problem. Imported the project file UBL_SPI_MEM.pjt with the CCS6.2 tool, which I'm not a total expert on. Everything compiled but it's failing as follows: Not sure what to do next... any ...
Tom Riddle
MW 11:30 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Looking further, I think most of that code was based on the usb.c example you already looked at, so maybe this won't help very much. You sort of need example code on both ends. libusb might be a good start for the PC side of things.
...
Michael Williamson
MW 11:21 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
So a long time ago, I implemented a bulk transfer protocol on the MityDSP-L138 using gadgetfs in order to emulate a legacy camera protocol.
I am attaching the relevant code files used for interfacing to gadgetfs that were used for the...
Michael Williamson
08:26 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
> However, when I try getting data from the device, I end up with 64 Bytes of zeros every time, which is not what I expect.
Actually, I thought the @char* serial@ string in @usb.c@ was the message to be sent to the host, but it turned...
Okan Çalış
07:16 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Hi, Jonathan,
I managed to rebuild a kernel and boot the OS. Thanks for helping me out.
I was also able to use the serial gadget module @g_serial.ko@, send and receive terminal messages using TeraTerm on my Windows host. The proble...
Okan Çalış

10/17/2017

TR 11:04 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
Hi Michael,
So now I do see in the UBL device.c, in the 2014 MDK, support for 256MB sizes. I assume I'll have to built and install that
per the instructions on
https://support.criticallink.com/redmine/projects/arm9-platforms/wik...
Tom Riddle
MW 10:49 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Configuring MityDSP for 256MB DRAM
There is a custom version of the UBL that queries the local I2C factory PROM to get the part number and sets up the DRAM accordingly. I believe the source code for that UBL is provided in the MDK. Is that what you are using? Michael Williamson
TR 10:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Configuring MityDSP for 256MB DRAM
Hi,
We have a L138-FI-236-RL, which should have 256MB of DRAM. U-boot is reporting DRAM : 128MB. The bootargs pass mem=96M which makes sense since all of the MDK examples (using 2014-01-03) have the DSP configured with 32MB. My guess ...
Tom Riddle

10/16/2017

AB 03:13 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: MightyDspL138 Factory Test and labeling
Fred,
Thank you for reaching out to us about this question.
During production test the FPGA IO pins at the edge connector are tested as well as those between the OMAP and FPGA. Prior to having you return/RMA the module can you prov...
Alexander Block

10/13/2017

JC 05:18 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: TCF/TCI file questions
Tom Riddle wrote:
> Hi,
> ...
I don't know hopefully someone else can answer this.
>
> ...
The memory allocated for linux is configured in the bootargs passed to the kernel. The @mem=@ paramter controls how much ram the kernel is a...
Jonathan Cormier
TR 04:34 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: TCF/TCI file questions
Hi,
I'm on the DSP development learning curve and have been merging source from the dsplink examples from the TI DVSDK into the 2014 MDK. So when comparing tci files from the DVSDK message.tci to the Critical Link supplied /sw/DSP/tem...
Tom Riddle
JC 01:26 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Note if you do break the unit you can reprogram it from scratch. [[Reprogramming_a_Dead_Board]] Jonathan Cormier
JC 01:09 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Okan Çalış wrote:
> The author of the blog "advises":http://blog.soutade.fr/post/2016/07/create-your-own-usb-gadget-with-gadgetfs.html#comment_5 me to flash the kernel again as the peripheral controller could be included built-in (thoug...
Jonathan Cormier
12:01 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
The author of the blog "advises":http://blog.soutade.fr/post/2016/07/create-your-own-usb-gadget-with-gadgetfs.html#comment_5 me to flash the kernel again as the peripheral controller could be included built-in (though I can't imagine why... Okan Çalış

10/12/2017

FW 12:57 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: MightyDspL138 Factory Test and labeling
Hello -
When tested at the factory, is a "bit scan" of some sort done to determine that all the connections between the FPGA and the L138 are intact? We are having a problem with a single SOM that has alluded our ability to figure out...
Fred Weiser
11:40 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
I meant: "but I can't find any module files *for the peripheral controller*." Okan Çalış
11:38 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Hi, Jonathan,
Thanks for your reply.
> The RNDIS instructions say to use the "Inventra HDRC USB Peripheral" option.
I should've noticed that, sorry.
Anyways, I've built "GadgetFS" and "Inventra HDRC USB Peripheral Controller" a...
Okan Çalış

10/11/2017

JC 01:06 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Okan Çalış wrote:
> Hi,
> ...
The RNDIS instructions say to use the "Inventra HDRC USB Peripheral" option.
>
> ...
I'm not sure how usb_dev_bulk.c works. But the serial gadget will create a tty device between the host and the L138....
Jonathan Cormier
06:03 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Hi,
I downloaded the kernel and launched @menuconfig@, but as I expected, I got stuck in that step of "GadgetFS.":http://blog.soutade.fr/post/2016/07/create-your-own-usb-gadget-with-gadgetfs.html
> Then, enable
> ...
I enabled the...
Okan Çalış

10/10/2017

JC 07:24 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: MityDSP-L138F SPI Signal Access
Yes, Good catch. Sorry about that.
Using a gpio pin for a chip select should work fine. Looks like there are 4 already on that connector. See this link for how we use the gpio as chip selects in the existing industrial io baseboar...
Jonathan Cormier
TR 05:51 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: MityDSP-L138F SPI Signal Access
Hi Jonathan,
Following up here... I was reading the link
https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/SPI_Access_Options
and had overlooked the fact that CS0 appears to be dedicated to the NOR flash. The...
Tom Riddle
JC 03:23 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Okan Çalış wrote:
> Thanks, but I'm already home. I'll download it from Git. The file is not too large.
Okay. Note if you choose to go the bundle route, I recommend cloning the repo with the --mirror option so it creates all the bra...
Jonathan Cormier
02:34 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Thanks, but I'm already home. I'll download it from Git. The file is not too large. Okan Çalış
JC 02:27 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Okay well the bundle file is ~1GB. I can host that here somewhere for a few hours or if you have a somewhere I can upload it. Jonathan Cormier
01:36 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Hi, Jonathan,
Yes, I can transfer files to the machine.
It occurred to me later that I can clone the repo to my Ubuntu VM at home after work, and transfer it to my workstation via a flash drive tomorrow.
Thanks again. I'll try buildin...
Okan Çalış
JC 01:22 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Okan Çalış wrote:
> Hi, Jonathan,
> ...
Hmm thats a tricky one. Do you have a way to transfer files to this machine? If so I can create a git bundle for you that you can copy to machine and then you can clone the bundle. https://stac...
Jonathan Cormier
11:21 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Hi, Jonathan,
Thanks for your help. I've read Soutadé's blog (I had already read about RNDIS in the wiki.), but I can't access the Linux kernel so that I can compile the modules.
The [[Linux Kernel]] page tells me to clone @git://s...
Okan Çalış

10/09/2017

TR 05:54 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: MityDSP-L138F SPI Signal Access
Thanks Jonathan... That's great, somehow overlooked those SPI1 signals on J700 since the connector assignment listed them as RESERVED.
First I'd like to make sure I haven't overlooked anything interface wise. We need these functions ...
Tom Riddle
JC 03:35 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: MityDSP-L138F SPI Signal Access
Tom Riddle wrote:
> Hi,
> ...
Yes this should work.
Note that according to the industrial io schematic, the CAN_SOMI/MOSI/CLK pins (SPI1) also go to connector J700 as well as the unused SPI1_SCS0 which would be chip select 0 for SP...
Jonathan Cormier
JC 02:14 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Setting the ARM as a USB bulk device
Okan, Linux calls this a USB gadget. Depending on what peripheral you want to emulate you can enable different "gadgets". We have a wiki page walking through how to use a USB RNDIS (networking) gadget. https://support.criticallink.com... Jonathan Cormier
11:29 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: Setting the ARM as a USB bulk device
Hi,
I'm using a MityDsp-L138F SoM, with Linux installed. I need to make the ARM side communicate with a PC over USB such that the latter will see it as a USB bulk peripheral device.
I examined the StarterWare examples, which includ...
Okan Çalış

10/08/2017

AH 11:07 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: Blackhawk XDS560v2-USB Debugger gel file
Hello everyone,
We are using the debugger Blackhawk XDS560v2-USB and try to test it to debug the Helloworld program provided here.
Previoously we have run the program directly under linux and in works fine.
However, now I am getti...
Andri Haryono

10/06/2017

TR 08:48 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: MityDSP-L138F SPI Signal Access
Hi,
I'm trying to figure out how best to gain access to one of the two SPI ports on the L138. I have an Industrial I/O board with an L138F module and we want to interface it with some external eval board hardware that has SPI slave c...
Tom Riddle
 

Also available in: Atom