S32 Design Studio won't talk to S32K3X4EVB-Q257 evaluation boards, trying Windows and Linux, getting stuck at 52% on Windows,
Both on the latest S32 Design Studio version, 3.4.1 (update 1)
Linux succeeds with
Finished building: test.siz
11:15:32 Build Finished. 0 errors, 0 warnings. (took 1s.67ms)
Windows fails with:
Finished building: test.siz
"make -j12 all" terminated with exit code -1. Build might be incomplete.
09:06:37 Build Finished. 0 errors, 0 warnings. (took 7s.830ms)
Launching test_Debug_Flash_PNE
(green bar stuck at 52%)
Launching: Invoking command make -j12 all
Trying lots of things, currently looking for Windows firewall logs to see if it's blocked.
Cannot find test.siz file on either windows or linux, is that supposed to be written out to the board?
Both .elf files say the same output sizes, 2652 1180 40 3872 f20 test.elf
both using the same main.c but a hex diff shows some differences in the .elf output and we're not seeing a JTAG Device ID on Windows.
Full Windows console output:
{
09:06:29 **** Build of configuration Debug_FLASH for project test ****
make -j12 all
Building file: ../src/main.c
Building file: ../Project_Settings/Startup_Code/boot_header.c
Building file: ../Project_Settings/Startup_Code/startup_ARMCM7.c
Building file: ../Project_Settings/Startup_Code/system_ARMCM7.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/main.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/boot_header.args" -MMD -MP -MF"Project_Settings/Startup_Code/boot_header.d" -MT"Project_Settings/Startup_Code/boot_header.o" -o "Project_Settings/Startup_Code/boot_header.o" "../Project_Settings/Startup_Code/boot_header.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/boot_header.args" -MMD -MP -MF"Project_Settings/Startup_Code/system_ARMCM7.d" -MT"Project_Settings/Startup_Code/system_ARMCM7.o" -o "Project_Settings/Startup_Code/system_ARMCM7.o" "../Project_Settings/Startup_Code/system_ARMCM7.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/boot_header.args" -MMD -MP -MF"Project_Settings/Startup_Code/startup_ARMCM7.d" -MT"Project_Settings/Startup_Code/startup_ARMCM7.o" -o "Project_Settings/Startup_Code/startup_ARMCM7.o" "../Project_Settings/Startup_Code/startup_ARMCM7.c"
Finished building: ../Project_Settings/Startup_Code/boot_header.c
Finished building: ../Project_Settings/Startup_Code/system_ARMCM7.c
Finished building: ../src/main.c
Finished building: ../Project_Settings/Startup_Code/startup_ARMCM7.c
Building target: test.elf
Invoking: Standard S32DS C Linker
arm-none-eabi-gcc -o "test.elf" "@test.args"
Finished building target: test.elf
Invoking: Standard S32DS Print Size
arm-none-eabi-size --format=berkeley test.elf
text data bss dec hex filename
2652 1180 40 3872 f20 test.elf
Finished building: test.siz
"make -j12 all" terminated with exit code -1. Build might be incomplete.
09:06:37 Build Finished. 0 errors, 0 warnings. (took 7s.830ms)
}
We resolved this ourselves, it turns out S32 Design Studio has to run as Admin on Windows 10, still don't know why, thinking maybe it can't open ports/protocols or USB. Somewhat disappointing, Lauterbach Trace32 talks to the board just fine as Power User, may end up using that.