Closed D-zz closed 4 years ago
more info? module firmware? platform version?
@Wiz-IO Thank you very much. More info as below:
My board is BC26-TE-B,it is same of BC66-TE-B?
but maybe chip-set ID is other
are you update BC26 with BC66 firmware?
@Wiz-IO Yes ,i update BC26 with BC66 firmware
what's the error of “EPP Answer” means ?
when i use BC26, is same problem of use BC66
“EPP Answer” means: no answer from first bootloader
If anyone is still wondering, I ran into the same issue, and it can be solved as follows:
EPP
reply. (Almost 500us)This can be seen in the capture below:
It can be solved by modifying ~/.platformio/platforms/quectel/builder/frameworks/MT2625.py by adding time.sleep(0.5)
or similar to line 384:
diff --git a/builder/frameworks/MT2625.py b/builder/frameworks/MT2625.py
index e9215ac..898a8cc 100644
--- a/builder/frameworks/MT2625.py
+++ b/builder/frameworks/MT2625.py
@@ -381,6 +381,8 @@ class MT2625:
self.s.write(data[:1024])
data = data[1024:]
PB_STEP()
+ # Give the chip some time
+ time.sleep(0.5)
ASSERT( self.cmd("", 10) == b"\x1D\x3D\0\0\0\0\0\0\0\0", "EPP Answer" )
self.uart_speed_max()
# DA_2
Thanks @maximevince
Thanks @Wiz-IO for your platformio framework. I got a custom application running on a BC66 in no time. Awesome!
Board: BC26-TE-B
Configuring upload protocol... Looking for upload port... Use manually specified: COM3 Uploading: program Waiting module for POWER-ON or RESET <===========================> DONE Starting <======== ERROR: EPP Answer *** [upload] Explicit exit, status 2