Activity
From 03/26/2016 to 04/24/2016
04/22/2016
- SP 10:59 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: WFI and Bluetoth support
- I am looking at the Redpine Signals RS9113-NZB.
We may be using it in anther product Using the TI arm file system that has the drivers built in.
The biggest problem is the interface to the Dbric3 and implementing the drivers.
The only... - BD 10:33 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: WFI and Bluetoth support
- Steven,
We've integrated multiple Wifi/BT chipsets with our products. In most cases we have to integrate an external driver into the kernel.
Did you have a particular implementation in mind? Did you plan to use an on-board solutio... - Does the Yocto file system support the TI or other vendors wifi and bluetooth on the DBric3?
what is the interface to the processor?
Regards
Steven Poffenbarger
04/21/2016
- I continually get these sort of messages while I try to step through the DSP code. Some times I can debug for a few minutes, other times it seems only a few instructions. I did figure out that all my breakpoints are being reset whenever ...
04/20/2016
- IS 04:58 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: No Prompt from Uboot
- Thanks. You got it.
Only way to be sure was to cut the i2c traces on the carrier. Biked over to my partners and got him to test it. Guess what? Cut the I2C and it worked.. I had thought that the "I2C: ready" was the eeprom read and th... - JC 09:02 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: No Prompt from Uboot (update)
- Ian St. John wrote:
> ALSO note that I am worried about the message "error reading I2C Configuration Block". Is this some carrier board peripheral it is expecting? I expect the message about no ethernet PHY. We haven't added that to t... - IS 12:37 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: No Prompt from Uboot
- I don't have either a second (working) module or a standard carrier board. We couldn't afford them when we started and our finances have not improved noticeably. That is why I am trying to eliminate debugger, host system, etc in diagnosi...
- JC 01:48 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- Mary, Thank you for this detailed post. Please let us know how this works out.
- MF 01:44 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- Here's what I did to apply the RT PREEMPT patch:
Helpful websites:
https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO
https://www.osadl.org/Single-View.111+M5d103f5bd04.0.html
Get the patch (get the latest patch that _matches ...
04/19/2016
- GG 05:39 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Any special thing to get new ObjectXXX to work.
- Hi Edwin,
Your project should have a .tcf file. This should define how memory is configured and how large your heap is. Note that most likely you will need to edit this as a text file as CCSv5 does have GUI support for .tcf files.
... - AB 04:35 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: No Prompt from Uboot
- Ian,
Can you let us know if the behavior changes when this module is used in the Industrial IO Development Board (80-000268) assuming you have one? I believe all of your testing has been done with/in your own custom carrier board corr... - IS 03:34 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: No Prompt from Uboot (baahhh)
- Well, it worked for two or three runs. Now it hangs on the uart initialization? Thinks that the uart is busy with output. Got to be hardware? Too erratic to be software? Software generally goes wrong EVERY time if there is a problem. But...
- IS 12:46 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: No Prompt from Uboot (update)
- Imported and ran UBL to CCS 6.1.2. Changed only DEVICE_UART_PERIPHNUM to 1 from 2 in devices_uart.h to get UBL messages out. They do not show up on UART2 when I boot from SPI-NOR FLASH.
It apparently initializes ok, copying u-boot ima...
04/17/2016
- IS 12:51 PM MityDSP-L138 (ARM9 Based Platforms) 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 MityDSP-L138 (ARM9 Based Platforms) 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 MityDSP-L138 (ARM9 Based Platforms) 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 MityDSP-L138 (ARM9 Based Platforms) 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 MityDSP-L138 (ARM9 Based Platforms) 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... - JC 10:06 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- Note that the RT linux page also has an Ftrace guide: https://rt.wiki.kernel.org/index.php/Ftrace
- GG 09:53 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- Hi Mary,
Regarding RT Linux I would specifically recommend https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO as a primer for understanding what the RT kernel changes from mainline as well as how to apply the patch. Note that this... - DS 10:04 AM MityDSP-L138 (ARM9 Based Platforms) 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/14/2016
- BD 11:43 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- Mary,
Here is a link to the RT Linux Wiki:
https://rt.wiki.kernel.org/index.php/Main_Page
There's a direct link to the 3.2-rt patch readme: https://www.kernel.org/pub/linux/kernel/projects/rt/3.2/README
-Bob
- JC 03:35 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: All devices on i2c on the AM335 SOM
- I created a wiki page for this information. Let me know if it answers your question.
[[MitySOM-335x_I2C_Addresses]]
04/13/2016
- Hello,
I am writing some diagnostic software for our device to run through and make sure everything seems to be present and working on the carrier board. Is there a document on the wiki somewhere that details all the devices on the i2... - JC 11:09 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- Mary Frantz wrote:
> For more information about how the DM Timer works, refer the the AM335x Technical Reference Manual.
> ...
Okay thanks. I haven't used the hardware timers before.
>
> ...
Heres what I get when I boot the devkit f... - MF 10:59 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- For more information about how the DM Timer works, refer the the AM335x Technical Reference Manual.
To summarize, the DMTimer is configured to auto-reload the value in the reload register (in this case, 0xFFFFD120.) when it reaches it... - JC 10:09 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- Mary Frantz wrote:
> This code:
> ...
What is the relation between the reload value and the start values?
I know that print statements inside interrupts are very frowned on, could they be causing the high latency values.
>
> ...
... - MF 09:48 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- This code:
- JC 09:28 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- Mary Frantz wrote:
> I see this when the printk() call displays the last 16 'start' counter values.
What do you mean by this? You see the low latency or the high latency when it prints?
- MF 08:58 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: High latency for DMTimer interrupt
- No, this high latency is rare. Typical is more like 3 usec. I see this when the printk() call displays the last 16 'start' counter values.
Note, I have also removed the lcdc and touchscreen support from the kernel to eliminate those... - EM 08:41 AM MityDSP-L138 (ARM9 Based Platforms) 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 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...