Android application
for operation control of
the USB-programmer
Home  |  Download  |  Contacts & Order

Question №1:
After the application is closed, its icon continues to hang in the notification bar, and the message “Awaiting programmer connection...” does not disappear. Really closed only through [Applications -> WizardProg -> Force Stop]. Is it a bug or thought so?


This is not a developer quirk, not a bug, but a necessity.

Strictly speaking, the Android OS does not close the application at the user's request for closing, just as it is done when exiting programs, for example, in Windows. After the “exit” from the application, its process image remains in RAM until Android OS decides that it is time to clean the memory of inactive tasks.

Android works in this way for a number of serious reasons, one of which is the requirement of high “responsiveness” of applications while resources of a mobile device are quite limited. Simply put, applications that “closed” by the user must always remain ready to instantly start again at the first click of the user.

For “WizardProg Mobile”, a fast response is also needed at the time of connecting the programmer! Therefore, as part of “WizardProg Mobile”, there is a constantly active component that provides a quick response to the connection of external equipment! Such a component of Android applications is called Service. These services are part of many well-known and popular applications for Android and perform various tasks, and usually do not explicitly inform the user about themselves. The “WizardProg Mobile” application, on the contrary, explicitly informs the user by means of an icon and a message in the notification panel that there is an active service responding to the connection of the programmer.

In other words, if there was no such service, or it would work “silently”, then when connecting the programmer to the mobile device, the delay in activating communication with the equipment would be unacceptable. Every time, Android OS has to prepare an application for launching from scratch, and it takes a lot of time and spoils the picture of “responsiveness”. Of course, this behavior of the application would lead to negative user experience, which is considered unacceptable in the framework of the mobile devices interaction development. If, in addition, the connection operation was performed "silently", the user in the absence of any kind of notification could be disoriented by a lack of understanding of what is happening for a while.

Note: If you are worried about communication service notifications, then mobile devices with modern versions of Android OS offer you a whole set of system settings that you can use to turn on/off notifications from any application at any time. For example: [Settings -> Applications -> Notification Manager] or [Settings -> Applications -> WizardProg -> Notifications]

Question №2:
I'm work frequently with the same IC. How to avoid search it and re-select it from the device list the next time I run the program?


History list of the last 6 different selected ICs available in the panel named "Bookmarks", which extends with the gesture from the left edge of the screen within the Main list and IC Console. The most recent of the earlier selected IC is in the first position of the list "Recently Used". The desired IC can also be added to the "Favorites" list, with the help of:

  • context menu (long press and "Add to Favorites") in the desired position in the list of chips;
  • "Star" button on the IC Console action bar when the chip has been selected from the list already.

The list of " Favorites " can contain up to 4 different selected IMS . The repeated selection of the same IC does not create duplicate items in the list of bookmarks and history.

Question №3:
I'm experimenting with the settings of microcontroller and want to record on the chip just another change of its fuses configuration. However, each time a write operation offers to program all areas of the controller's memory at once, and all the time I have to disable unwanted areas. Can I only mention once I needed (in particular, only Config fuses) and lock this setting for the next write operation?


Yes, you can. Application "Settings" has the "Device Processing" section with an option "Keep Write Settings". If it is enabled, the selection of programming areas will be maintained after any write operation, and up to the completion of the session with the selected IC. And vice versa, if the option is disabled, every write operation will start with the default settings for this IC operation areas.

Question №4:
How to restore the default settings for the voltages and programming delay for the 27/87 series EPROM, if I changed them and did not remember the initial?


Select the same IC again from the left panel "Bookmarks" (see. Question №2). And do not forget to save device programming data from the buffer to a file, if it's important. Remember that the re-selection, even the same IC will clear all memory buffers!

Note: The default settings are represented with the underlined values in the parameter selection lists for this series of ICs.

Question №5:
I read the important data from some IC, but does not save them at once. I have no way to read them again (now the chip with this data is unavailable). Is this data lost forever? Or something can be done?


If you have never read anything from other IC since the last reading of the important and unique data, then restore the last read data is possible! The results of the last read operation from IC are cached in the internal program memory. To extract the last read data to the desired buffer you must go to the Hex Editor and use its left panel "Bookmarks" (see Question №2; The Hex Editor stores work history data on this panel). Section "Last Read Buffer" will contain the last binary data images for the three (or less), types of memory areas of all previously read IC. For each image in this list are specified: the source data size, the name of the original IC, as well as the type of the memory area was read here: BASE/CODE - the main program memory, DATA/OTP - secondary data area or protection, EXTRA - other memory areas for certain types of ICs.

Question №6:
I changed the language settings in my mobile device. Returning back in WizardProg program I saw some phrases were not translated into the selected language. Is this a mistake, or so it is conceived?


No, it is not intended! The fact that some strings are localized at the time of "WizardProg Mobile" application initial start. To see the full translation after the language change, restart the application "from scratch". To do this, you need to go to your mobile device Settings, select WizardProg in the Applications section list and click "Stop". After that, go back to the Home screen and run the application again (use icons).Do not forget to save your important data before changing the language, or stopping it for a new start! Restarting the application will clear all the buffers data. If, however, something important has been read from the IC before the restart, and it was not saved in time, see Question №5.

Note: The names of the memory areas of the IC is not localized intentionally! This is done for the unity of the terminology used. The program uses the industrial name of the memory area (in English), to conform the original device datasheet.

Question №7:
The program "hangs" after selecting the next device from list. IC Console prints red text "Calculate..." in the checksum field of the memory bank and nothing else happens. What happened?


The operating system was unable to allocate enough memory of the mobile device for the working buffer organization. Alas, this could happen if the "WizardProg Mobile" session intensively handles the EEPROMs with maximum supported capacity (128Mbit). In this situation, you can try to switch to Android tasks cache and delete the applications that is not topical at the moment. You can also free up extra memory for the system by some other means. If this does not work, then shut down the application in any way possible (for "deep freezes" use recommendation on application shutdown from Question №6) and restart "WizardProg Mobile" again.

Question №8:
How to update the firmware of my programmer?


Currently "WizardProg Mobile" application does not support firmware update by the programmer itself. To update the programmer's firmware you must use the program for the PC platform (Windows). This update is possible only on the basis of this platform. If you are not new in using a TL866CS/A programmer, you should be already familiar with the methods of acquisition and use of its software for the PC platform.

Question №9:
Being connected my programmer requires an updated version of WizardProg application and starts it in the "DEMO-mode". What can I do?


The programmer that works with "WizardProg Mobile" application is constantly being improved. We try very hard to keep up with the pace of renovation of equipment and firmware programming, but, for obvious reasons, we do not always have the opportunity to promptly make the necessary changes in our program. If your copy of the program suddenly "out of date", then, obviously, you will have to wait for an updated version of the "WizardProg Mobile" application. Official sources of the application distribution always represent the programmer firmware version number required to current "WizardProg Mobile" application build number. Treat this information carefully and evaluate in advance the consequences of the acquisition of an incompatible version. If you have received an "WizardProg Mobile" application from the anonymous or doubtful sources that do not publish information on the versions of hardware compatibility, then the next time it makes sense to turn to other distributors of applications that provide a comprehensive compatibility information and regular updates "WizardProg Mobile" applications.

Note: If you use the programmer on the mobile platform and the PC (Windows) platform at the same time, the next version of the PC software may require you to update the programmer firmware (see Question №8). In this case, we recommend not to hurry with this update unless absolutely necessary. Instead, we suggest that you first request the about expected timing of the release of new mobile application version, which will be distributed to support the latest programmer firmware.

Question №10:
During programming of my IC I accidentally deleted an WizardProg app image from the list of background tasks. How do I do next if I see that the programmer continues to work (yellow LED remains lighted)?


The situation is unpleasant, and it, of course, should be avoided. But all is not lost! In most cases, if you work with a serviceable IC, then operation that you interrupt accidentally will be completed successfully in the background, even despite the fact that at its completion you will receive an alarm from the operating system. You can be sure of the operation success when re-run the application and look at the results of last operation, for example, the previous programming or cleaning was applied to the IC that last selected. However, do not start a new instance of the application as long as a background operation with the programmer is not completed (yellow LED on the programmer goes off): this can lead to unpredictable results!If the serviceability of the IC, with which you are working, is doubtful, then expect a successful outcome of the background operation, of course, impossible. Anyway, when you run the application again after such a trouble, it makes sense to verify data recorded on the IC with correct data image placed into the editor buffer (unless, of course, such an data image was previously saved by you).

Note: The contents of working application buffers in the described situation, of course, lost. Therefore, if you are interrupted the read operation, you must read IC again after restarting the application. You can also use the recommendation of Question №5.

Question №11:
When connected to a mobile device programmer begins blinking rapidly yellow LED, and then the program reports a connection error. What to do?


Guide to action for this event is available in the section Troubleshooting. The cause is related to the response delay from the USB low-level hardware drivers of your mobile device with Android OS. On mobile devices with low processing power such a situation occurs more often because their multithread core is copes poorly with peak loads that occur when processing asynchronous external events. However, even advanced Android devices are not immune to such problems.

Question №12:
Why is your program does not work in a landscape screen orientation?


Given the specificity of the application scope and its very high connectivity with external equipment during the working cycle - the reliability of operation of such a program, clearly has a higher priority than the user's convenience. As is well known, Android operating system restarts the application components during changing the orientation of the mobile device's screen, which is a potential source of problems, both in terms of expenditure of computing resources on the low-power devices, and the other in terms of increased costs to ensure sustainability of some synchronized real-time processes. As a result, we have decided to sacrifice a relative user convenience (and have eliminated the possibility of changing the orientation of the application screen), in favor of improving the reliability and sustainability of the application.

Question №13:
You say that your program is not working on a landscape screens, but I run it on the tablet in landscape mode! It works, but extremely uncomfortable, and besides the screen never turns when you turn the tablet to portrait. How to solve the problem?


In most cases certified Android versions do not allow such situations. However, there are cases when users install a third-party screen orientation managers on their mobile devices, usually to inhibit inappropriate behavior of Auto-rotation system setting (the case in older versions of Android and some device manufacturers). Most likely your screen orientation problem is the result of the use third party program for special orientation modes settings. We advise you either to disable such a program while working with "WizardProg Mobile", or try to configure it so that it allows the "WizardProg Mobile" application to choose for themselves native, portrait orientation of the working screen.

Question №14:
Sometimes I can run the program only "the second time". Haven't time to appear splash screen as the application shuts down. And then I repeat the launch - and already everything starts fine. What does it mean?


The program demonstrates this behavior immediately after the emergency interruption of the previous session, as a result of some unforeseen failure reason. In the course of the next run after such a failure (that perceived as a "false start"), the application performs the restoration of its environment to function properly after the previous failure. The effect of such atypical behavior of the application can be found in the crash.log file at the "WizardProg Mobile" working folder. This file can be sent to WizardProg technical support for the detailed analysis of the application error that had arisen before.

Question №15:
When I open file of the operations log in the text viewer, it contains non-alphanumeric characters! Is it possible to use this log outside your application in general?


"WizardProg Mobile" operations log file is written in UTF-8 for the purpose of internationalization. To remote work with log files you must use any editors or viewers which are able to understand texts in UTF-8.

Question №16:
What is the difference between the proposed logging operation modes?


Session mode
"WizardProg Mobile" operations log file is created anew at the start of a new session (begins with a splash screen at "WizardProg Mobile" startup). Accordingly, the journal stores the data of only one work session, which can be viewed in the log.txt file, even after the completion of the session (but only up to the start of a new session!) The previous session log data in this mode are lost forever. Ending a session (and completion of an update of the current log), usually associated with the following events:

  • regular application termination via "Exit" menu;
  • unintended shutdown of the application as a result of an operation failure;
  • application termination using the WizardProg item in the Settings/Applications list of the mobile device (forced stop or uninstall);
  • removing application from the list of suspended tasks;
  • the mobile device shutdown (intentional or due to battery discharge).

Starting "WizardProg Mobile" after these events necessarily lead to the creation of a new log file. Therefore, be careful in such circumstances, and archive (if required) the log of the last complete session before the next start of the app!

Circular mode
Logging operations are performed using two files. Unlike the session mode - this mode is not tied to a specific session and logs each regular session via cumulative total in the same journal. When enabled, the main log file (log.txt) collects information before it reaches the size specified in the circular mode configuration option (default - 64Kb). Once the established size is reached, the current log file is closed and saved as log.001. Then creates a new log.txt, which continues the interrupted logging. This scheme of work is repeated further (until the circular mode will turned off) with periodically replacing the data in the file log.001. When contents of the log.001 is replaced, then its previous data will be lost. However, if necessary to store the logging data, this can be achieved by regularly preserving the series of copies file log.001 in a separate place with convenient names. Make an archive copy of the file under a new name every time there is a replacement of log files, as reported in a pop-up toast reminder. Thus, the circular mode allows you to store the current operation log to a depth of 2 files of the size configurated in Settings. This mode will also help to organize the archiving of the continuous operation log for an unlimited period of time without overloading the file system of the mobile device with significant volumes of text logs.

Home  |  Download  |  Contacts & Order
© 2007-2019