Search the Community

Showing results for tags 'TM4C1294'.



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 12 results

  1. 1. Run program eflash.exe with the following parameters: This program downloads a file to a remote device, using the Ethernet Boot Loader. Open windows CMD eflash -i <IP address> -m <MAC address> <file_to_program.bin> IP address foirmat: XXX.XXX.XXX.XXX MAC address format example: 00.1A.B6.03.0F.0C 2. Jump in your TM4C1294 board to the boot loader void UpgradeSoftware(void) { uint32_t *Reg_OPA_REG_1; // Disable all processor interrupts. Instead of disabling them // one at a time (and possibly missing an interrupt if new sources // are added), a direct write to NVIC is done to disable all // peripheral interrupts. HWREG(NVIC_DIS0) = 0xffffffff; HWREG(NVIC_DIS1) = 0xffffffff; HWREG(NVIC_DIS2) = 0xffffffff; HWREG(NVIC_DIS3) = 0xffffffff; HWREG(NVIC_DIS4) = 0xffffffff; // Also disable the SysTick interrupt. SysTickIntDisable(); SysTickDisable(); // Return control to the boot loader. This is a call to the SVC // handler in the flashed-based boot loader, or to the ROM if configured. ROM_UpdateEMAC(g_ui32SysClock); } 3. How to find your board MAC addressUsing LM Flash programmer connected to USB port of CPU card Or void read_mac_address() { uint32_t ui32User0, ui32User1; uint8_t pui8MAC[6]; // Get the MAC address from the user registers. MAP_FlashUserGet(&ui32User0, &ui32User1); // Convert the 24/24 split MAC address from NV ram into a 32/16 split MAC // address needed to program the hardware registers, then program the MAC // address into the Ethernet Controller registers. pui8MAC[0] = ((ui32User0 >> 0) & 0xff); pui8MAC[1] = ((ui32User0 >> 8) & 0xff); pui8MAC[2] = ((ui32User0 >> 16) & 0xff); pui8MAC[3] = ((ui32User1 >> 0) & 0xff); pui8MAC[4] = ((ui32User1 >> 8) & 0xff); pui8MAC[5] = ((ui32User1 >> 16) & 0xff); sprintf(Str, "MAC address= %02x-%02x-%02x-%02x-%02x-%02x\n",pui8MAC[0],pui8MAC[1],pui8MAC[2],pui8MAC[3],pui8MAC[4],pui8MAC[5]); UARTprintf(Str); } 4. https://github.com/kroesche/stellaris_eflash bootp_server.c bootp_server.h eflash.c eflash.h SW_update by Enternet.rar
  2. I have this error lately, please give some suggestion. My target launchpad is TM4C1294 and Ide is Energia 18. For your info I use this many times without any problem. I also manage to use with MSP 430 and TM4C123. Energia: 1.6.10E18 (Windows 10), Board: "LaunchPad (Tiva C) w/ tm4c129 (120MHz)" Thank you very much. Error during uploading to TM4C1294.txt
  3. I have configured the Arduino Touchdevelop libs to compile for TIVA TM4c1294, using platformio. Code can be found at: https://?www.touchdevelop.com/pvcslb Full lib is W.I.P so please reply for any feature requests. output_file.ino
  4. HI ! This my first post. Excuse me if I do something wrong and by my poor english... In Energia Multitasking Guide page (http://energia.nu/guide/multitasking/) I found this information: "Currently, Multitasking is supported on the MSP432 launchpad." Unfortunately in page don't have nothing that defines "Currently". Then I ask to my colleagues if currently Energia multitasking does not support TM4C1294. Thanks Ivan
  5. I am uploading the fade example of energia to the tiva t4mc1294 connected launchpad but the LED is not fading. It is just blinking. I have also connected the pwm output to motor drivers but the speed of the motors are not changing. When I check the voltage of the pin with my multimeter, I get 0.66v. I have tried the fade example on different pins like PF2, PF3(pins marked for analogWrite in launchpad reference) but the results are same. Here is the code for the fade example, given as reference. int brightness = 0; // how bright the LED is int fadeAmount = 5; // how many points to fade the LED by void setup() { // declare pin 14 to be an output: //analogFrequency(FREQ); pinMode(PF_3, OUTPUT); pinMode(PF_2,OUTPUT); Serial.begin(9600); } void loop() { digitalWrite(PF_2,HIGH); // set the brightness of pin 9: analogWrite(PF_3, brightness); // change the brightness for next time through the loop: brightness = brightness + fadeAmount; Serial.print(brightness); // reverse the direction of the fading at the ends of the fade: if (brightness == 0 || brightness == 255) { fadeAmount = -fadeAmount ; } // wait for 30 milliseconds to see the dimming effect delay(30); }
  6. I noticed a problem with the EEPROM library TM4C1294 Connected LaunchPad. I tried this example but without success: /* Example 31.1 - Arduino internal EEPROM demonstration http://tronixstuff.com/tutorials > chapter 31 | CC by-sa-nc */ #include <EEPROM.h> int zz; int EEsize = 1024; // size in bytes of your board's EEPROM void setup(){ Serial.begin(9600); randomSeed(analogRead(0)); } void loop(){ Serial.println("Writing random numbers..."); for (int i = 0; i < EEsize; i++){ zz=random(255); EEPROM.write(i, zz); } Serial.println(); for (int a=0; a<EEsize; a++){ zz = EEPROM.read(a); Serial.print("EEPROM position: "); Serial.print(a); Serial.print(" contains "); Serial.println(zz); delay(25); } } After reset only print "Writing random numbers ..." and freezes. The same code works with TM4C123. I use the latest library from GIT.
  7. I have found the Energia pin map pdf's are difficult to match with the (several) pin numbering systems so I created an Excel spreadsheet to combine all of these. It's in a spreadsheet so you can sort on any column. This makes it much easier to find the pins and their functions. The pin functional groups are color coded. Two sample images of the tables are included, one based on the Boosterpack pins (booster_pack), and the second on the breadboard pins (breadboard). Numbering lists include physical pins X6-X9, boosterpack pins A1- D2, GPIO pins PA-PQ, and digital pin-to-port numbers 1-95 TM4C1294 Board Pinouts_V3.zip
  8. Hi, I am trying to get i2c working on a EK-TM4C1294XL on energia. I am trying to use i2c channel 0. So they should be on pb2 and pb3. Thing is, I do not see any signal on sda or sck on the scope except for the pullup. On the serial debug I see "Start" and "Loop" but "Loop2" never appears. Like it is stuck sending I2c. As simpel as this program is, I am not getting it or something is wrong in the libraries. Hope you can help, cheers John #include <Wire.h> void setup() { Wire.setModule(0); Wire.begin(); // join i2c bus (address optional for master) Wire.setModule(0); Serial.begin(115200); // start serial communication at 9600bps pinMode(PC_7, OUTPUT); pinMode(PB_2, INPUT_PULLUP); pinMode(PB_3, INPUT_PULLUP); Serial.println("Start"); } void loop() { Serial.println("Loop"); Wire.beginTransmission(112); // transmit to device #112 (0x70) Wire.write(byte(0x00)); // sets register pointer to the command register (0x00) Wire.write(byte(0x50)); // command sensor to measure in "inches" (0x50) Wire.endTransmission(); // stop transmitting Serial.println("Loop2"); digitalWrite(PC_7,HIGH); // turn the LED on (HIGH is the voltage level) delay(250); // wait a bit since people have to read the output digitalWrite(PC_7, LOW); // turn the LED off by making the voltage LOW delay(250); // wait a bit since people have to read the output }
  9. Hello Gentlemen, I'm trying to develop a TCP/IP client with the new TI Connected LaunchPad board but I have some problem with the code that I couldn't figure out and maybe someone can give me a hand, here is the code (based on the Web client example but with some modifications): #include <Ethernet.h> // Enter a MAC address for your controller below. byte mac[] = { 0x00, 0x1F, 0xB0, 0x02, 0xFE, 0x30 }; IPAddress ipLocal(169,254,41,200); IPAddress server(169,254,41,198); unsigned int localPort = 8080; // local port to listen on char SendBuffer[] = "Something to send\n"; //test data char ReceiveBuffer[64] = " "; //receive buffer // Initialize the Ethernet client library // with the IP address and port of the server // that you want to connect to (port 80 is default for HTTP): EthernetClient client; void setup() { //start the Ethernet Ethernet.begin(mac,ipLocal, server); Ethernet.enableLinkLed(); Ethernet.enableActivityLed(); //Connect to server client.connect(server, localPort); //start the serial library: Serial.begin(9600); Serial.println("\n\nTCP/IP Client setup"); // start the Ethernet connection: if (Ethernet.begin(mac) == 0) { Serial.println("Failed to configure Ethernet using DHCP"); // no point in carrying on, so do nothing forevermore: while(true); } // 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(); Serial.print("connecting to server\n"); //Serial.println(server); server.printTo(Serial); // if you get a connection, report back via serial: if (client.connect(server, localPort)) { Serial.println("connected to"); server.printTo(Serial); // Make a HTTP request: //client.println("GET /search?q=arduino HTTP/1.0"); //client.println(); } else { // kf you didn't get a connection to the server: Serial.println("connection failed"); } } void loop() { // if there are incoming bytes available // from the server, read them and print them: if (client.available()) { char c = client.read(); Serial.print(c); } client.write(SendBuffer); // if the server's disconnected, stop the client: if (!client.connected()) { Serial.println(); Serial.println("disconnecting."); client.stop(); // do nothing forevermore: while(true); } } //End of code On the serial monitor it displays "TCP/IP Client setup" then stops, when I try to find the board using "arp -a" command from the windows cmd it shows nothing about the board (neither the MAC nor the IP address I have assigned to it), tried to connect to the board using a small sockets example written in C++ and for sure nothing happened (just to make sure windows networking utilities aren't screwed). Thanks in advance folks
  10. I recently picked up a Tiva C-Series TM4C1294 Connected Launchpad (EK-TM4C1294XL to be exact). I've been trying to get the example blink code running and its not working. It compiles and uploads almost all the way then just sits there forever. See attached screenshot. The COM port and board are both selected appropriately. I believe everything is installed correctly as I *CAN* compile/upload the examples in CCS 5.4. Any ideas would be most appreciated!
  11. Hello Gentlemen, I'm trying to develop a TCP/IP client with the new TI Connected LaunchPad board but I have some problem with the code that I couldn't figure out and maybe someone can give me a hand, here is the code (based on the Web client example but with some modifications): #include <Ethernet.h> // Enter a MAC address for your controller below. byte mac[] = { 0x00, 0x1F, 0xB0, 0x02, 0xFE, 0x30 }; IPAddress ipLocal(169,254,41,200); IPAddress server(169,254,41,198); unsigned int localPort = 8080; // local port to listen on char SendBuffer[] = "Something to send\n"; //test data char ReceiveBuffer[64] = " "; //receive buffer // Initialize the Ethernet client library // with the IP address and port of the server // that you want to connect to (port 80 is default for HTTP): EthernetClient client; void setup() { //start the Ethernet Ethernet.begin(mac,ipLocal, server); Ethernet.enableLinkLed(); Ethernet.enableActivityLed(); //Connect to server client.connect(server, localPort); //start the serial library: Serial.begin(9600); Serial.println("\n\nTCP/IP Client setup"); // start the Ethernet connection: if (Ethernet.begin(mac) == 0) { Serial.println("Failed to configure Ethernet using DHCP"); // no point in carrying on, so do nothing forevermore: while(true); } // 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(); Serial.print("connecting to server\n"); //Serial.println(server); server.printTo(Serial); // if you get a connection, report back via serial: if (client.connect(server, localPort)) { Serial.println("connected to"); server.printTo(Serial); // Make a HTTP request: //client.println("GET /search?q=arduino HTTP/1.0"); //client.println(); } else { // kf you didn't get a connection to the server: Serial.println("connection failed"); } } void loop() { // if there are incoming bytes available // from the server, read them and print them: if (client.available()) { char c = client.read(); Serial.print(c); } client.write(SendBuffer); // if the server's disconnected, stop the client: if (!client.connected()) { Serial.println(); Serial.println("disconnecting."); client.stop(); // do nothing forevermore: while(true); } } //End of code On the serial monitor it displays "TCP/IP Client setup" then stops, when I try to find the board using "arp -a" command from the windows cmd it shows nothing about the board (neither the MAC nor the IP address I have assigned to it), tried to connect to the board using a small sockets example written in C++ and for sure nothing happened (just to make sure windows networking utilities aren't screwed). Thanks in advance folks
  12. Just received mine and the processor shows XM4C1294. So, is TI pushing out more experimental silicon like they did with the LM4F... oops, I mean LX4F Stellaris LP? Don't mean to rant but I ordered TM4, not XM4.