mfkfx

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Using os-printf in ESP8266 IoT-SDK #7031
    mfkfx
    Participant

    Thank you very much!

    in reply to: Debugging ESP8266 #7007
    mfkfx
    Participant

    Hello again,

    changing flash mode from qio to dio did the job 🙂

    One last question: Now I’m trying to send a simple text over UART.
    I added the “Peripheral Drivers (IoT)” in Properties -> Frameworks. Why can’t I use os_printf(“hello”)?
    There is a define is osapi.h:

    #define os_printf os_printf_plus

    The error is: ‘os_printf_plus’ was not declared in this scope.

    Do I have to add a library in Properties -> Makefile settings -> Library Directories ?

     

    Regards

    in reply to: Debugging ESP8266 #6968
    mfkfx
    Participant

    Hello again,

    it seems the program does not start from flash. When I create the HTTP example, it looks like the flash programming is finished and the error message is appearing when the debugging starts.
    However, when I disconnect the debugger and reset the chip, no WLAN-AP does appear.

    Do I have to adapt the flash configuration parameters? What can I do to solve this?

    Regards

    in reply to: Debugging ESP8266 #6965
    mfkfx
    Participant

    Some additional Information: I am using a J-Link Edu as Debugging device. It makes no difference if I connect the ESPs reset Signal to nTRST (JTAG reset) or to RESET (System reset) of the J-Link.

    in reply to: Debugging ESP8266 #6964
    mfkfx
    Participant

    I have the nodemcu devkit.

    The board was not starting from Flash because I removed a low-resistive connection between GPIO15 and GND for testing purposes. Now i have inserted a 10k resistor, so the board will try starting from flash.
    Unfortunately I have a new problem: Received a SIGTRAP: Trace/breakpoint trap.

    Can you help me with that?

    Thank you very much!

Viewing 5 posts - 1 through 5 (of 5 total)