Activity
From 03/14/2016 to 04/12/2016
04/12/2016
- DS 05:44 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- Hello Edwin,
Those steps do appear correct.
All project I have done on the L138 have used dsplink to communicate between the ARM and DSP. To do this,
the ARM code must load the DSP code.
There may a couple ways to get past you... - EM 04:11 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- Yes, I could step through the HelloWorld app. Is there anything else that might run before the main()?
I have changed all the objects from 'static' declarations to dynamic 'new's. Still no luck.
Well, all the ones in main.cpp. There a... - DS 02:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- Hello Edwin,
I agree that since the debugger is looking for utl_halt.c something has gone wrong before main.
Obviously, try disabling those other things and then if it works, start putting them back.
When you did succesfully debug... - EM 01:50 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- I have tried to debug our main application. I copied the "waiting" loop from the Hello World app to the main. Whenever I try to connect to the target I receive this error:
Can't find a source file at "/db/vtree/library/trees/cuda/cuda... - EM 10:16 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- Well sort of debug. It hit the break point, I changed the waitForMe variable and stepped one line. But after stepping again, the screen goes "grey" and appears to lock. These messages appear:
C674X_0: Can't Single Step Target Program
... - JC 09:46 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- Edwin McKay wrote:
> To get at least pass the "Test Connection" I installed the drivers. I must have missed that step when I installed CCS 5.
Gotcha, yeah thats an easy screen to miss.
> ...
Yes
> For "the debugger is set to load sym... - EM 09:44 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- To get at least pass the "Test Connection" I installed the drivers. I must have missed that step when I installed CCS 5.
What are steps to debug a DSP application?
For instance how would I debug the "Hello World DSP" program? Do I r... - GG 02:25 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- Hi Mary,
You mentioned that your maximum latency is ~500 usec. Is this maximum a rare or common occurrence? What is your average latency?
One utility that might be helpful in figuring out what is going on is ftrace (https://www.k... - I have implemented a timer interrupt in a kernel module. At the start of the isr, it reads the timer value which should be close to the load register value. I am measuring the latency as the difference between the auto-reload value and ...
04/11/2016
- JC 03:29 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- Edwin McKay wrote:
> I have gotten a little further. The "Test Connection" now seems to work. So I guess Ubuntu can talk to the XDS module.
Did you do anything to get this test to pass?
> ...
Makes sense. I'm pretty sure the DSP's clo... - EM 03:16 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
I have gotten a little further. The "Test Connection" now seems to work. So I guess Ubuntu can talk to the XDS module.
When I select my project for debugging I receive the following message:
C674X_0: Error connecting to the target:...- JC 11:00 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- Edwin wrote:
> I will try searching the TI web site.
Good idea. Let us know if you find something that helps.
- JC 10:59 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- Thanks for the update. I will see if we can get one in house. In the mean time try searching TI's e2e to see if anyone has reported having similar issues. Let us know if you find a solution.
- EM 10:34 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- From TI's web site the XDS510 & XDS560 are both obsolete?
I will try searching the TI web site.
04/08/2016
- JC 04:24 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Building an SD Card
- Tom Tatakis wrote:
> This is a custom board- I did move the init of mmc back to the early init stage as a test and the file system came up and booted successfully. So that was indeed the issue.
Okay thats good.
> ...
Looks like yo... - JC 04:21 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Building an SD Card
- Tom,
We are working on a yocto filesystem release which allows you to build a new yocto based filesystem from source. Would you be interested in this? - TT 03:52 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Building an SD Card
- Actually I do have a question- do you have a pointer to documentation that tells me how to build an SD card image from scratch? I went looking for this at the beginning of this process and could not find anything.
Thanks again.
- TT 03:50 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Building an SD Card
- This is a custom board- I did move the init of mmc back to the early init stage as a test and the file system came up and booted successfully. So that was indeed the issue. Now I have another problem I need to solve. Our goal is to h...
- BD 02:08 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Building an SD Card
- Tom, one more question: are you running this on a Critical Link Development Board or your own custom baseboard?
- BD 02:13 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8.4 l38F link can't resolve POOL_translateAddr
- Steve,
Thank you for posting the fix.
We haven't tested using the Yocto filesystem with earlier MDK. It is expected that you would use the Yocto based MDK (currently mitydsp-l138-MDK-base-2015-11-13.sh) along with the Yocto filesyt...
04/07/2016
- AB 03:46 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problem using XDS200 USB emulator.
- Edwin,
Unfortunately we have not used the XDS200 on any platform so we don't even have one to try and reproduce this issue. I'm sure this is just outdated information but section 7.1 of this wiki http://processors.wiki.ti.com/index.ph... - I am trying to debug my DSP project (actually just the HelloWorld program). I have a XDS200 debugger plugged into my board. The module has a green light. Under project properties, my connection is "Texas Instruments XDS2xx USB Emulator/...
- JC 09:57 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Building an SD Card
- Looking at the logs here are a few things I see.
* On the sd card boots, you are still loading u-boot from the nand. This is okay as long as you know its happening and aren't lost when you try to update the u-boot on the sd card and ... - TT 09:02 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Building an SD Card
- Thanks for the reply- of course now the symptoms have changed. The bad boot now stops waiting for the file system partition. Although at least this gives me something to work with and track down I've attached the 3 logs in case you see...
- SP 09:04 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8.4 l38F link can't resolve POOL_translateAddr
- Hi Bob
I think I found the problem.
DSPLINK.lib is in a different location than in the original setup.
Is MDK_2014-01-13 compatible with gcc 4.8.4 and yocto file system?
I had to kludge in the file in the linker command line.
...
04/06/2016
- BD 03:06 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8.4 l38F link can't resolve POOL_translateAddr
- Steven, can you share the Makefile you are using?
- I using gcc 4.8.4 compiling a arm program for Dbric 3 yocto file system.
I get a link error "/home/mitydsp/workspace/NDCLaunchApp/NDCLaunchApp.cpp:310: undefined reference to `POOL_translateAddr'"
The only file I find with POOL_transla... - JC 02:36 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Building an SD Card
- Actually 3 logs. The two sd card boot logs and the nand boot log with the new kernel.
- JC 02:34 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Building an SD Card
- Tom,
Could you include the full boot log of the working and the broken boots? - Hello- First, I have a working SD card that boots that I have been using for over a year. I also have a newer kernel that I have built that runs when I burn it into the NAND. I want to upgrade the SD card to use this new uImage. I cop...
04/04/2016
- BD 04:31 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- Ben,
Thank you for the follow-up on this bug. I'm glad you got it working. I can't find any reference to case-sensitivity in the docs, so I create an internal issue for us to test this with our final Yocto release.
-Bob
- BA 03:59 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- Bob,
So I was able to home in on the issue. It centers on the parameter being passed to the unit file. As stated before, this one fails:
systemctl enable TDI_DataServer@-var-lib-ndc-DataServer.DB
However, if I change our d... - JC 08:51 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- Yocto poky daisy (1.6.3)
- BA 08:34 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- Bob,
We are looking at workarounds getting the enable to function. Do you have a Yocto version number associated with the ALPHA Release 2016.01 filesystem we are using?
Regards,
Ben
03/31/2016
- BD 04:17 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- According to the bugzilla post, that bug should be fixed in 211.
As a workaround, can you use an environment variable approach that was suggested by Jon in an earlier post?
- BA 02:55 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- Here is the version:
$ systemctl --version
systemd 211
+PAM +LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP -GCRYPT +ACL +XZ -SECCOMP -APPARMOR
- BD 02:45 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- Ben, can you post the output of "systemctrl --version"
- BA 02:24 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- I found this reference to a similar RedHat bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1206007
The error message reported is slightly different, but the net result of the symlink not being created in /etc/systemd/system/multi-... - BD 12:51 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- Ben, if you could share the posts you saw regarding the bug, that may be worth investigating.
We have not seen this bug here, but we haven't tried to do the same thing. - JC 11:58 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- I'm not familiar with the template system for SystemD. Would using environment variables meet your needs?
http://www.alaux.net/articles/systemd-unit-files-and-environment-variables/ - Hello,
I have a server to launch at system boot time using the Yocto compatible FS from ALPHA Release 2016.01 on DBRIC hardware. The server uses a template unit file, and I am having trouble getting it enabled. We use the template t... - EM 12:21 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: inline functions and derived classes....
- it was the Extern'd item.... in one place it was declared as a function in another as a variable.
- It seems the linker is unable to "find" or relocate inline type of functions? The errors always point to "inline" functions, either explicitly using "inline" or declared normally inline in the header file. In the classes I have they are ...
03/29/2016
- JC 05:40 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: STL hash maps and hash sets. CCS5 & CCS 6.
- You might want to post the compile problem to TI's e2e forum. They might be able to help.
Here is a post that looks similar. Also includes link by TI for how to post debug info.
https://e2e.ti.com/support/development_tools/compiler/... - MW 12:25 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: STL hash maps and hash sets. CCS5 & CCS 6.
- You should be able to install the newer compiler with CCS 5 (it's just a front end)?
- JC 11:49 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: STL hash maps and hash sets. CCS5 & CCS 6.
- Confirmed that in CCS5.5 using compiler version (TI v7.4.4) I get a bunch of errors after adding @#include <map>@
Project was a DSPBios hello world template. - Our existing code that we are porting to the DSP platform uses the STL hash_set template. The code compiles on the original platform, it also compiles under CCS6. However, under CCS 5 it does not. I get 100's of errors in the /opt/ti/ccs...
03/24/2016
- I am using CCS 6 on windows. We have a medium sized old C++ project that we are porting over to the DSP portion of the MityDSP-L138. We finally got everything to compile and have now run into linker memory issues. I have corrected all...
03/23/2016
- JC 02:59 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Where are some standard C/C++ functions? toupper, vprintf? for the DSP 5.4
- Not that I'm aware of but I'm not as familiar with this product as others.
- EM 02:32 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Where are some standard C/C++ functions? toupper, vprintf? for the DSP 5.4
- ok, so nothing else. I had to fiddle with the permissions of the folders, but the doxygen worked.
Thanks. - JC 01:24 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Where are some standard C/C++ functions? toupper, vprintf? for the DSP 5.4
- These classes can be found here:
MDK_2014-01-13/sw/DSP/lib/core/DspSerial.cpp
MDK_2014-01-13/sw/DSP/lib/core/DspSerial.h
MDK_2014-01-13/sw/DSP/lib/core/DspFpgaSerial.cpp
MDK_2014-01-13/sw/DSP/lib/core/DspFpgaSerial.h
You can use d... - EM 11:15 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Where are some standard C/C++ functions? toupper, vprintf? for the DSP 5.4
- Our group in Cal. are using the Mity board as well. In their code they create some objects for Serial port comms:
xPort->Com = new MityDSP::tcDspFpgaSerial((void *)RS232_SERIAL_BASE,
baud, DBitsCfg, SbitsCfg, PrtyCfg, false...
03/21/2016
- I am porting some C/C++ code from a Diab compiler suite and am having troubles finding the correct includes for these common items. The old code worked and compiled fine. I have found, what I think are the correct files, but some functi...
03/15/2016
- EM 05:19 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: StarterWare sample code.
- I stopped the initialization program from loading the normal DSP code that our sister company uses and then the Test Hello World application runs.
- EM 02:43 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: StarterWare sample code.
- I got a little further, but I am always encounter the 0x80008050 error "#define DSP_EALREADYEXISTS (DSP_EBASE + 0x50l)". This is even after power cycling the system and running this program before anything else.
This board a... - EM 10:40 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: StarterWare sample code.
- I went back to the most basic Hello World example and that compiled, linked and executed on the Mity board, so at least the Ubuntu, CCS, etc are working in some manner. So I proceeded to the Linux+DSP Hello world example. In the instru...
03/14/2016
- I am trying to work with the StarterWare for the OMAPL138 special DBRIC-3 version. I thought I could import a couple of the projects and work with UART-echo example. However, I guess importing just the project does not work (or obviousl...