As the title tells, i receive ADL_INIT_DOWNLOAD_ERROR adl_InitType_e value after completing the DOTA action.
Let me describe from the beginnig. I have just moved to the firmware R7.1b from 663. The dota code is same as 663. I performed dota successfully on 663 firmware. But i can not do a successfull dota on R7.1b firmware. The file is downloaded and adl_adInstall performs a reset but after the reset, i get ADL_INIT_DOWNLOAD_ERROR value which tells dota can not be downloaded.
Where should i start to research about this behaviour on dota? Which topics should i look over?
I use the same file which i can download via AT+WDWL. So the file is correct.
And now i have checked the A&D cell size after i finished ftp download. The cell size is the same as the file size on the ftp. This shows dota file can be downloaded successfully but it can not be installed.
I can not think of anything that i should research. Now what can i do to invent the error?
(CANT QUOTE, FORUM ERROR)
First check if the data received correctly. And because no way to read contents of data cell, you can tx received (writed) data on_the_fly via UART, capture it and compare with original file.
Should i really confirm the stored file while it has the same size with the original file on the ftp? I really can not understand why it does not work as it works on 663 firmware. All the functions seem to be executed correctly and file is downloaded with the correct size. Then what is the problem?
If not, you can’t completely concentrate on further investigation. Firmware “special behaviour” maybe…
Why anyway you want to find problem, if you sure problem not exist at all?
I have just tried WIP plug-ins sample DOTA project. It gives the same error parameter ADL_INIT_DOWNLOAD_ERROR. Then i thought it is because of the ftp site and i tried to perform dota with old firmware 663 from the same ftp server. And it worked with old firmware&module. So the ftp site is not problematic.
Then what!!! Even sample DOTA project of WIP Plug-In does not work! Anyone tried that? What can the problem be?
I could not get what you mean by non-WIP DOTA sample. Both my open at project and wip dota sample can be downloaded through uart with AT+WDWL. But they can not be downloaded through DOTA even if all the bytes are transferred.
I upload an image which shows terminal output messages while terminating WIP DOTA Sample application. Please see the image.
I had a similar issue with Q26’s on R74 (upgraded form R71). Apparently some memory addressing bug in R71b.
The DOTA file downloaded correctly, verified through a CRC16 and M2M traces of the AnD write and finalise functions. When calling adl_adInstall() the OS restarted twice in quick succession and registered a “Power up after download failure” init type.
Fixed by resizing AnD space using AT+WOPEN=6,xxx (where xxx is the new size of your AnD space).