Forums » Software Development »
Mity DSP L138F program
Added by Nourhan Elsayed about 8 years ago
Hello,
I'm starting up with the board and have been following the starter guide tutorial.
However I am stuck at "Boot the MityDSP-L138 up into linux.
"
how ??
Thanks,
Replies (19)
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
also, I am connecting my board to tera term running on my windows with a serial to usb port.
I am getting nothing out of it though.
why?
RE: Mity DSP L138F program - Added by Michael Williamson about 8 years ago
Hi,
Usually our kits are provided with a cable. A couple kits require a NULL modem connection. Have you tried this cable?
-Mike
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
it worked thank you!
the problem was the cable.
I am trying to get the address of the port and i run root@mityomap# ifconfig -a
i get the result in the attachment.
is this correct"?
which one is the address.
Also, you should provide a more detailed tutorial to get started with the product.
thanks,
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
from the starter guide when i type:
mitydspl138@vm$ scp ExampleProgram root@192.168.0.151:/tmp
it asks me for a password. i type "mitydsp" but i get access denied.
what am i doing wrong? i didnt set any password
Capture.PNG (7.98 KB) Capture.PNG |
RE: Mity DSP L138F program - Added by Jonathan Cormier about 8 years ago
Nourhan Elsayed wrote:
from the starter guide when i type:
mitydspl138@vm$ scp ExampleProgram root@192.168.0.151:/tmp
it asks me for a password. i type "mitydsp" but i get access denied.
what am i doing wrong? i didnt set any password
There is no root password set. If you login as user root and press enter when asked for password it should let you in.
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
it doesnt work.
Please check the attachment capture.png
it doesnt ask for a username, only a password. i press enter it says permission denied.
attached is also the IP address info in the VM
serialfail.PNG (66 KB) serialfail.PNG |
RE: Mity DSP L138F program - Added by Jonathan Cormier about 8 years ago
The 192.168.1.125 address you are using is the address of the VM. You need to use the address for the L138.
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
when i try to get the address of the l138 i get this (l138f_IP.PNG)
when i use 169.254.10.9 in the terminal i get this(terminal_fail.png)
terminal_fail.PNG (11.5 KB) terminal_fail.PNG | |||
la38f_IP.PNG (19.6 KB) la38f_IP.PNG |
RE: Mity DSP L138F program - Added by Jonathan Cormier about 8 years ago
Have you connected your devkit straight to your PC? That ip address is usually assigned by windows if no dhcp server is found. http://www.techrepublic.com/forums/discussions/where-did-ip-16925451183-come-from/
For easiest setup it's recommended to connect devkit to local network that has a dhcp server.
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
isnt the dsp at eth0?
in this case i dont even have an IP address.
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
my dhcp derver is enabled (see attachment)
Capture.PNG (14.1 KB) Capture.PNG |
RE: Mity DSP L138F program - Added by Jonathan Cormier about 8 years ago
You should be able to force it to check for an ip address by running udhcpc -i eth0
. Or something similar I don't have one at home to test with.
RE: Mity DSP L138F program - Added by Jonathan Cormier about 8 years ago
Nourhan Elsayed wrote:
my dhcp derver is enabled (see attachment)
Alright let's revisit this question. Have you directly connected the devkit to your PC? If this is the case you may need to connect the virtual box to the right interface. This configuration is a little harder to get working if you aren't familiar with virtualbox and networking.
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
Ok here is what i have:
1- the tera term response to ifconfig a (teraterm_ip) the virtual box terminal response (vb_ip)
2
which ip should i use"?
teraterm_ip.PNG (18.2 KB) teraterm_ip.PNG | |||
vb_ip.PNG (52 KB) vb_ip.PNG |
RE: Mity DSP L138F program - Added by Jonathan Cormier about 8 years ago
Both of those ip addresses are on separate subnets. They will not be able to talk to each other. Do you have an IT person who would be able to help you get the networking setup correctly?
It would be helpful if you explained how you have the devkit setup. How is the devkits ethernet connected to the PC? I recommend not connecting the device directly as this makes things more difficult for initial bring up.
RE: Mity DSP L138F program - Added by Hector Bojorquez about 8 years ago
from the starter guide when i type:
mitydspl138@vm$ scp ExampleProgram root@192.168.0.151:/tmp
it asks me for a password. i type "mitydsp" but i get access denied.
what am i doing wrong? i didnt set any password
Have you solved this problem? Try with ' root ' for password.
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
noo nothing worked.
whatever IP address i use it says failed to connect
RE: Mity DSP L138F program - Added by Nourhan Elsayed about 8 years ago
also, the kit is connected via ethernet cable to the pc directly
RE: Mity DSP L138F program - Added by Jonathan Cormier about 8 years ago
Hi Nourhan,
The devkit is setup to connect to a network with a DHCP server, not direct connect to PC. Your setup is possible but it is a more advanced setup. It would help you to find someone with Networking and Linux knowledge to get this setup.
If you would like to learn more about this yourself. You will want to setup a static ip address on the devkit and on the PC/VM.
Setting static IP in linux devkit
http://elinux.org/RPi_Setting_up_a_static_IP_in_Debian
Setting static IP in ubuntu 10.04
http://www.howtogeek.com/howto/19541/how-to-assign-a-static-ip-to-an-ubuntu-10.04-desktop-computer/
You should probably set the VM networking into bridge mode
https://www.thomas-krenn.com/en/wiki/Network_Configuration_in_VirtualBox
Beginner guide on networking and subnets
https://www.techopedia.com/6/28587/internet/8-steps-to-understanding-ip-subnetting