Hi,
My board is 4020, the issue is that serial port does not have any output when i run the application in autoboot mode.
I follow the opration with qca402xcdb2x_development_kit_user_guide. I have completed building sample applications ,and flash image through USB, flash log are:
R:\QCA4020.OR.3.0_00011.1\target\quartz\demo\QCLI_demo\build\gcc>python ..\..\..
\..\..\build\tools\flash\qflash.py --comm 15
qflash.py Info: Generate partition table...
qflash.py Info: Generate FWD table...
[2018-12-05 21:15:02,111] INFO: Checking for files to add to the image for Firmw
are Descriptor Table 0 File:gen_fwd_table.py:673 Function:gen_xml_program
[2018-12-05 21:15:02,127] INFO: Done Generating XML file to program. File:gen_fw
d_table.py:711 Function:gen_xml_program
qflash.py Info: Download device programmer...
qflash.py Info: Device Programmer loaded successfully
qflash.py Info: Skipping to program image
qflash.py Info: Program flash. Please wait...
qflash.py Info: Flash programming complete!
I think it has been burned to flash successful.
When i follow the 3.7 section Run the application,serial port does not have any output.
POWER: J6 USB power source, J39 connect 2 and 3
J26 connect pins 1 and 2 for fixed +3.3V
Serial: J18 Connect pins 2 and 3 for Debug UART
J19 Connect pins 2 and 3 for Debug UART
J91 Connect pins 1 and 2 for Debug UART
J92 Connect pins 1 and 2 for Debug UART
and remove J34
I don't know what critical step i have missed.
Best Regards
skyzhao
From the provided information, we could observe below:
> The flashing of the device is successful.
> However, the jumper settings defined for power are of QCA4024 device.
> Kindly make sure you have flashed the image to QCA4020 device and use 4020 jumper settings for power.
J6 USB Power Source (Option1) J57 Connect pins 2 and 3 for J6 Power
LED_PWR J20 Connect pins 1 and 2 to power up LED
Vbatt Select J22 Connect pins 1 and 2 for fixed +3.3V
Thanks for your reply,
Yes, i am sorry that i write the wrong setting table.
On my 4020 board jumper setting is as follow:
J6 USB Power Source (Option1) J57 Connect pins 2 and 3 for J6 Power
LED_PWR J20 Connect pins 1 and 2 to power up LED
Vbatt Select J22 Connect pins 1 and 2 for fixed +3.3V
I have tried to build sample on Windows and flash the image through USB. It can run and show in the console.
The problems is that gcc version is not match.
The demo can run if use gcc-6.2 build demo on windows. but it can't run if use gcc-5.4 build demo on Linux, at least the serial port has not any output. So, the gcc version must be 6.2?
I will try gcc version 6.2 on Linux.
Best Regards,
skyzhao
Thank you.
Kindly note the supported version is 6.2