UDP communication Raspberry pi with direct Ethernet connection
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Waleed El-Badry
el 4 de En. de 2015
Comentada: vcmorini
el 22 de Feb. de 2017
Hi, I recently downloaded and installed Raspberry Pi package (Simulink+MATLAB) and chose direct PC connection.
I tested the sine wave model (External mode) and it worked just fine. I even tested it by removing ethernet cable and reconnecting it and it was disconnecting and resuming on the plot. Also pinging the IP of raspberry pi is success.
The problem is when applying UDP communication example, I receive nothing. I made sure that Normal mode is selected and then deploying the on hardware . I tested when assigning my host IP and another time with '255.255.255.255' (Broadcast). Both got me nothing when running host communication model.
My question is, is it possible to receive UDP packets from Raspberry Pi if Direct connection is selected? Hope someone could assist me.
Thanks in advance. I use Model B.
2 comentarios
sandeep rathore
el 24 de En. de 2015
hii Waleed El-Badry, I am using matlab 2013a and raspberry pi model B. but whenever i try to install Raspbian Wheezy image from support package it gives error like this "firmware error.wait a couples of minutes and try again" give me some suggestion to solve it.
vcmorini
el 22 de Feb. de 2017
sandeep rathore, In my experience, most of my problems were solved by changing my SD card to a class 10 and increasing the source current to >1A
Respuesta aceptada
Más respuestas (1)
Murat Belge
el 6 de En. de 2015
Did you try using your computer's IP address instead of using the broadcast IP address of '255.255.255.255'?
Ver también
Categorías
Más información sobre Run on Target Hardware en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!