texas_72

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Esp8266-12 FreeRTOS #13313
    texas_72
    Participant

    Hi

    I have to display a variable float with printf, but it does not show up in the dgb out.

    Thanks

     

    in reply to: Esp8266-12 FreeRTOS #13310
    texas_72
    Participant

    <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>Ciao</span></span>

    <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>Devo visualizzare una variabile float con printf, ma non appare nel dgb out.</span></span>

    <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>Grazie</span></span>

     

    • This reply was modified 6 years, 4 months ago by texas_72.
    • This reply was modified 6 years, 4 months ago by texas_72.
    in reply to: Esp8266-12 FreeRTOS #13303
    texas_72
    Participant

    Hi

    many thanks, I solved the previous problems. I wanted to point out a very important thing about the setup, if you come from a programming made with arduino ide if not you set esp_init_data_default.bin from the initial problem of the discussion despite that the DIO settings, … are the same. See the attached image. It is possible to lengthen the trial time of visualgdb to do further tests, …….
    Many thanks

     

    • This reply was modified 6 years, 4 months ago by texas_72.
    Attachments:
    You must be logged in to view attached files.
    in reply to: Esp8266-12 FreeRTOS #13280
    texas_72
    Participant

    Hi many thanks,

    I have two burnings concerning the compilation:

    1- I added the code for the wps connection

    #include “esp_common.h”
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include “esp_wps.h”
    #include “freertos/timers.h”
    #include “freertos/FreeRTOS.h”
    #include “freertos/task.h”
    #include “freertos/queue.h”

    wifi_wps_disable ();
    wifi_wps_enable (WPS_TYPE_PBC);
    wifi_set_wps_cb (user_wps_status_cb);
    wifi_wps_start ();

    error undefined reference to ‘wifi_wps ……’

    2-I added the code to create a task timer that I need to run some
    work regularly, when I compile it gives me an error

    #include “esp_common.h”
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include “esp_wps.h”
    #include “freertos/timers.h”
    #include “freertos/FreeRTOS.h”
    #include “freertos/task.h”
    #include “freertos/queue.h”

    xTimerHandle timer;

    void callback_timer (xTimerHandle xTimer)
    {
    }

    timer = xTimerCreate (“timer”, 5000 / portTICK_RATE_MS, pdTRUE, (void *) 0, & callback_timer);

    error invalid conversion from ‘const char *’ to ‘const signed char *’ [-fpermissive]

    Many thanks

     

    • This reply was modified 6 years, 4 months ago by texas_72.
    Attachments:
    You must be logged in to view attached files.
    in reply to: Esp8266-12 FreeRTOS #13266
    texas_72
    Participant

    Hi

    here is the screenshot, everything works but the com is not displayed I had to write the COM48.

     

    • This reply was modified 6 years, 4 months ago by texas_72.
    Attachments:
    You must be logged in to view attached files.
    in reply to: Esp8266-12 FreeRTOS #13252
    texas_72
    Participant

    Hi

    the problem of the break point was due to the path of the project folder that contained a space, so problem solved.
    Two questions:
    how many break points it supports;
    what do I have to do to escape gdbstub debug, if I want only program I tried with “program and start without debugging” but gdbstub is always loaded.
    I also found a problem on visuagdb properties in debug setting the list com port is empty i have to forcefully write the port name.

    Thanks

    in reply to: Esp8266-12 FreeRTOS #13233
    texas_72
    Participant

    Hi

    now seems to work with some changes as shown in the image, I do not know if they are improvable or sufficient …

    Now I have another problem on break points.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    in reply to: Esp8266-12 FreeRTOS #13232
    texas_72
    Participant

    Hi

    These are the messages that continue to exit the uart after a reset of the esp8266.

     

    ets Jan 8 2013,rst cause:2, boot mode:(3,7)

    load 0x40100000, len 31628, room 16
    tail 12
    chksum 0xe9
    ho 0 tail 12 room 4
    load 0x3ffe8000, len 944, room 12
    tail 4
    chksum 0xb3
    load 0x3ffe83b0, len 852, room 4
    tail 0
    chksum 0xb4
    csum 0xb4
    OS SDK ver: 1.5.0-dev(a8c4880) compiled @ Dec 8 2017 13:15:34
    rf_cal[0] !=0x05,is 0x00

    ets Jan 8 2013,rst cause:2, boot mode:(3,7)

    load 0x40100000, len 31628, room 16
    tail 12
    chksum 0xe9
    ho 0 tail 12 room 4
    load 0x3ffe8000, len 944, room 12
    tail 4
    chksum 0xb3
    load 0x3ffe83b0, len 852, room 4
    tail 0
    chksum 0xb4
    csum 0xb4
    OS SDK ver: 1.5.0-dev(a8c4880) compiled @ Dec 8 2017 13:15:34
    rf_cal[0] !=0x05,is 0x00

    in reply to: Esp8266-12 FreeRTOS #13189
    texas_72
    Participant

    Hi
    I have analyzed the schemes of Olimex and ESP8266-12 and are similar. I tried all the configuration combinations, but the problem remained. I think it is a problem of writing / location of the flash because something strange happens, after programming, I do a reset and start flash mode I should see that the esp8266-12 runs the software that has been loaded, in reality it does not none of this, but continue sending strange characters quickly, on the uart. I have tried various examples also Blink iot, but nothing. The esp8266-12 works very well with arduino ide and therefore exclude module problems. I ask you for help to solve this problem.

    in reply to: Esp8266-12 FreeRTOS #13171
    texas_72
    Participant

    hi
    I followed the tutorial, the firmware is loaded on the esp-8266-12 but it does not go on the break point and ends in a debug timeout.

    Attachments:
    You must be logged in to view attached files.
Viewing 10 posts - 1 through 10 (of 10 total)