I loaded the modem with 7.45 firmware.
I also built some application code and trying to load it on the target. I am using AT+WDWL command to do so.
Here is what happened so far:
Upgraded WMP100 to R7.45 using AT+WDWL and from console.
Tried to load my application. Xmodem starts and immediately shows error counter of 1. Nothig else happens.
I tried to load my application using DWLWIN (loaded produced .wpk file). This worked, but modem now constantly resetting with following error on console:
Fault 04 00000000 !
Now, I obtained .WPK version of R7.45 for WMP100 and loaded it with DWLWIN
I then tried to load my application using XModem and nothing happens. No data is being transferred at all – all counters stay at 0.
Same binary is happily loading on FXT-003 running R7.45, so I know my binary is OK.
Anyone had some luck running R7.45 on WMP100 with custom application?
You may be right, but it is quite possible that there may be some “issue” in your binary that just happens not to cause any visible problem on the (particular) FXT-003 - but does affect the WMP…
OK, further investigations show something interesting.
The problem is in how WMP100 estimated flash size.
Done so far:
Made “hello world” from scratch and it works.
AT+WOPEN=6
+WOPEN=6,512,768
Added large static array to “hello world application”. Total binary size is now about 700k. This loaded and run fine
My binary is just under 500k. This will not load. Changed flash memory allocation with AT+WOPEN command:
AT+WOPEN=6,256
+WOPEN=6,256,1024
Now I can load my binary.
This suggests that my binary contains something that causes WMP100 to overestimate flash memory usage. Simple, but large “hello world” fits in without problems. Smaller, but more complex application does not fit.