Find Jobs
Hire Freelancers

Bug fix Android UsbSerial library problem in ch340 -- 2

$80-240 HKD

Cerrado
Publicado hace casi 5 años

$80-240 HKD

Pagado a la entrega
Hello Guys Please bid if you are android developer, and have esp8266/ch340, have serial communication experience. Please bid with "I have esp8266, android phone" I am trying to convert the open source python project [login to view URL] to Android(java) project. In android, for serial communication, I am using Usb Serial library. I need only esp8266 feature from [login to view URL], so I only converted the esp8266 function. From UsbSerial library, I am using synchronous api, because the [login to view URL] use synchronous command for Serial read/write. Current project is working well with esp8266/FTDI, esp8266/cp2102 same as esptool.py. My problem is not working with esp8266/ch340. Of course, the [login to view URL] is working well with esp8266/ch340. But, my android project is not working with it. In android, the main command which used in [login to view URL] is setDTR, setRTS, serial Read and serial Write. Each command working well although in esp8266/ch340 in normal mode(not bootloader mode) . Also, I confirmed the esp8266 can be bootloader mode correctly via combination of setDTR, setRTS. More correctly confirm bootloader mode, I can use Flash button and RST button of esp8266. [login to view URL] With esp8266/ch340, I cannot pass the first step with android project. The first step is sync operation. From android, call write command with [login to view URL], then the esp8266 is response as bytes. Main problem is cannot read response command from esp8266. From UsbSerial, there is syncRead, syncWrite commands, also there is asynchronous command for serial operation. The [login to view URL] is made with synchronous api, So, I am using synchronous api in android project. Also, current project is perfect with esp8266/FTDI, esp8266/cp2102. So, I think, the main algorithm is successfully converted from [login to view URL] But, esp8266/ch340, current project is not working. From debug, I confirmed cannot read any bytes from esp8266/ch340 in bootloader mode. For debug, I created new project using asynchronous api. With using button of esp8266, make esp8266/ch340 bootloader mode, I am writing the sync command to esp8266. [login to view URL] flash button, rst button From [login to view URL], the esp8266 is send response command, but cannot read response in esp8266/ch340. But, I found strange things. After bootloader mode, write sync command, and disconnect the usb from android, then, I can see the correct response command in Disconnecting moment. If I write sync command 3 times, then the 3 response command is arrived at disconnecting moment. How I can solve this problem? How I can debug esp8266 in bootloader mode? From debugging, this is main problem in esp8266/ch340(bootloader mode).
ID del proyecto: 19338463

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
1 freelancer está ofertando un promedio de $555 HKD por este trabajo
Avatar del usuario
Hello Read your description and would like to help you with same as we have done very similar kind of projects earlier. My team has all the skills required and mentioned by you to complete the project with quality in quickest possible time. Why choose us: - Ready for revision till clients satisfaction • 24*7 availability for query clarification • Two months free technical assistance post delivery of the project • On time delivery with quality work For any further queries and work samples, Invite us over private chat Hope to hear back from you Thank you Kinds Regards, Sudhakar Jha
$555 HKD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Gulfport, United States
0,0
0
Miembro desde abr 24, 2019

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.