Before you start, specify the python environment variable:
PYTHONPATH=<S32DS_install_dir>/S32DS/build_tools/msys32/mingw32/lib/python2.7
To
run the flash programmer:
- Navigate to /S32DS/tools/S32Debugger/Debugger/Server/gta and launch
gta.exe.
- Open the command prompt and run the file according to the device type:
| Toolchain |
Architecture |
File |
Location |
| GCC 6.3 |
32-bit Arm® |
arm-none-eabi-gdb-py.exe |
/S32DS/tools/gdb-arm/arm32-eabi/bin/ |
| GCC 9.2 |
32-bit Arm® |
arm-none-eabi-gdb-py.exe |
/S32DS/tools/gdb-arm/arm32-eabi/bin/ |
| GCC 10.2 |
32-bit Arm® |
arm-none-eabi-gdb-py.exe |
/S32DS/tools/gdb-arm/arm32-eabi/bin/ |
- In the GDB window, execute the following
commands:
source <S32DS>/S32DS/tools/S32Debugger/Debugger/scripts/gdb_extensions/flash/s32flash.py
py flash()