Can not download dwl file into the module


#1

The response after the download command is:

See bottom / left.


Tried 3 different modems. The Hello world can be loaded. Loading succeeded via Xmodem.


#2

You mean using AT+WDWL from a terminal program, or similar?


#3

Please can you attach the error log to this thread?
(.log file in your /.metadata directory; please zip it before attach)


#4

Thanks for fast reply.

Yes, I was using +wdwl and hyperterm, when succeeded.

log.zip (1.08 KB)


#5

There is an issue while parsing the DWL file, when DS checks its expanded size WRT the available one in the module’s memory (improvement added in 2.1.0)
We shall add a protection to avoid such kind of behavior, but please could you attach the dwl file here, in order to let us understand why the parsing fails?
Thanks.


#6

Sent you a pm.


#7

The DWL is indeed not parsed correctly by DS (which can’t recognize it as an Open AT app).
How this file has been generated?
Was something added to the DS generation process, or is there something specific in the project configation (as you said that downloading a simple HelloWorld is OK…)?

If it’s possible, can you try reproducing the issue on a simple project, and attach it here?


#8

It is an OpenAt Lua project. The app was loaded into the module (with Xmodem), when I took a snip for my first post, so its properties can be seen there.

As I made a snapshot of the VM, I was able to clean build project, again with no download. However, when I just switched two statements, the download succeeded with no complaints. Every change in source (binaries, comments do not have effect) enabled the download.


#9

Ok, quite strange…
Anyway, we’ll improve the DWL parser to ensure it can’t be “disturbed” by such kind of “corrupted” DWL files.


#10

Just pushed a patch to fix the size check bug:
[url]https://forum.sierrawireless.com/t/patch-traces-view-replacement-bug-in-ds-2-1-0/5240/1]