Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 10 months ago.
How to use "flash_algo.txt"??
I succeed to gen "tools\tmp\flash_algo.txt". but I don't know where(or how) do i use this file at the cmsis-dap project? Please let me know~ Thanks.
here is some thing wrong when I try to gen "tools\flash_algo.txt". Would you tell me how you succeed.
This is what I got when I run python >python flash_algo_gen.py
G:\Desktop\nothing\tools>python flash_algo_gen.py [WARNING] Using default settings. Define your settings in the file private_setti ngs.py Traceback (most recent call last): File "flash_algo_gen.py", line 159, in <module> gen_flash_algo() File "flash_algo_gen.py", line 111, in gen_flash_algo run_cmd([FROMELF, '
posted by zhang shengping 12 Dec 2014bin', ALGO_ELF_PATH, '-o', TMP_DIR_W_TERM]) File "G:\Desktop\nothing\tools\utils.py", line 25, in run_cmd p = Popen(command, stdout=PIPE, stderr=PIPE, cwd=wd) File "C:\Users\Administrator\AppData\Local\Enthought\Canopy\App\appdata\canopy -1.4.1.1975.win-x86_64\lib\subprocess.py", line 709, in init errread, errwrite) File "C:\Users\Administrator\AppData\Local\Enthought\Canopy\App\appdata\canopy -1.4.1.1975.win-x86_64\lib\subprocess.py", line 957, in _execute_child startupinfo) WindowsError: [Error 2]