Activity
From 04/13/2016 to 05/12/2016
05/12/2016
- DS 10:38 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Emulator stops working very often.
- We generally try to do as little as possible in main(). It should launch an initialization task and you would work from there.
If you do not need to debug initialization, sometimes it may be beneficial to allow the code to run (not h...
05/10/2016
- EM 02:48 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
- Various small errors contributed to the problem. things seem to work better now. I can send & Recv 3 messages and I discovered the debugMsg print queue as well.
05/09/2016
- EM 12:32 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
- I think these are the files you need. Basically, just the HelloWorld files. Let me know if you need anything else.
- MW 11:52 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
- Would it be possible for you to post a copy of your example code, including the BIOS configuration files?
If you want you could send it directly via email offline...
-Mike
- EM 11:48 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
- I have something like this:
// Create the object used to send messages to the DSP
lpMessageOutbound = new tcIPCOutbound((char*)"DSPMSGQ0");
// Wait for the DSP to finish initialization (really just waiting for first message, wh... - EM 11:30 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Cannot run multiple times my ARM/DSP application
- I know this is an old thread, but I am having similar issues. This is the first time I have head about the "ReturnBuffer()" call. I searched the Hello World could and could not find any reference to it. The header file is not really cl...
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...