cancel
Showing results for 
Search instead for 
Did you mean: 

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

PDixo.1
Associate II

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?

2 REPLIES 2

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
PDixo.1
Associate II

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