Search found 49 matches

by preetam
Tue Jun 27, 2017 3:52 pm
Forum: General Discussion
Topic: gdb COM13: No such file or directory.
Replies: 8
Views: 13012

Re: gdb COM13: No such file or directory.

Hi , Thank you for the reply. I am pretty sure that i am not using this port with other tools. I am using make monitor and it is able to connect to com13 and display the flow. However when a load prohibition takes place, the gdb stub is invoked as i have checked this in the menu config. But the invo...
by preetam
Tue Jun 27, 2017 2:35 pm
Forum: General Discussion
Topic: gdb COM13: No such file or directory.
Replies: 8
Views: 13012

gdb COM13: No such file or directory.

Hi Team, I am using make monitor and there seems to be load prohibited error in my code, make monitor invokes gdb automatically but i don't see where it is pointing to in my code, I am using windows pc Entering gdb stub now. $T0b#e6GNU gdb (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) 7.10 Copyrigh...
by preetam
Tue Jun 27, 2017 7:02 am
Forum: General Discussion
Topic: get ip using gethostbyname
Replies: 6
Views: 21803

Re: get ip using gethostbyname

Hi Kolban, Thank you for the information. I think that gethostbyname does not work properly on esp32 when resolving local hostnames. I did try to resolve the esp32 hostname as mentioned in the above post in the android framework and was able to resolve the same without any changes to the router. Tha...
by preetam
Mon Jun 26, 2017 1:50 pm
Forum: General Discussion
Topic: get ip using gethostbyname
Replies: 6
Views: 21803

get ip using gethostbyname

Hi All, i am using two esp32's . In the first one i have set the host name as below in wifi event handler below SYSTEM_EVENT_STA_START ESP_ERROR_CHECK(tcpip_adapter_set_hostname(TCPIP_ADAPTER_IF_STA, "testing32")); I am able to ping this using ping testing32 on my windows pc and i am getting reply f...
by preetam
Fri Jun 02, 2017 1:00 pm
Forum: General Discussion
Topic: TCP Server : Not able to read
Replies: 1
Views: 3591

TCP Server : Not able to read

Hi All, I am using two sparkfun esp32 thing, one is running TCP server on port 80 and another one is the client. Client is able to resolve the Hostname and connect to TCP server, it also sends the message.But the server is not able to read. The connection at the server end is successful but it stops...
by preetam
Tue Apr 25, 2017 9:07 am
Forum: General Discussion
Topic: Hi , all , is there any function to disable the gpio function of specific pin in esp32..??
Replies: 4
Views: 8863

Re: Hi , all , is there any function to disable the gpio function of specific pin in esp32..??

Hi, I think pir sensor has a Potentiometers (knob) to change the sensitivity and also the duration until the output should be high if a motion is detected. changing the duration knob for e.g to min ( 3 seconds) and then including a delay of 3 seconds in the code would be one of the feasible solution...
by preetam
Thu Apr 13, 2017 8:12 am
Forum: General Discussion
Topic: Task watchdog triggered after continues i2c burst reads
Replies: 3
Views: 6324

Re: Task watchdog triggered after continues i2c burst reads

Hi Kolban, Thank you for your reply, I had a lingering i2c_cmd_link_create() command before starting the new i2c_cmd_link_create() , may be this created an issue. however i did change waiting time to i2c_master_cmd_begin(I2C_MASTER_NUM, cmd, 100 / portTICK_RATE_MS) and it works fine. Thank you Paul
by preetam
Thu Apr 13, 2017 8:06 am
Forum: General Discussion
Topic: Hi , is there any sample code to interface the mpu-6050 with the esp32 ..??
Replies: 10
Views: 21170

Re: Hi , is there any sample code to interface the mpu-6050 with the esp32 ..??

Hi , now i can able to read only the accelerometer-x values and the y and z values remains 65535 throughout the process , can anyone say , what changes will am need to do..? if there is a stop i2c command after reading accelerometer-x values , may be the y and z values show 65535 . please remove th...
by preetam
Thu Apr 13, 2017 8:02 am
Forum: General Discussion
Topic: Hi , can anyone say , how to write the values to the specific register through I2C..??
Replies: 6
Views: 11785

Re: Hi , can anyone say , how to write the values to the specific register through I2C..??

Hi, There is an example in esp idf at https://github.com/espressif/esp-idf/tree/master/examples/peripherals/i2c. I was working on max10305 and below is the flow of execution. 1. check whether the part id matches.. i2c write with i2c address of max10305 and read the part id address 2. setup the power...
by preetam
Fri Apr 07, 2017 12:16 pm
Forum: General Discussion
Topic: Task watchdog triggered after continues i2c burst reads
Replies: 3
Views: 6324

Re: Task watchdog triggered after continues i2c burst reads

i am getting E (308941) i2c: i2c command link malloc error before the task watchdog is triggered . so thought of increasing stack for the task from 2048 to 8192. Still issue persists\ from xTaskCreate(&taskname, "taskname", 2048, NULL, 5, NULL); to xTaskCreate(&taskname, "taskname", 8192, NULL, 5, N...