Skip to main content
PDixo.1
Associate III
February 1, 2021
Question

STM32CubeProgammer will not load the bin file 'Error while reading the file'.

  • February 1, 2021
  • 2 replies
  • 1088 views

I'm using the STM32429I-EVAL board and STM32CubeProgammer and can program the board when the program is located in internal flash.

When I edit the app to use the external flash I get a good compile in STM32CubeIDE but the programmer will not load the bin file 'Error while reading the file'.

So I can't program the board.

ANyone had this and solved it please?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 1, 2021

Not a problem I'm having.. often not a requirement

Show full error and build log to that point.

C​heck for spaces in path name, especially that of External Loader.

​External Loader selected?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
PDixo.1
PDixo.1Author
Associate III
February 1, 2021

No compile error all ok.

Filename 'Evaluation_Example.bin' same as previously loaded and successfuiy programmed internal flash build.

M29W128GL_STM324x9I-EVAL external loader

Programmer v2.6.0