The session file cocould not be loaded

Source: Internet
Author: User

Chinese Path Problems in ADS debugging

(13:46:35)

Reprinted

Tags:

Ads1.2
Category: technology sharing

1.1 Chinese Path Problems

Problem description: With ADS1.2 + H-JTAG, each time the debugging will appear "the session file cocould not be loaded" error, find a solution?
Q: after the project created by the user is compiled, the error window shown in 1.1 is displayed when you enter the AXD debugging environment.


Figure 1.1 error window

"The session file cocould not be loaded" means "the process file cannot be loaded ". The session file is a non-text file that records debugging information and cannot be edited or modified by the debugger, the purpose of this file is to record the information in the debugging process and restore the status of the last debugging in the next debugging.
The reason why files cannot be loaded during the process is generally because the path of the project to be stored by the user contains Chinese characters, as shown in Figure 1.2. Loading information error due to Chinese path.

Figure 1.2 Project Storage path contains Chinese Characters

1.2 Solutions

There are two solutions to this problem:

(1) mobile projects are stored in English or numbers (excluding Chinese) directories;

(2) modify the interface configuration of the debugging target.

1. Mobile Engineering
Move the project to a directory that does not contain Chinese characters. This method is relatively simple and will not be described in detail in this article.
2. Modify the interface configuration of the debugging target
All the setting Options and the setting Panel of the AXD debugger are located in the menu Options. Click this option. A drop-down menu is displayed, as shown in Figure 1.3.


Figure 1.3 AXD debugging settings

Click the Configure Interface option in the menu shown in Figure 1.3. The Dialog Box 1.4 is displayed. This window has six title bars, each of which contains a configuration panel.
The title bar General contains a setting: Save and load default session file. This setting means that the detailed information of the debugging process is saved in the process file. The next time AXD is applied, the new Debugging starts in the same state. If this setting is not selected, the details of the current debugging process are not saved, and the next Debugging starts in the default status.

Figure 1.4 configure the debugging Target Interface

We recommend that you refer to figure 1.4 to set the Save and load default session file option to avoid an error window during debugging. This operation does not need to modify the current storage path of the project.
In summary, the two methods can solve the problem of the AXD environment pop-up error window in the Chinese path.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.