
amirchaudhary
-
Content Count
17 -
Joined
-
Last visited
Posts posted by amirchaudhary
-
-
@@Eddie,
This is a fix but does it have a permanent solution.
I also get the same error
(Launch4j An error occurred while starting the application). when i start energia14,15,16 but it starts fine with energia13.
Anyone with any proper solution.!!!!
-
Awaiting please guide !!!!
-
Hii,
I am using GPIO 8 of CC3200 lauchpad but i am not able to control it.
I have tried it by assiging all the pin numbers but in vain.
for eg:. GPIO 6 is Pin 5 in energia,
Similarly i mapped GPIO 8 as pin 27 but it didnt worked please guide, which pin is in energia for GPIO 8.
I have refered the pin mapping image of cc3200 and also the cc3200 datasheet
Awaiting Reply!!!
-
Hi,
Thanks for the help so far.
OTA is available in CCS can we do it using energia, also is it possible to load the program the energia code over the air so we dont have to go to the site and program it again if any changes is to be made.
-
Thanks for the help the client.h file I was having didnt had these lines as above so downloaded new client.h from and edited as instructed.
virtual int sslConnect(const char *host, uint16_t port) = 0;virtual int sslConnect(IPAddress ip, uint16_t port) = 0;tovirtual int sslConnect(const char *host, uint16_t port){};virtual int sslConnect(IPAddress ip, uint16_t port){};and it workedThanks for the guidance!!! -
Please find attached the actioncharts libraries.
-
Still awaiting Please help!!!!
-
A very heartful thanks for the all the support.
I am using windows 7 32 bit os.I had issues related to static ip which is solved in energia 14, but encountered a new issue.My libraries are working fine in energia13 and also in arduino but not in energai14.Below is the error it gives while compiling.D:\energia-0101E0014-windows\energia-0101E0014\hardware\cc3200\libraries\ActionCharts\ActionClient.cpp: In member function 'int ActionClient::post(ActionFeed&)':D:\energia-0101E0014-windows\energia-0101E0014\hardware\cc3200\libraries\ActionCharts\ActionClient.cpp:12:14: error: cannot declare variable 'http' to be of abstract type 'HttpClient'HttpClient http(_client);^In file included from D:\energia-0101E0014-windows\energia-0101E0014\hardware\cc3200\libraries\ActionCharts\ActionClient.cpp:2:0:D:\energia-0101E0014-windows\energia-0101E0014\hardware\cc3200\libraries\HttpClient/HttpClient.h:37:7: note: because the following virtual functions are pure within 'HttpClient':class HttpClient : public Client^In file included from D:\energia-0101E0014-windows\energia-0101E0014\hardware\cc3200\libraries\ActionCharts/ActionFeed.h:5:0,from D:\energia-0101E0014-windows\energia-0101E0014\hardware\cc3200\libraries\ActionCharts/ActionCharts.h:3,from D:\energia-0101E0014-windows\energia-0101E0014\hardware\cc3200\libraries\ActionCharts\ActionClient.cpp:1:D:\energia-0101E0014-windows\energia-0101E0014\hardware\cc3200\cores\cc3200/Client.h:31:15: note: virtual int Client::sslConnect(const char*, uint16_t)virtual int sslConnect(const char *host, uint16_t port) = 0;^D:\energia-0101E0014-windows\energia-0101E0014\hardware\cc3200\cores\cc3200/Client.h:32:15: note: virtual int Client::sslConnect(IPAddress, uint16_t)virtual int sslConnect(IPAddress ip, uint16_t port) = 0;^Please guide!!! -
Awaiting for the new version of energia 14
-
I formated and loaded the new service pack, then i loaded WiFiGetHostIP sketch (first sketch) it worked fine and gave me output as in the first window but when i load sketch to connect it to a static ip it fails displays IP Adress as 0.0.0.0
Again repeated the procedure formated loaded new service pack and the wifigethostip it worked but agian when i loaded the static ip sketch it again says the same ip as 0.0.0.0.
the Please guide !!!!
-
Hi,
I have CC3200 launchpad and it is working fine with dynamic ip.
Now i have to connect it to static ip and here the problems starts.
I am using windows 7 32 and other pc with windows 7 64bit with energia to program it and i already formatted and install the new service pack.
Now when i load wifigethostip it works cool and gives information as asked in the code but when i load static ip addressing sketch it does not connect with my router and it displays IP Adress as 0.0.0.0
Please guide to connect it to net using static ip address
Attached is the code for both along with the serial monitor O/P
WiFiGetHostIP /** * get host IP by hostname demo * * Type a hostname into the serial terminal * and the corresponding IP address will be printed * * By Noah Luskey: 2 July 2014 */ #ifndef __CC3200R1M1RGC__ // Do not include SPI for CC3200 LaunchPad #include <SPI.h> #endif #include <WiFi.h> // your network name also called SSID char ssid[] = "SarlaA"; // your network password char password[] = "thisishitech"; // your network key Index number (needed only for WEP) int keyIndex = 0; void setup() { // put your setup code here, to run once: Serial.begin(115200); Serial.println("**Simplelink IP by name demo**"); // attempt to connect to Wifi network: Serial.print("Attempting to connect to Network named: "); // print the network name (SSID); Serial.println(ssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: WiFi.begin(ssid, password); while ( WiFi.status() != WL_CONNECTED) { // print dots while we wait to connect Serial.println("Searching..."); delay(300); } Serial.println("\nYou're connected to the network"); Serial.println("Waiting for an ip address"); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for an ip addresss Serial.println("searching"); delay(300); } Serial.println("\nIP Address obtained"); // you're connected now, so print out the status printWifiStatus(); } #define STRLEN 32 char buffer[STRLEN]; int bufferIndex = 0; void loop() { while(Serial.available()) { buffer[bufferIndex] = Serial.read(); // is this the terminating not carriage return if( buffer[bufferIndex] != '\r') { // keep reading bufferIndex++; continue; } buffer[ bufferIndex ] = 0; // terminate the string with a 0 bufferIndex = 0; // reset the index ready for another string Serial.print("Getting IP for "); Serial.println(buffer); IPAddress IP(0,0,0,0); int iRet = WiFi.hostByName(buffer, IP); if(iRet < 0) { Serial.println("Host name lookup failed"); } else { Serial.println(IP); Serial.flush(); } } } void printWifiStatus() { // print the SSID of the network you're attached to: Serial.print("Network Name: "); Serial.println(WiFi.SSID()); // print your WiFi shield's IP address: IPAddress ip = WiFi.localIP(); Serial.print("IP Address: "); Serial.println(ip); // print the received signal strength: long rssi = WiFi.RSSI(); Serial.print("signal strength (RSSI):"); Serial.print(rssi); Serial.println(" dBm"); }
#include <SPI.h> #include <WiFi.h> // the IP address for the shield: IPAddress ip(192, 168, 1, 12); char ssid[] = "SarlaAP5"; // your network SSID (name) char pass[] = "thisishitech"; // your network password (use for WPA, or use as key for WEP) int status = WL_IDLE_STATUS; void setup() { // Initialize serial and wait for port to open: Serial.begin(115200); while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only } // check for the presence of the shield: if (WiFi.status() == WL_NO_SHIELD) { Serial.println("WiFi shield not present"); while(true); // don't continue } WiFi.config(ip); // attempt to connect to Wifi network: while ( status != WL_CONNECTED) { Serial.print("Attempting to connect to SSID: "); Serial.println(ssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: status = WiFi.begin(ssid, pass); Serial.println(S) // wait 10 seconds for connection: delay(10000); } // print your WiFi shield's IP address: Serial.print("IP Address: "); Serial.println(WiFi.localIP()); } void loop () {}
I have tried changing different ip address which are free but it does not connect to internet.
Please guide!!!!
-
I have interfaced accelerometer sensor using energia but not able to program the temperature sensor on CC3200 launchpad but not able to connect the compiler shows the following error
C:\Program Files\energia-0101E0013\hardware\cc3200\libraries\Adafruit_TMP006\Adafruit_Sensor.cpp:2:26: fatal error: avr/pgmspace.h: No such file or directory
compilation terminated.but this was solved wen i copied the adafruit library but again a new errorC:\Program Files\energia-0101E0013\hardware\cc3200\libraries\Wire\utility\twi.c:25:20: fatal error: avr/io.h: No such file or directorycompilation terminated.i am not able to solve it not getting any clue for itplease guide!!!! -
I have interfaced accelerometer sensor using energia but not able to program the temperature sensor on CC3200 launchpad but not able to connect the compiler shows the following error
C:\Program Files\energia-0101E0013\hardware\cc3200\libraries\Adafruit_TMP006\Adafruit_Sensor.cpp:2:26: fatal error: avr/pgmspace.h: No such file or directory
compilation terminated.but this was solved wen i copied the adafruit library but again a new errorC:\Program Files\energia-0101E0013\hardware\cc3200\libraries\Wire\utility\twi.c:25:20: fatal error: avr/io.h: No such file or directorycompilation terminated.i am not able to solve it not getting any clue for itplease guide!!!! -
Did any one dont have similar issue awaiting for any guidance!!!
-
Hi,
I had a CC3200 Launchpad and i programmed it with energia to send data on xively and it worked out, but the board got damaged so i bought another board of same version CC3200 Launchxl Rev 3.2.
I am using windows 7 with energia to to program it and i already formatted and install the new service pack.
Now i programmed it to blink the led on launchpad and it worked fine but wen i programmed it to connet to internet it is not getting connected to internet.
Please guide!!!!
-
Hi,
I got a CC3200 Launchpad and i installed CCS 6 and uniflash as per the TI website.
I installed Energia as I am already working Arduino, now connected the launchpad and done connections SOP2 with the J8 pin as ur website. now i successfully loaded the sketch in the launchpad but it is not responding to any programs.
Programmed the board with blink sketch and it uploaded successfully but it did not respond.
Do i have to remove any jumper or short any pins.
Please Guide!!!!!
Launch4j An error occurred while starting the application???
in Energia - MSP
Posted
Aaaaah!!!!
Finally found a better solution rather than deleting the ino's from the folders.
Trick: I have window 7 32bit Windows 7 Theme, Just change it to window classice theme and it will work fine.
Atleast it is working fine for me.
Enjoy Engineering!!!!!