Activity
From 03/19/2016 to 04/17/2016
04/17/2016
- IS 12:51 PM Software Development: RE: No Prompt from Uboot
- Mike,
Thanks for the description. I think your confusion is more about not understanding why it doesn't work (like me), not my description. I probably should not have confused the issue by adding the issues from debugging. But that MI... - MW 08:17 AM Software Development: RE: No Prompt from Uboot
- Hello,
So I'm struggling a bit to get the full picture of what is going on.
Are you saying that you are running the sfh* program to put both the Critical Link supplied uBoot.bin (second stage) and the UBL_SPI_MEM.ais (first stage) ...
04/16/2016
- IS 06:21 PM Software Development: RE: No Prompt from Uboot
- Uboot won't load (SPI mem = 0, i.e. says file too big on load of UBL)
Backup code was NOT the solution. Recent code (blinking led on GPIO pin with simple loop delay) was loaded with newer code. Works SOMETIME. i.e didn't work, tried to ... - IS 02:09 PM Software Development: RE: No Prompt from Uboot (update)
- I found and old backup where SpiWriter still works. Got my application code loaded into SPI NOR flash. I will try to load u-boot with it and see if I get a prompt.
04/15/2016
- I am new'ing an object and stepping through the assembly I end up in SYS_error with an error of 1 and a message of "MEM". (I think that was the word...).
I tried some simple "new int" and they worked ok. Without more work, I'm not sure... - BA 03:08 PM Software Development: RE: ifup / ifdown Equivalent for systemd
- Well, I found something that works, but it doesn't seem very "clean" or symmetrical. I found the following to bring down eth0:
$ ip link set dev eth0 down
This succeeds in shutting down the eth0 device. However when it's time... - Hello,
In the new ALPHA Release 2016.01 filesytem, what is the "systemd way" of performing ifdown eth0 and ifup eth0?
- ifup and ifdown expect an /etc/network/interfaces file -- which doesn't exist in the systemd configuration.
- ... - Background:
I have a custom carrier board utilizing a 1808-FX-225-RC SOM (AM1808 only). Compiling using CCS 6.1.2. I have been trying to set up a 'to the metal' application which does not use Linux u-boot. I have gotten a standalone pro... - DS 10:04 AM Software Development: RE: Problem using XDS200 USB emulator.
- As I mentioned, you may be able to use the debugger to load the application. I believe you should load
some DSP code using the ARM first to initialize the DSP processor. Then after you connect the debugger you
can load your applicati...
04/13/2016
- EM 08:41 AM Software Development: RE: Problem using XDS200 USB emulator.
- Dave,
Thanks for the reply.
1. Easier said than done ;)... The project is very "integrated". I have pared it down to something basic.
2. For now I have only DSP code and no comms back to the ARM.
For what I have now, if I right cl...
04/12/2016
- DS 05:44 PM 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 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 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 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 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 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 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...
04/11/2016
- JC 03:29 PM 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 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 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 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 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
- BD 02:13 PM 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 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/...
- SP 09:04 AM 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 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...
04/04/2016
- BD 04:31 PM 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 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 Software Development: RE: How to Enable a systemd Unit Template for Boot Execution
- Yocto poky daisy (1.6.3)
- BA 08:34 AM 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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...