[q2686h, firmware R74] AT+WDWL problem

crossposted: viewtopic.php?f=3&t=4198&p=16590#p16590

Hello all,
I’m using q2686h module. Updated firmware from
663c00gg.Q2686H 1961896 122407 14:45
to
R74_00gg.Q2686H 2120060 041709 19:18
by DwlWin with file R74_00-cus-q26-01.wpk.
When prompted for CPU: q2686h
change AD: NO
change flash: NO

Have built QueryApp example application with Oasis2.30. Target release.

Now I’m trying to download “\workspace\QueryApp[Target]_ARM_ELF_GCC_Release\QueryApp.dwl”
in to the module with TeraTerm terminal.
The download starts, then hangs after sending about 500 bytes.
When WDWL’ing firmware file R74_00_full_q2686h.dwl everything works, so the reason is probably QueryApp.dwl file.
What can be wrong with it?

HelloWorld example app builds and WDWLs OK. Still no luck with QueryApp.
It builds. When WDWLing XMODEM aborts after sending 512b of data :frowning:
Build output for helloworld and QueryApp looks the same. Maybe its the size of the DWL file?


hellowold build output:

**** Rebuild of configuration [Target]_ARM_ELF_GCC_Release for project helloworld ****

**** Internal Builder is used for build ****
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-gcc.exe -D__arm -D__GNU_GCC__ -D__OAT_API_VERSION__=630 -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/basic -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/itf -IE:\workspace\helloworld\itf -IE:\workspace\helloworld\inc -O3 -Os -ggdb3 -Wall -c -fshort-enums -fdollars-in-identifiers -nostartfiles -fno-strict-aliasing -fno-common -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -osrc\hello_world.o …\src\hello_world.c
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-g++.exe -Wl,–script,gcc.lkopt src\hello_world.o -Wl,-( -nostartfiles -Os -O2 -fshort-enums -fdollars-in-identifiers -ggdb3 -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -Wl,-nmagic -Wl,-Map,helloworld.map e:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/gcc_wmadl_6.30.00.0.0.lib -Wl,-) -ohelloworld.axf
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-objcopy.exe --strip-all --strip-debug --strip-unneeded --discard-all --weaken --output-target binary helloworld.axf helloworld.cpbin
E:\OpenAT\M2MStudio\1.0.2.v200903311200\m2mstudio\plugins\com.wavecom.openat.ide.ebs.armelfgcc.win32_1.0.2.200903311234\os\win32\dd.exe if=helloworld.cpbin of=helloworld.bin bs=4 conv=sync
18906+0 records in
18906+0 records out
E:\OpenAT\M2MStudio\1.0.2.v200903311200\m2mstudio\plugins\com.wavecom.openat.ide.ebs.build.core.win32_1.0.2.200903311234\os\win32\wzpacker.exe -b 0x00260000 helloworld.bin helloworld.wpb
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.build.core.tools\1.0.1\win32\python\python.exe -E e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.build.core.tools\1.0.1\scripts\gendwl.py --header COMPBIN --addr 0x00260000 --bin helloworld.wpb --dwl helloworld.dwl
2009-11-09 14:08:00,578 INFO GENDWL version 1.1
2009-11-09 14:08:00,592 INFO create compressed binary file
Build complete for project helloworld
Time consumed: 3062 ms.


QueryApp build output:

**** Rebuild of configuration [Target]_ARM_ELF_GCC_Release for project QueryApp ****

**** Internal Builder is used for build ****
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-gcc.exe -D__arm -D__GNU_GCC__ -D__OAT_API_VERSION__=630 -D__CGPS_PLUGIN_VERSION__=304 -D__WIP_PLUGIN_VERSION__=510 -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/basic -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.C-GPS-OPUS-III/3.4.0.2020/C-GPS-OPUS-III/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/itf -IE:\workspace\QueryApp\itf -IE:\workspace\QueryApp\inc -O3 -Os -ggdb3 -Wall -c -fshort-enums -fdollars-in-identifiers -nostartfiles -fno-strict-aliasing -fno-common -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -osrc\serialcomm.o …\src\serialcomm.c
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-gcc.exe -D__arm -D__GNU_GCC__ -D__OAT_API_VERSION__=630 -D__CGPS_PLUGIN_VERSION__=304 -D__WIP_PLUGIN_VERSION__=510 -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/basic -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.C-GPS-OPUS-III/3.4.0.2020/C-GPS-OPUS-III/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/itf -IE:\workspace\QueryApp\itf -IE:\workspace\QueryApp\inc -O3 -Os -ggdb3 -Wall -c -fshort-enums -fdollars-in-identifiers -nostartfiles -fno-strict-aliasing -fno-common -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -osrc\gpioconfig.o …\src\gpioconfig.c
…\src\gpioconfig.c: In function ‘GPIOTimerInit’:
…\src\gpioconfig.c:198: warning: passing argument 4 of ‘adl_tmrSubscribe’ from incompatible pointer type
…\src\gpioconfig.c:221: warning: passing argument 4 of ‘adl_tmrSubscribe’ from incompatible pointer type
…\src\gpioconfig.c:247: warning: passing argument 4 of ‘adl_tmrSubscribe’ from incompatible pointer type
…\src\gpioconfig.c: At top level:
…\src\gpioconfig.c:53: warning: ‘GPIOHandle_gsm’ defined but not used
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-gcc.exe -D__arm -D__GNU_GCC__ -D__OAT_API_VERSION__=630 -D__CGPS_PLUGIN_VERSION__=304 -D__WIP_PLUGIN_VERSION__=510 -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/basic -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.C-GPS-OPUS-III/3.4.0.2020/C-GPS-OPUS-III/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/itf -IE:\workspace\QueryApp\itf -IE:\workspace\QueryApp\inc -O3 -Os -ggdb3 -Wall -c -fshort-enums -fdollars-in-identifiers -nostartfiles -fno-strict-aliasing -fno-common -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -osrc\cgpsrtc.o …\src\cgpsrtc.c
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-gcc.exe -D__arm -D__GNU_GCC__ -D__OAT_API_VERSION__=630 -D__CGPS_PLUGIN_VERSION__=304 -D__WIP_PLUGIN_VERSION__=510 -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/basic -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.C-GPS-OPUS-III/3.4.0.2020/C-GPS-OPUS-III/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/itf -IE:\workspace\QueryApp\itf -IE:\workspace\QueryApp\inc -O3 -Os -ggdb3 -Wall -c -fshort-enums -fdollars-in-identifiers -nostartfiles -fno-strict-aliasing -fno-common -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -osrc\queryapp.o …\src\queryapp.c
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-gcc.exe -D__arm -D__GNU_GCC__ -D__OAT_API_VERSION__=630 -D__CGPS_PLUGIN_VERSION__=304 -D__WIP_PLUGIN_VERSION__=510 -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/basic -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.C-GPS-OPUS-III/3.4.0.2020/C-GPS-OPUS-III/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/itf -IE:\workspace\QueryApp\itf -IE:\workspace\QueryApp\inc -O3 -Os -ggdb3 -Wall -c -fshort-enums -fdollars-in-identifiers -nostartfiles -fno-strict-aliasing -fno-common -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -osrc\gccspecific.o …\src\gccspecific.c
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-gcc.exe -D__arm -D__GNU_GCC__ -D__OAT_API_VERSION__=630 -D__CGPS_PLUGIN_VERSION__=304 -D__WIP_PLUGIN_VERSION__=510 -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/basic -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.C-GPS-OPUS-III/3.4.0.2020/C-GPS-OPUS-III/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/itf -IE:\workspace\QueryApp\itf -IE:\workspace\QueryApp\inc -O3 -Os -ggdb3 -Wall -c -fshort-enums -fdollars-in-identifiers -nostartfiles -fno-strict-aliasing -fno-common -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -osrc\defaultflash.o …\src\defaultflash.c
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-gcc.exe -D__arm -D__GNU_GCC__ -D__OAT_API_VERSION__=630 -D__CGPS_PLUGIN_VERSION__=304 -D__WIP_PLUGIN_VERSION__=510 -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/basic -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.C-GPS-OPUS-III/3.4.0.2020/C-GPS-OPUS-III/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/itf -IE:\workspace\QueryApp\itf -IE:\workspace\QueryApp\inc -O3 -Os -ggdb3 -Wall -c -fshort-enums -fdollars-in-identifiers -nostartfiles -fno-strict-aliasing -fno-common -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -osrc\Tasks.o …\src\Tasks.c
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-gcc.exe -D__arm -D__GNU_GCC__ -D__OAT_API_VERSION__=630 -D__CGPS_PLUGIN_VERSION__=304 -D__WIP_PLUGIN_VERSION__=510 -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/basic -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.C-GPS-OPUS-III/3.4.0.2020/C-GPS-OPUS-III/itf -Ie:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/itf -IE:\workspace\QueryApp\itf -IE:\workspace\QueryApp\inc -O3 -Os -ggdb3 -Wall -c -fshort-enums -fdollars-in-identifiers -nostartfiles -fno-strict-aliasing -fno-common -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -osrc\cgpscore.o …\src\cgpscore.c
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-g++.exe -Wl,–script,gcc.lkopt src\serialcomm.o src\queryapp.o src\gpioconfig.o src\gccspecific.o src\defaultflash.o src\cgpsrtc.o src\cgpscore.o src\Tasks.o -Wl,-( -nostartfiles -Os -O2 -fshort-enums -fdollars-in-identifiers -ggdb3 -fomit-frame-pointer -mthumb-interwork -mthumb -march=armv5te -msoft-float -mfpu=fpa -mapcs -mno-apcs-stack-check -Wl,-nmagic -Wl,-Map,QueryApp.map e:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.os.model/6.30.0.00/ADL/gcc_wmadl_6.30.00.0.0.lib e:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.C-GPS-OPUS-III/3.4.0.2020/C-GPS-OPUS-III/gcc_CGPS_3.0.0.3.4.lib e:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/gcc_wmwip_5.10.2020.lib e:\OpenAT\PackagesRegistry/com.wavecom.openat.ide.spm.lib.plugin.model.WIP/5.10.0.2050/WIP/gcc_wmwipSoft_5.10.2050.lib -Wl,-) -oQueryApp.axf
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.armelfgcc.tools\1.0.1\win32\gcc\bin\arm-elf-objcopy.exe --strip-all --strip-debug --strip-unneeded --discard-all --weaken --output-target binary QueryApp.axf QueryApp.cpbin
E:\OpenAT\M2MStudio\1.0.2.v200903311200\m2mstudio\plugins\com.wavecom.openat.ide.ebs.armelfgcc.win32_1.0.2.200903311234\os\win32\dd.exe if=QueryApp.cpbin of=QueryApp.bin bs=4 conv=sync
115907+0 records in
115907+0 records out
E:\OpenAT\M2MStudio\1.0.2.v200903311200\m2mstudio\plugins\com.wavecom.openat.ide.ebs.build.core.win32_1.0.2.200903311234\os\win32\wzpacker.exe -b 0x00260000 QueryApp.bin QueryApp.wpb
e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.build.core.tools\1.0.1\win32\python\python.exe -E e:\OpenAT\PackagesRegistry\com.wavecom.openat.ide.ebs.build.core.tools\1.0.1\scripts\gendwl.py --header COMPBIN --addr 0x00260000 --bin QueryApp.wpb --dwl QueryApp.dwl
2009-11-09 14:02:21,030 INFO GENDWL version 1.1
2009-11-09 14:02:21,030 INFO create compressed binary file
Build complete for project QueryApp
Time consumed: 9344 ms.

Wavecom? Hello?
Can QueryApp be built by Oasis 2.30 and WDWLed to q2686h?

Note that this is not the place to contact Wavecom!

You need to speak to your FAE, or go via your Distributor.

I know. Sent e-mail to the distributor. But this will take a long time and I’m desperate. Hoped Wavecom guy who sometimes writes on the forum can help me.

Solved
viewtopic.php?f=3&t=4198