2020-11-01 12:42 PM
Received my GFX01M1 board to use with the Nucleo-G071RB. First, tried to load the precompiled binary in the project workspace with no luck. I get the 'Failed to execute the MI command LOAD ***.elf'. Re-compiled the code with no issue but resulting in the same message. Some sort of debugger issue, it seems, but there is very little about this 'MI command' or what causes the error. There are lots of posts about this same issue but nothing recommended in these posts have resolved the problem. I've tried changing debugger and debugger settings but the error continues to be unresolved. Also tried code with and without debug settings and tried loading the code with STM Programmer instead of the IDE with no improvement. Same error.
Any suggestions on resolving the issue?
Thanks,
tjm
Solved! Go to Solution.
2020-11-01 01:49 PM
Wow, you're too fast. I was just about to amend this post as I found a post with the fix here, copied the external loader and the demo now loads and works fine.
The fix:
I saw the external loader file while browsing through the code directories but was unsure about what to do with it.
I would like to see this picture fixed in the docs, though. I wasn't aware this was a wireless board.
thanks,
tjm
2020-11-01 01:06 PM
Apparently part of the binary has to go to the SPI flash (otherwise there wouldn't be one fitted ...). For this, STM32CubeProgrammer needs an external loader, "MX25L6433F_STM32G071B_NUCLEO.stldr". So the first point to check is whether this is actually present in "bin/ExternalLoader" in your programmer installation directory.
2020-11-01 01:49 PM
Wow, you're too fast. I was just about to amend this post as I found a post with the fix here, copied the external loader and the demo now loads and works fine.
The fix:
I saw the external loader file while browsing through the code directories but was unsure about what to do with it.
I would like to see this picture fixed in the docs, though. I wasn't aware this was a wireless board.
thanks,
tjm
2020-11-02 11:51 PM
Hello @TJM ,
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre