Project

General

Profile

Activity

From 01/07/2018 to 02/05/2018

02/05/2018

JC 04:31 PM Software Development: RE: Using McASP Rx clock generation module
Ideally you should get it working from the baseboard as that should be the source of all the pinmux settings. Not sure what else might be overriding things. I have run into cases where i had multiple pinmux configs overriding each othe... Jonathan Cormier
TR 04:12 PM Software Development: RE: Using McASP Rx clock generation module
Hi Jonathan,
Ok, good suggestion... thanks... the pinmux read
PINMUX0 = 0x8811.1110
so it's not getting set to ACLKR, instead to PRU0_R31[22], not even a gpio, which interesting.
PINMUX1 = 0x8888.8881
all of the serialize...
Tom Riddle
JC 02:40 PM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
Your u-boot and kernel partitions don't seem to match. Also asuming the u-boot partitions scheme is the correct one, if you intend to boot from your "rootfs" partition in linux you should change mtdblock0 to mtdblock1 after fixing the li... Jonathan Cormier
05:08 AM Software Development: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
Hi,
As some of you may know, I've been working on a MityDsp-L138F SoM, and I also have a custom designed board based on MityDsp. So far, I've used Linux on the Industrial IO board with kernel and file system installed on NOR and NAND ...
Okan Çalış

02/02/2018

JC 06:57 PM Software Development: RE: Using McASP Rx clock generation module
Can you dump the pinmux registers so we can double check them?
0x01C14120 - PINMUX0
0x01C14124 - PINMUX1
Jonathan Cormier

02/01/2018

TR 09:59 PM Software Development: RE: Using McASP Rx clock generation module
Hi Mike, thanks for responding.
So I have updated the baseboard-industrialio.c to enable all of the baseboard_mcasp_pins (like the ti evm) and even took out the GPIO configs for 13 & 15 which certainly can get overridden later, just ...
Tom Riddle
MW 09:32 PM Software Development: RE: Using McASP Rx clock generation module
Hi Tom,
Have you checked the pinmux settings for the IO Pin are set to use the McASP function and not GPIO or something else?
The only option (what we do) for probing even pins on the connector is to tack a small wire on the edge c...
Michael Williamson
TR 09:24 PM Software Development: RE: Using McASP Rx clock generation module
Hi,
We are working thru enabling of the McASP Rx clock generator module. After making source updates to davinci_mcasp.c we've been successful in generating a frame clock (AFSR) and see it's output on omap_gpo_13, but we cannot observ...
Tom Riddle

01/31/2018

MW 02:42 PM FPGA Development: RE: FPGA Done led not turning on with CPU programming
How are you generating the bin file?
Check this "wiki page":https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/FPGA_Overview. At the bottom there is a command for generation.
-Mike
Michael Williamson
VP 02:04 PM FPGA Development: FPGA Done led not turning on with CPU programming
Hi,
We have made our own customized board uing the Industrial IO Board and the Analog expansion board.
We were programming the FPGA (x16) using the JTAG programmer. We used to have the Done LED turned ON once the programming was done...
Vivek Ponnani

01/30/2018

JC 07:01 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
>
> ...
Generally when auto running things on linux the output isn't shown on the debug console. With the .service files, any output your app sends gets captured in the journal which can be displayed by @journalct...
Jonathan Cormier
VP 06:13 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
I was expecting following Debug response, which comes up when I run application by myself with the help of treaterm and booting off from MMC card.
root@mityomapl138:~# ./DigitalDemodulatorARM DigitalDemodulatorDSP.out
--response
...
Vivek Ponnani
JC 03:16 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> > > 2) FPGA write in SPI Flash
> ...
Yes I believe the FPGA light should come on. I'm not familiar with the FPGA but if the light doesn't come on then it probably wasn't programmed with a correct image.
> > > K...
Jonathan Cormier
VP 02:48 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Jonathan Cormier wrote:
> Vivek Ponnani wrote:
> ...
root@mityomapl138:~# ./DigitalDemodulatorARM DigitalDemodulatorDSP.out
spi mode: 0
bits per word: 8
max speed: 10000000 Hz (10000 KHz)
Creating DSPApp object.
Loading file Digit...
Vivek Ponnani

01/29/2018

JC 04:44 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> I followed the suggestions and tried to boot from flash. But It still does not run application automatically. Below is my setup on the board.
What does your application do? How do you know its running?
> ...
Th...
Jonathan Cormier
VP 03:25 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
I followed the suggestions and tried to boot from flash. But It still does not run application automatically. Below is my setup on the board.
1) environment setting on board.
U-Boot > printenv
bootdelay=3
baudrate=115200
bootfil...
Vivek Ponnani
TR 03:11 AM Software Development: Using McASP Rx clock generation module
Hi,
We are developing a new codec using the MityDSP. So the Industrial IO has the DSD1791 audio DAC on it's McASP. This DAC uses the TX clock generation module (ACLKX and AFSX) for the bit and word clock. The other L138 EVMs also uses...
Tom Riddle

01/25/2018

MH 09:24 PM Software Development: RE: SYS/BIOS
Finally i could solve this issue by adding the following code :
asm(" mrc p15, #0, r0, c1, c0, #0\n\t"
" orr r0, r0, #0x00002000\n\t"
" mcr p15, #0, r0, c1, c0, #0\n\t");
before calling BIOS_start function.
Thanks everyone.
t...
Martin Hantke

01/24/2018

JC 07:47 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> Jonathan Cormier wrote:
> ...
All of these commands were assuming you were booted and running on the l138.
Alright so assuming your trying to customize the MDK mityomap-full.tgz filesystem. We extract the fil...
Jonathan Cormier
VP 05:13 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Jonathan Cormier wrote:
> Vivek Ponnani wrote:
> ...
could you please explain where (on board or VM) and when (if command execution is on board)to give all this systemctl commands? I have created AutoRun.service file in the folder fro...
Vivek Ponnani
JC 03:59 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> Thanks for your response. It is very helpful.
> ...
Your missing type=simple.
Jonathan Cormier
VP 02:24 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Thanks for your response. It is very helpful.
Most of the points are cleared. I have further queries as below.
1) I am not much familiar with linux.I tried to create AutoRun.service file in /etc/systemd/system folder as per the li...
Vivek Ponnani

01/23/2018

JC 02:51 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> Hi,
> ...
With this bootcmd, you will only load the fpga and nothing else on boot.
> uBoot> saveenv
> ...
Yes
>
> ...
This path doesn't exist. /media/mmcblk0p1 is a mount in linux. @/home/root/root_filesys...
Jonathan Cormier
VP 11:23 AM Software Development: Auto run of application file (loaded in NAND Flash)
Hi,
I have a custom board with
-- MityDspl-138F module (with FPGA)
-- No Ethernet port
-- UART,USB,SD CARD interface
We are using MMC card for booting linux and to copy application software files to board.
we have done follo...
Vivek Ponnani
MH 01:57 PM Software Development: SYS/BIOS
Hello Forum,
i have a question related to usage of TI SYS/Bios on MiTyDSP without FPGA.
i successsfull flashed my app.out file to the external SPI via u-boot.
I see GPIO working also UART.
If i call BIOSStart nothing happens further....
Martin Hantke

01/18/2018

MH 11:51 AM Software Development: RE: uPP on MityDsp
Hello Greg,
many thanks for your answers.
I will try that configuration, takes a while.
Great Support Many Thanks again.
Regards
Martin
Martin Hantke

01/17/2018

GG 06:06 PM Software Development: RE: uPP on MityDsp
Hi Martin,
LCD [8] - LCD [15] also function as Boot Mode Selection pins. The SN54LVC157A is used to change the pull-up/pull-down configuration to allow for different boot modes.
Once the system is booted these pins can be reconfi...
Gregory Gluszek
MH 04:27 PM Software Development: RE: uPP on MityDsp
Hello Greg,
many thanks for your answer.
as i Know LCD[x] pins are outputs. and on the MityDsp is see U9 which is a SN54LVC157A multiplexer.
We also see some 2k Resistors to GND in these lines. (R54-R62).
Thats why I ask if these Sig...
Martin Hantke
GG 04:05 PM Software Development: RE: uPP on MityDsp
Hi Martin,
I have never personally used the uPP in this setup, however, it looks like it should be possible.
For hardware details please refer to http://www.criticallink.com/wp-content/uploads/2014/01/MityDSP-L138-Carrier-Board-D...
Gregory Gluszek
MH 02:24 PM Software Development: uPP on MityDsp
I have a question for clarification.
We want to use MityDsp without FPGA and use both uPP-Channels as Input.
Is that possible?
Thanks in advance for answers.
BR
Martin
Martin Hantke

01/16/2018

JC 03:18 PM Software Development: RE: IPC and uPP interrupts APIs conflict
Hi Okan,
I'm not too familiar with either syslink or starterware. However I've found that when I'm debugging kernel problems similar to this and I don't know where to go, I try to dump as many registers as I can to a text file when th...
Jonathan Cormier
12:42 PM Software Development: RE: IPC and uPP interrupts APIs conflict
Hi Greg,
I've already read the relevant sections of the technical reference manual and megamodule reference guide, but I still have no idea how the Notify module initializes its interrupts. The function @Notify_registerEventSingle()@ ...
Okan Çalış

01/15/2018

GG 04:03 PM Software Development: RE: IPC and uPP interrupts APIs conflict
Hi Okan,
My guess is that your core problem is that SysLink and StarterWare simply do not play well together in general. My understanding of StarterWare is that it is intended as a means for the DSP to run independently. Therefore, d...
Gregory Gluszek
05:51 AM Software Development: RE: IPC and uPP interrupts APIs conflict
Hello again,
I've just realized the line "@ISTP = (unsigned int)_intcVectorTable;@" in @{StarterWare}/system_config/c674x/interrupt.c@ appears to be what breaks the Notify module. The symbol @_intcVectorTable@ is defined in @{StarterW...
Okan Çalış

01/12/2018

JC 02:07 PM Software Development: RE: Linux USB Gadget is not working on custom board
Glad it worked. I suspect your ID pin is being pulled low somehow. But as long as you don't need to support HOST mode, there should be no problem with forcing Peripheral mode. Jonathan Cormier
10:23 AM Software Development: RE: Linux USB Gadget is not working on custom board
Jonathan Cormier wrote:
> In the 3.2 branch Peripheral mode can be configured in the baseboard.
That actually worked. Thanks!
I edited "@baseboard-industrialio.c@" and set the USB mode as peripheral. Somehow, our custom board ne...
Okan Çalış

01/11/2018

JC 02:13 PM Software Development: RE: Linux USB Gadget is not working on custom board
Okan Çalış wrote:
> Michael Williamson wrote:
> ...
Woops sorry I was looking at the 2.6 kernel sources. In the 3.2 branch Peripheral mode can be configured in the baseboard.
Jonathan Cormier
08:47 AM Software Development: RE: Linux USB Gadget is not working on custom board
Michael Williamson wrote:
> Do you see these lines even if you don't connect the PC? (I was looking to see if the kernel is detecting when you plug in the PC and complaining about something, or if it doesn't see any activity at all)....
Okan Çalış

01/10/2018

JC 02:37 PM Software Development: RE: Linux USB Gadget is not working on custom board
Could you attach your .config?
By default, CONFIG_USB_MUSB_OTG is selected which puts the kernel in OTG mode. In this mode, if USB*_ID is pulled low then the device enters host mode and if its left floating then its in Peripheral mod...
Jonathan Cormier
01:27 PM Software Development: RE: Linux USB Gadget is not working on custom board
> Do you see these lines even if you don't connect the PC?
Yes, I see those lines even when not connected to the host.
I did a @dmesg@ in the Critical Link board, but those lines don't appear there (when not connected).
> ...
I ...
Okan Çalış
MW 01:06 PM Software Development: RE: Linux USB Gadget is not working on custom board
So if you are trying to run in peripheral mode, I am not entirely sure I understand the last lines of your log file: Michael Williamson
12:45 PM Software Development: RE: Linux USB Gadget is not working on custom board
Hi Mike,
> Are you using USB as OTG? Host or peripheral mode for your test?
In our tests, the device acts as the peripheral and the computer as the host.
> ...
I did a @dmesg@ before and after plugging the USB, but the output i...
Okan Çalış
MW 12:13 PM Software Development: RE: Linux USB Gadget is not working on custom board
Are you using USB as OTG? Host or peripheral mode for your test?
If you do a dmesg (before and after plugging in a USB device), do you see anything related to USB?
The driver for the ARM in OTG mode wants to see the VBUS in toggle...
Michael Williamson
11:37 AM Software Development: Linux USB Gadget is not working on custom board
Hi,
We've been working on a MityDsp-L138F SoM and so far managed to use USB GadgetFS feature of the Linux kernel to send and receive bulk data through USB 2.0.
We also have a custom-manufactured board based on MityDsp. To adapt the...
Okan Çalış

01/09/2018

01:37 PM Software Development: IPC and uPP interrupts APIs conflict
Hi,
We've been working on a MityDsp-L138F. The ARM and DSP cores run Linux and SYS/BIOS, respectively. We're using SysLink for inter-processor communication. Specifically, we send Notify events between the cores. Up to this point, eve...
Okan Çalış
 

Also available in: Atom