Debug issue on Freematics ONE+

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Post Reply
stefano.cash
Posts: 2
Joined: Tue Jan 12, 2021 2:11 am

Debug issue on Freematics ONE+

Post by stefano.cash »

Hello,

I am new on Freematics platform, I'm trying to start a debug session of the SW "telelogger" on Freematics ONE+.
I can compile and upload the SW via PlatformIO but if I try to start an inline debug session I get the following error:
____________________________________________________________________________________

Reading symbols from c:\Users\username\Documents\Workspace\PlatformIO\Telelogger\telelogger\.pio\build\esp32dev\firmware.elf...
done.
PlatformIO Unified Debugger -> http://bit.ly/pio-debug
PlatformIO: debug_tool = esp-prog
PlatformIO: Initializing remote target...
Open On-Chip Debugger v0.10.0-esp32-20201202 (2020-12-02-17:38)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz

WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release.
Info : FreeRTOS creation
adapter speed: 20000 kHz

Info : tcl server disabled
Info : telnet server disabled
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description '*', serial '*' at bus location '*'

Assertion failed!

Program: C:\Users\username\.platformio\packages\tool-openocd-esp32\bin\openocd.exe
File: ../src/jtag/core.c, Line 343

Expression: jtag_trst == 0
.pioinit:11: Error in sourced command file:
Remote communication error. Target disconnected.: No error.

____________________________________________________________________________________

Additional information:
- I'm trying to debug just via USB with a micro USB cable connectet from PC to Freematics (without any external debugger)
- On USB port information-Events the following information are reported:
* The device USB\VID_10C4&PID_EA60\01E749FA need another intallation. (personally translate from italian to english)

____________________________________________________________________________________
My "plaformio.ini" file:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino

upload_port = /dev/ttyUSB4
monitor_port = /dev/ttyUSB4
monitor_speed = 9600
debug_tool = esp-prog
debug_init_break = tbreak setup
____________________________________________________________________________________

I believe an ESP-PROG is required to perform an inline debugging but I haven't found any reference guides on Freematics.com
Can someone help me please ?
Cheers
Post Reply