Search the Community

Showing results for tags 'ethernet'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Found 17 results

  1. It would be really awesome for my project if I could update code over Ethernet, instead of USB for my Tiva C connected. I've tried the latest version of the LM Flash Utility (Build 1613) and cannot seem to connect to the Tiva C over Ethernet with the utility. I have a MAC and IP set on my board using the Energia Ethernet UDP library and can verify them with a ping and look at my laptop's ARP table, but I am unsure if this is enough to satisfy the needs of the LM Flash Utility. I was hoping that the functionality would be supported "behind the scenes" in Energia, but that does not seem to be the case. Is there a TI TivaWare/StarterWare function that can be easily called to gain this functionality? Has anyone here had any luck trying to program the Tiva C connected over Ethernet?
  2. Hello, I need help sending an Ethernet raw socket through my EK-TM4C1294XL (http://www.ti.com/tool/ek-tm4c1294xl). Here is what i have done so far: -> Using and modifing some NDK examples, but the problem is that i want a code in C/C++, not using a whole operating system (TI-RTOS SYS/BIOS); -> Including NDK libraries for use of it's functions and not installing the SYS/BIOS, however i am having lots of dependencies errors; -> Using Tiva C Series Ethernet examples, but they use the lwip TCP/IP protocol stack, i'm trying to send a raw Ethernet socket only; -> Using Energia Ethernet library, stll could not isolate the code sending only a raw Ethernet socket; -> Using W5100 Ethernet Shield library, however i could not manage to get Ethernet output (http://forum.43oh.com/topic/9858-energia-library-wiznet-w5100w5200w5500/). If someone could provide any tips or other implementations, i would appreciate very much. Thank you.
  3. Hi, As it seems to work on MSP430 device like MSP430F5529, I share it here too : http://forum.43oh.com/topic/9858-energia-library-wiznet-w5100w5200w5500/ Ethernet_Wiznet.zip
  4. Hi all, It was a real pain in the ass to find information about interfacing LP + Wiznet ethernet chip with energia so I'm here to share my work. I was looking for a library for ethernet chips from Wiznet (W5100,W5200,W5500) for TivaC series LP. The first problem I met was that as TM4C129 LP already has an ethernet.h library, I simply could not copy a new ethernet.h library for non-ethernet Ethernet_Wiznet.zip
  5. Hi, I am using the web client demo to send an HTTP GET request to a web server to read the data in json format. However the web server returns an error code 301 page moved error. How do I redirect my request to the new location? Does the ethernet library for TIVA support SSL HTTP GET requests?
  6. 0down votefavorite Hi, I am trying to implement Modbus TCP on TIVA 1294 using the following code. I am using a modbus slave simulator on a pc to check the following code. However, the code doesn't seem to be working. I have downloaded the code & the libraries fromhttp://myarduinoprojects.com/modbus.html. Please suggest me corrections if necessary. Also is there another working example available for modbus tcp/ip for ethernet on TIVA energia? Please guide. #include <SPI.h> #include <Ethernet.h> #include "MgsModbus.h" MgsModbus Mb; int inByte = 0; // incoming serial byte // Ethernet settings (depending on MAC and Local network) byte mac[] = {0x00, 0x1A, 0xB6, 0x02, 0xD1, 0x14 }; IPAddress ip(192, 168, 0, 35); void setup() { // serial setup Serial.begin(9600); Serial.println("Serial interface started"); // initialize the ethernet device Ethernet.begin(mac, ip); // start etehrnet interface Serial.println("Ethernet interface started"); // print your local IP address: Serial.print("My IP address: "); for (byte thisByte = 0; thisByte < 4; thisByte++) { // print the value of each byte of the IP address: Serial.print(Ethernet.localIP()[thisByte], DEC); Serial.print("."); } Serial.println(); // slave address Mb.remSlaveIP = (192,168,0,1); // Fill MbData // Mb.SetBit(0,false); Mb.MbData[0] = 1; Mb.MbData[1] = 2; Mb.MbData[2] = 3; Mb.MbData[3] = 4; Mb.MbData[4] = 5; Mb.MbData[5] = 6; Mb.MbData[6] = 0; Mb.MbData[7] = 0; Mb.MbData[8] = 0; Mb.MbData[9] = 0; Mb.MbData[10] = 0; Mb.MbData[11] = 0; // print MbData for (int i=0;i<12;i++) { Serial.print("address: "); Serial.print(i); Serial.print("Data: "); Serial.println(Mb.MbData); } // print menu Serial.println("0 - print the first 12 words of the MbData space"); Serial.println("1 - FC 1 - read the first 5 coils from the slave and store them in the lower byte of MbData[1]"); Serial.println("2 - FC 2 - read the first 5 discrete inputs from the slave and store them in the higer of the MbData[1]"); Serial.println("3 - FC 3 - read the first 5 registers from the slave and store them in MbData[3..7"); Serial.println("4 - FC 4 - read the first 5 input registers from the slave and store them in MbData[8..12]"); Serial.println("5 - FC 5 - write coil 0 of the slave with the bit valeu of MbData[0.0]"); Serial.println("6 - FC 6 - write register 0 of the slave with MbData[2]"); Serial.println("7 - FC 15 - write 5 coils of the slave starting with coil 0 with GetBit(16..20"); Serial.println("8 - Fc 16 - write 5 registers of the slave starting on register 0 with MbData[0..4]"); Serial.println(Mb.remSlaveIP); } void loop() { if (Serial.available() > 0) { // get incoming byte: inByte = Serial.read(); if (inByte == '0') { // print MbData for (int i=0;i<12;i++) { Serial.print("address: "); Serial.print(i); Serial.print("Data: "); Serial.println(Mb.MbData); } } if (inByte == '1') {Mb.Req(MB_FC_READ_COILS, 6,6,6);} // 1 // ref, count, pos if (inByte == '2') {Mb.Req(MB_FC_READ_DISCRETE_INPUT, 6,6,6);} // 2 if (inByte == '3') {Mb.Req(MB_FC_READ_REGISTERS, 6,6,6);} // 3 if (inByte == '4') {Mb.Req(MB_FC_READ_INPUT_REGISTER, 6,6,6);} // 4 if (inByte == '5') {Mb.Req(MB_FC_WRITE_COIL, 0,0,0);} // 5 // count can be x if (inByte == '6') {Mb.Req(MB_FC_WRITE_REGISTER, 7,0,0);} // 6 // count can be x if (inByte == '7') {Mb.Req(MB_FC_WRITE_MULTIPLE_COILS, 0,6,0);} // 15 if (inByte == '8') {Mb.Req(MB_FC_WRITE_MULTIPLE_REGISTERS, 0,6,0);} // 16 } Mb.MbmRun(); // Mb.MbsRun(); } Thanks.
  7. Hi , I have written a code for ethernet client using TM4c1294NCPDT launchpad and I am sending data to a server at api.pushingbox.com. The code sends data to the server after every 15 seconds, It works all the time, however sometimes suddenly the ethernet data transfer hangs, the microcontroller does not hang. Below is the void loop() I have used.Please help. void loop(){ kemasData(); //packing GET query with data Serial.println("connecting..."); if (client.connect(server, 80)) { sendData(); // koneksi = true; //connected = true u.count++; Serial.println(length); length = 0; EEPROM.write(0,u.b[0]); EEPROM.write(1,u.b[1]); Serial.println("conn serv"); } else{ Serial.println("connection failed"); } // loop while(client.connected()){ while (client.available()) { char c = client.read(); //save http header to c Serial.print(c); //print http header to serial monitor } //Serial.print("-"); } if (!client.connected()) { Serial.println(); Serial.println("disconnecting."); Serial.print("Count :"); Serial.println(u.count); //print sent value to serial monitor client.stop(); Serial.println("Client Stopped"); // koneksi = false; Serial.println("koneksi = false"); data = ""; //data reset } delay(15000); // interval } When I check the serial port the code hangs at conn serv printed above.
  8. I am using TM4C129 LaunchPad for an Industrial IoT product. We want to have a web server running on it. I am looking into this example of setting up the IP address. To do it this way, every time you join a new network, you have to change the code for a different IP address. Is there a way to avoid this problem? Any example of how can I change the IP address automatically as soon as it joins a a new network? I believe that the TivaWare provided example enet_io for the TM4C129x board does what I am looking for. But I would like an example in Energia. Can you please help?
  9. Buy: The 43oh Store or Rob's Tindie Store. The newest version of the Ethernet BoosterPack is based on the newest chip from WIZnet, W5500. P1.5 - SCLK P1.6 - MISO P1.7 - MOSI P2.3 - /CS P2.4 - /INT P2.5 - /RST Configuration jumpers are on the bottom, PMODE1-PMODE3, LINK LED, and ACT LED. LED jumpers control which LEDs are used, on board or socket. Available on Tindie.
  10. Hi, I have a Mac desktop app that connects to a Connected Launchpad via USB serial. I decided to try to add ethernet port connection. I got tantalizing close but no cigar! I've been stuck on this for a week now so I need help. I had no problems adding the Ethernet.h library except for something very weird trying to do a conditional import. I have been using directives to compile for either the LaunchPad or the Connected LaunchPad: #ifdef PART_TM4C1294NCPDT // Connected LaunchPad #include "Ethernet.h" #elif defined( PART_LM4F120H5QR ) // LaunchPad #endif This seems to have been working, but it doesn't work for the above code. I have to comment out the #include "Ethernet.h" to compile for the EX-TM4C123GXL, but this is only a minor inconvenience. I set up a Telnet socket and was able to connect to it using the Unix Telnet program. I could connect, disconnect and reconnect, but the server does not recognize the disconnection. The client.connected() function continues to return true so I only get my sign message with the first connection. Still, I thought I was ready to go so I added NSStream to my app. It could connect and exchange a few messages before giving me a Stream Code 54: The operation couldnz6MainEthernet.ino
  11. WIZpix is an internet enabled RGB pixel controller with built in PoE. WIZpix uses W5500 internet appliance to connect to internet and MSP430F5172 MCU to control RGB pixels. Built-in DC/DC converter allows use of PoE, which eliminates need for directly connected power supply, ability to place controller far away from the outlet, and use of only one inexpensive CAT-5 cable. It
  12. Hi All, I added ethernet library to Energia. Though Arduino library supports ethernet function, Energia doesn't provide any library for ethernet yet. So, I tried to add ethernet library for arduino onto Energia IDE. Finally, I did it and examples of ethernet library for arduino work well. But as MSP4302553 has less SRAM memory than arduino Uno, you have to make some serial.print() sentence as comment. Anyway, if anybody want to update this ethernet library, feel free do that. As .zip file is too big, I'll post it on Github and share to all of you as soon as possible. Thank you. Thank you.
  13. This is a code library implementing a sockets-oriented interface to the WizNet W5200. It's been a long time coming, and the plan is to implement DHCP support soon; almost there, had to rewrite the lib from scratch to allow piecemeal I/O with various socket types first. For now, the code includes working examples for the MSP430G2553 and MSP430F5529 LaunchPads. It needs a lot of documentation work though so don't fret if you can't get them working :-) More to come... Link: https://github.com/spirilis/w5200sock After DHCP support is working on the older W5200, I am going to adapt this into a W5500 library called w5500sock. As it stands right now though this library should be sufficient for building TCP and UDP clients and servers, managing several simultaneously along with doing repeated DNS lookups (A records only, i.e. dnslib_gethostbyname() is the only implemented client function so far). Much of the API is designed to allow the MCU to write or read data piecemeal without having to allocate any large buffers of its own to manage the data. See dnslib.c for good examples... there are flags for the various recv, send and flush calls which do "virtual" reads of the data without signalling the readiness to receive new packets, and the wiznet_send() and wiznet_sendto() calls take an argument as to whether the packet should be committed yet. This enables low SRAM usage for e.g. the G2553. I think the API is too fat for the G2452 though, so G2553 at a minimum.
  14. hi all, I'm trying to use an Ethernet module that i bought called "Ethernet LAN Module for Arduino / microcontrollers with SPI (ENC26J80)". I found a few example for it for different MSP430's but i cant get it to work. Does anyone know how to make it work? witch pins to connect and example code would be great. thanks, Ofer.
  15. hello, I am working on project in which i need internet connectivity. I am using MSP430F5438A. I came across many ethernet controllers, but i chose ENC28J60. does anybody know how to interface ENC28J60 with MSP4305438A ? any help would be appreciated.
  16. Ethernet - DMX Booster Pack. Uses WIZ820io on the Ethernet side and SN65HVD12 on the RS-485 side. XLR or RJ45 socket can be used. Compatible with MSP430, Stellaris, C2K, and Tiva LaunchPads. Will provide e1.31 example later on. If interested in a standalone version, I will have 2 and 4 universe versions very soon. 4 universe version will have Ethernet, XBee, and MIDI inputs.
  17. Hello, I am thinking on starting a new project, a web controlled robot!!! I was wondering if anyone has any experience with using an (Arduino)Ethernet shield with the MSP launchpad?? My plan is to build something like this: http://www.lynxmotion.net/viewtopic.php?f=20&t=6343 Or if anyone has any other ideas for easy, cheap web interaction with the launchpad. I don't want to use a wifi shield, because I would like to add video streaming in the future and wifi shields are not very video friendly. Thanks