Activity
From 01/23/2013 to 02/21/2013
02/21/2013
- MF 01:38 PM Software Development: RE: How to specify port in client/server application
- I knew there was a simple answer. Thanks!
Here's the updated code, which compiles.
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#in... - MW 12:39 PM Software Development: RE: How to specify port in client/server application
- Hi Mary,
sockaddr_in is most certainly supported by the compiler. We use it all the time. The man page suggests you need a couple of additional headers, from the man page you need:
#include <sys/socket.h>
#include <netinet/in.h>
... - MF 12:17 PM Software Development: RE: How to specify port in client/server application
- Yes, I was just reading that. They use slightly different elements:
struct sockaddr_in serv_addr, cli_addr;
portno = atoi(argv[1]);
serv_addr.sin_family = AF_INET;
serv_addr.sin_addr.s_addr = INADDR_ANY;
... - TI 11:44 AM Software Development: RE: How to specify port in client/server application
- here's a pretty decent tutorial on linux sockets...
http://www.linuxhowtos.org/C_C++/socket.htm
- Hello,
I am running Linux on the ARM and DSP/BIOS on the DSP. I need to implement a client and server on a particular port on the ARM side. I am using MDK_2012-08-10.
How do you specify the port to listen on or connect to? There...
02/14/2013
- How do you configure / customize the tool chain to the mitydsp board? eg the current version of gnu compiler for the board is 4.3.3. How is it targeted to the mityboars?
I need to configure the 4.7.2 version for the mity board. When a s... - JY 10:53 AM Software Development: RE: Trouble with writing to UART2
- Thank You for your help, Ultimately I need to use this on the PRU and I saw how TI is doing it through there Profibus utilities module. They set up the pin mux to have PRU0 R30[16] toggle the enable line. This seems to be the most effici...
- MW 10:49 AM Software Development: RE: CLK frequency increase using DSP only
- Check the Datasheet for the speed grade for the L138-FI-225-RC, though I think the F means CPU speed up to 456 MHz. The OMAP-L138 datasheet specifies all of the maximum operating frequencies for the clock domains within the part. The l...
- MW 10:46 AM Software Development: RE: CLK frequency increase using DSP only
- OSCin is 24 MHz. It's fixed by the crystal on the part.
The documentation you would need to read is for the "TPS65023 PMIC":http://www.ti.com/product/tps65023&lpos=Middle_Container&lid=Alternative_Devices from TI. These I2C commands... - RT 10:41 AM Software Development: RE: CLK frequency increase using DSP only
- Hi, I too would like to increase the running speed towards 456MHz. I have managed to change the speed as per your instructions. and would like to have some further information.
Is there any documentation to explain the following
i2c ...
02/13/2013
- MW 07:23 PM Software Development: RE: Trouble with writing to UART2
- You need to use the TIOCRS485 ioctl on the serial port file descriptor with the serial_rs485 structure.
It involves writing a bit of code. You can't do it with any shell tools that I am aware of.
See the example code in the rs485_... - JY 07:08 PM Software Development: RE: Trouble with writing to UART2
- Additionally, it appears the pin muxing was set up such that the GP0[9] was not selected due to AMUTE being selected by the mcasp initialization. If i disable the mcasp initialization in the kernel build GP0[9] is mapped to the rs485 ena...
- JY 06:41 PM Software Development: RE: Trouble with writing to UART2
- I am using the 2.6.34 kernel and it appears it already has the patch applied. I was able to get it to work by reassigning the pins and manually applying the RTS line. With the original configuration, am I supposed to toggle the GPO pin m...
- MW 03:06 PM Software Development: RE: Trouble with writing to UART2
- Hi Jeremy / Tim,
The link Tim pointed you to is for the MityARM-335x, not the MityARM-180x, though a similar patch exists for that as well for the RS-485 drivers.
Sorry for the confusion.
The patch you need is "here":http://su... - TI 03:00 PM Software Development: RE: Trouble with writing to UART2
- Jeremy
The RS485 board has an enable that must be managed. I believe you need a newer version of the driver to control it.
Support for the RS-485 board was added in commit 3e1a3878bbe545b7d4a2ab65023a9938b0d5984e
dated 2012-12-11
see... - I am having some difficulty with writing to the UART2 on the AM1810. I have everything setup such that I can read from the port with out any problems. When I run the command cat /proc/tty/driver/serial I am able to see the Tx count incre...
02/12/2013
- MW 05:35 PM Software Development: RE: U-Boot Source Code
- Hi Terrence,
To confirm: are you looking for u-Boot code, or the User Boot Loader (UBL) code?
As Jonathan and Alex indicate, u-Boot is availble from GIT. The MDK should include a copy of the UBL project, which I believe was compil... - AB 05:00 PM Software Development: RE: U-Boot Source Code
- Terrence,
The U-Boot source code is maintained in a GIT repository and not wholly contained in the MDK however a seed version of the GIT repository is included but you should update it to the latest.
Considerable information is on ... - JC 04:34 PM Software Development: RE: U-Boot Source Code
- Also the git repository can be explored here. http://support.criticallink.com/gitweb/?p=u-boot-mitydspl138.git;a=summary
U-boot wiki page: [[Das_U-Boot_Port]] - JC 04:31 PM Software Development: RE: U-Boot Source Code
- Have you checked the sw/ARM directory in the MDK?
-Jonathan - Does anyone know where I can find the U-Boot (UBL version 1.65:2.28) source code? Does the UBL source come bundled with the MDK? I am using MDK-2011-12-05.
- SP 10:12 AM Software Development: RE: Ethernet packet loss
- Hi Mike,
We are using your L138-FG-225-RC in combination with a propriatary base (=industrial IO) board --> MII is connected and used.
Stéphane - MW 10:07 AM Software Development: RE: Ethernet packet loss
- Are you using a custom board? Are you using the MII or the RMII port? If RMII, what device is sourcing the reference clock?
-Mike
- SP 09:35 AM Software Development: RE: Ethernet packet loss
- Hi Mike,
It’s not a u-Boot/Linux problem.
We are running SysBios on the ARM after leaving ROM code…
Best regards
Stéphane
- MW 07:13 AM Software Development: RE: Ethernet packet loss
- Hello,
I looked at your E2E post, and I think I *may* understand the problem, but I am not sure.
By changing the frequency in the bootloader and not in the kernel, I'm not sure if the kernel is initializing with the right idea of w...
02/11/2013
- SP 03:28 AM Software Development: RE: Ethernet packet loss
- I also made a post in the E2E: http://e2e.ti.com/support/embedded/bios/f/355/t/244852.aspx
Stéphane
02/08/2013
- SP 12:19 AM Software Development: RE: Supply voltage for RVDD (internal ram supply)
- Hi Mike,
Thanks for the information and for the hint/link to the errata sheet.
Stéphane
02/07/2013
- MW 07:01 AM Software Development: RE: Supply voltage for RVDD (internal ram supply)
- RVDD is connected to the CORE voltage.
So when you run at 456 MHz, the RVDD is bumped up to 1.3 volts as well.
The minimum core voltage that can be applied is 1.2 volts (even if you drop your OPP down to 200 MHz or below) because o... - Hello,
In the OMAP-L138 data sheet (sprs586d) chapter 2.8.27, I see that RVDD (internal ram supply) needs 1.2V respective 1.3V for 456MHz.
To what voltage source are these pins connected to? I just see 1.2V, 1.8V, 3.3V and the variable... - Hello,
We are using the OMAP-L138 with SysBios on both ARM and DSP. In a test where we are sending nonsense data from the ARM to a PC, we reach a bandwidth from over 4MB/s with 8K UDP packets at 300MHz. When we now increase the CPU freq...
02/04/2013
- JC 10:48 AM Software Development: RE: Linux boot time on the MityArm1808F
- See this link for an example of loading the fpga image from uboot.
http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Programming_the_FPGA#Using-u-Boot-to-load-the-FPGA
And this one for loading StarterWare.
http://...
02/02/2013
- AK 08:28 AM Software Development: RE: Linux boot time on the MityArm1808F
- Thank you for quick response.
It seems that StarterWare is a feasible option.
If I understand correctly, StarterWare will create an image that will be loaded to the NOR flash memory and replace (or not?) the linux kernel. U-Boot w... - MW 06:43 AM Software Development: RE: Linux boot time on the MityArm1808F
- Hello Alex,
We have not tried to much to get the boot times down to the levels that you are requiring. Keep in mind that the boot time of a "stock" implementation also includes the UBL load time (User Boot Loader, loaded from SPI, co... - AK 06:19 AM Software Development: RE: Linux boot time on the MityArm1808F
- English is not my first language so please +BEAR+ with me. :)
- Hello,
I'm new to ARM software development so please bare with me.
+Some background on the project:+
I'm working on a data logger project based on the MityArm1808F (currently using the Industrial IO Development Kit). My plan is ...
01/29/2013
- MW 11:20 AM Software Development: RE: TFTP (or FTP) Server
- If you really must have ftp, you can recompile "busybox":http://www.busybox.net/ (this is installed currently, but the option is not enabled) and add ftpd as an option. This is really how you would install it.
There is a really shoul... - MF 10:56 AM Software Development: RE: TFTP (or FTP) Server
- Based on Jonathan's comment, it appears that ftp is not supported on this platform. Guess it'll have to be sftp.
Thanks for the help.
Mary - MW 10:48 AM Software Development: RE: TFTP (or FTP) Server
- This error:
- JC 10:40 AM Software Development: RE: TFTP (or FTP) Server
- Reading the online page for owftpd doesn't lead me to believe that the owftpd program is a network ftp server. It seems designed for some kind of one-wire serial link...
http://owfs.org/uploads/owftpd.1.html - MF 10:37 AM Software Development: RE: TFTP (or FTP) Server
- Ran the following:
root@mityomapl138:/etc# echo nameserver 8.8.8.8 > resolv.conf
root@mityomapl138:/etc# opkg update
This ran more successfully, but still had this error:
Collected errors:
* opkg_download: Failed to download ... - TI 10:17 AM Software Development: RE: TFTP (or FTP) Server
- That looks like either
1 - Your board is not able to see the internet
2 - You don't have a nameserver configured.
- The nameserver is specified in /etc/resolv.conf and is typically (although not always) the same as your gateway. Try - MF 10:11 AM Software Development: RE: TFTP (or FTP) Server
- Ok, tried that ... here's the results. I don't think the update worked.
root@mityomapl138:/etc/init.d# opkg update
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.05/ipk/eglibc/arm
v5te/base/Packages.gz.
wget: bad a... - JC 10:04 AM Software Development: RE: TFTP (or FTP) Server
- Try running
opkg update
This will ask the update server for a new list of packages and then you can rerun the opkg list command. This will hopefully result in better results, otherwise its possible they don't have a ftpd package fo... - MF 09:54 AM Software Development: RE: TFTP (or FTP) Server
- Running
root@mityomapl138:/etc/init.d# opkg list | grep ftpd
yielded no results.
Running
root@mityomapl138:/etc/init.d# opkg list | more
yielded lots of results, none of them contained "ftpd" or "ftp", only "sftp".
root@mityoma...
01/28/2013
- JC 01:37 PM Software Development: RE: TFTP (or FTP) Server
- Alternatively you could install and setup one of the ftp/tftp servers on your embedded device.
$opkg list | grep ftpd
owftpd - 2.7p28-r0.5 - Anoymous FTP server for 1-wire access
proftpd - 1.3.2b-r0.5 - Secure ftp daemon
proftpd-de... - JC 01:10 PM Software Development: RE: TFTP (or FTP) Server
- http://stackoverflow.com/questions/3477471/whats-a-decent-sftp-command-line-client-for-windows
SFTP/SCP is automatically available through the ssh dropbear daemon on the embedded device so wouldn't require any special changes on the e...