Activity
From 09/16/2017 to 10/15/2017
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... - 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... - 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]]
- 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... - OÇ 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...
10/12/2017
- 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... - OÇ 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*."
- OÇ 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...
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.... - OÇ 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...
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... - 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... - 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... - OÇ 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.
- 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.
- OÇ 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... - 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... - OÇ 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...
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 ... - 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... - 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...
- 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...
10/08/2017
- 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...
10/06/2017
- 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...
09/29/2017
- TR 07:09 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Example fpga bin file
- Never mind... I was able to successfully use the bin file out of build_dvi_revc_lx45 to validate with the Impact tool. Thanks
09/28/2017
- Hi,
I'm using MDK_2014-01-03 and wanted to just validate the FPGA programming mechanisms outlined in the wiki. Is there a generic .bin file available to test with or do I have to build one from the examples? Thanks, Tom - OÇ 08:19 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Inter-Processor Communication between ARM & DSP
- Thanks.
09/27/2017
- TR 07:29 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: MDK version?
- Bob... sounds good thanks, Tom
- BD 07:21 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: MDK version?
- Tom,
For following the Wiki, the "Release 2014.01" MDK is the best choice right now. The Wiki documentation has not been updated to match the newest MDK releases (e.g. Release 2017.08 - BETA).
After you work through some examples... - Hi,
Just getting started here with a MityDSP L138F dev system. The USB stick had release 2011-03-31. Which is the best MDK release to use that the examples listed on the wiki coincide with? It appears Alpha release 2016.01 is more too...
09/26/2017
- TR 08:15 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: L138F breakout adapter pinout
- Alex, thanks... Regs, Tom
- AB 07:22 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: L138F breakout adapter pinout
- Tom,
You can find the pin-out of the JTAG adapter board in the datasheet for the board (http://www.criticallink.com/wp-content/uploads/80-000286_L138_Debug_Adapter.pdf).
Please let us know if you need anything else,
Alex - Hi,
Can someone point me to the docs that outline the pin assignments for the 2 user connectors on the emulator adapter board -- Critical Link (CL) part number 80-000286.
Thanks, Tom - BW 05:11 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: spi mode error
- This solved the error but there is no change to the spi mode.
- MW 01:56 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: spi mode error
- I think the SPI_IOC_WR_MODE is looking for the argument to be an address pointer (char*) pointing to the SPI_MODE_1 value.
Can you try: - BW 01:34 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: spi mode error
- Yes I can send and receive using : ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);
but only in spi mode 0x0. If I try and set the spi mode using the command above I get the pavort error. - MW 01:02 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: spi mode error
- Is your file descriptor, fd, valid?
- BW 01:00 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: spi mode error
- I have not been able to get this to work. Does anyone have any idea why this is happening?
Thanks,
Brian
09/22/2017
- GG 10:04 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Inter-Processor Communication between ARM & DSP
- Hi Okan,
* Q: void* DspAddr: What is the physical address of DSP that I should be reading from ARM?
* A: This depends on how you structure your application. One example would be having the DSP allocate a chunk of heap data and filli... - OÇ 07:06 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Inter-Processor Communication between ARM & DSP
- Hi Greg,
Thanks for your reply.
I examined @dspapp.cpp@ in the MDK, and noticed @ReadMemory()@ is a simplified version of the @PROC_read()@ function of DspLink. About the function arguments:
*@void* DspAddr@:* What is the physical...
09/21/2017
- GG 03:05 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Inter-Processor Communication between ARM & DSP
- Hi Okan,
Regarding your need for the ARM to read memory written by the DSP there is a function call ReadMemory() in the ARM tcDspApp class. If you setup a structure where the DSP uses DspLink to communicate an address the ARM is to r... - OÇ 06:21 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Inter-Processor Communication between ARM & DSP
- Hello again,
I consulted to my colleague. It turns out, we don't insist on using SysLink instead of DspLink. But we definitely need a shared memory mechanism where the DSP writes some data to the memory, send an interrupt to the ARM, an... - OÇ 05:43 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Inter-Processor Communication between ARM & DSP
- Hi Greg,
The communication method Critical Link provides is great; the code was easy to follow and I understood most of it.
The problem is that it supports only message buffers, but we may need to use "shared memory" communications...
09/20/2017
- I'm trying to uses the hps spi controller and am getting an error trying to set the spi mode. I'm using spidev and when I run this code:
ret = ioctl(fd, SPI_IOC_WR_MODE, SPI_MODE_1);
if (ret == -1)
pabort("can't get spi mode");
... - GG 02:39 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Inter-Processor Communication between ARM & DSP
- Hi Okan,
As a qualification I want to mention that DspLink is the communications and control method Critical Link supports and recommends using at this point. Our MDK provides wrappers around DspLink for loading the DSP via the ARM a... - OÇ 05:39 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Inter-Processor Communication between ARM & DSP
- Hi Greg,
Thanks for your response. My first question was really confusing me, so thanks for the explanation.
Considering neither Critical Link nor TI technically supports DspLink anymore (you provide your own functions instead, and the...
09/19/2017
- GG 03:10 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Inter-Processor Communication between ARM & DSP
- Hi Okan,
Here is some feedback regarding your questions:
# DSP/BIOS is the RTOS that runs on the DSP. However, unlike an OS like Linux, which needs to be installed, DSP/BIOS does not. I believe it is simply compiled into the .out ... - Hi,
I've been working on a MityDsp L138F board with Linux Ångström run by the ARM core. I'm expected to learn and implement various possible IPC methods to make the cores communicate with each other.
* I've successfully implemented t...
09/18/2017
- NH 05:54 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Using EEPROM available on MitySOM-5CSX
- Update: Thanks to your help we have been able to successfully use a partition of the QSPI NOR flash to store critical system information. There was a change of formatting for the device tree between kernel versions such that after updati...