Activity
From 04/07/2016 to 05/06/2016
05/06/2016
- EL 08:41 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: iproute2 for SocketCAN with 3.2 Kernel
- Thanks. After running ip link set eth0 1000000, I can see the can0 interface listed.
The next step in the wiki is to send a message with cansend. Do you happen to have a binary of canutils as well?
Either way, I will try to write ...
05/04/2016
- GG 06:16 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: iproute2 for SocketCAN with 3.2 Kernel
- Hi Ed,
We've run into a similar problem here and rebuilt the package ourselves.
As a quick fix I've attached the package file. Install with - The iproute2 utility for linux 3.2 seems to be unavailable from opkg. I am therefore unable to run the example in the wiki at https://support.criticallink.com/redmine/projects/indio/wiki/CAN_support, which I was hoping to use to prove th...
- EM 05:34 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Emulator stops working very often.
- Is there some sort really basic initialization that I am missing? Are there interrupts occurring that I am suppose to handle even for the most basic "Hello World" type of app. It can not step through something as simple as :
int main(i...
05/03/2016
- JC 08:54 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: iproute2 for SocketCAN with 3.2 Kernel
- Okay, would you mind creating a forum post over there as it may help people find it in the future who are looking for a similar issue?
- EL 04:04 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: iproute2 for SocketCAN with 3.2 Kernel
- Thanks for the quick response.
I'm afraid I posted this in the wrong topic yesterday, I am using an Industrial IO board with an omap L138 arm 9, not a cortex A8.
I am referring to this wiki page https://support.criticallink.com/...
05/02/2016
- JC 10:58 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: iproute2 for SocketCAN with 3.2 Kernel
- Added a 335x specific CAN wiki page: [[Using_CAN_port]]
- JC 10:44 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: iproute2 for SocketCAN with 3.2 Kernel
- There should be no need to install any packages. I've attached our cantest script. It expects can0 to be connected to can1.
- JC 10:38 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: iproute2 for SocketCAN with 3.2 Kernel
- Which wiki page are you referencing?
- The iproute2 utility for linux 3.2 seems to be unavailable from opkg. I am therefore unable to run the example in the wiki, which I was hoping to use to prove the CAN interface. Is there another way to access the CAN interface or to acqu...
04/26/2016
- BD 01:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: ifup / ifdown Equivalent for systemd
- Ben,
Your concern is valid and I don't have a direct answer now. The @ip@ command is the correct one to use to configure the network interfaces, but we haven't explored all of the new ways systemd is integrated with the rest of the sy... - EM 11:04 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linker memory layout.
- I think these errors have been over come. I'm using the 8000 tcf file. I am able to run the program and debug a little, but the emulator or something keeps resetting/crashing and I have to start from the beginning again. (See the other ...
- JC 10:59 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linker memory layout.
- Edwin, Did you figure this out?
Some comments from Dave here:
> Could it be trying to use two .cmd files?
> ...
> isn't how things get set up. The external memory for the DSP tends to be in 0xCxxxxxxx somewhere, determined in con... - We are trying to flash our firmware on the MityDSP-L138 to run code from the DDR. We are using the AISGen tool from TI, see the attached config file.
We assume that there is something wrong with the DDR register settings. What are the...
04/25/2016
- JC 03:42 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: All devices on i2c on the AM335 SOM
- The factory config definition can be found here:
http://support.criticallink.com/gitweb/?p=linux-mityarm-335x.git;a=blob;f=arch/arm/mach-omap2/mityarm335x.h;h=5b75f982a46a56056ce71cc0aab38ccb09ee2a28;hb=HEAD
Note: Although we provide... - JO 03:33 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: All devices on i2c on the AM335 SOM
- Is there any way I can read the factory config eeprom and use that data to verify the correct SOMs are installed or use the data to compare mac address for example?
-Joe
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.
...