cancel
Showing results for 
Search instead for 
Did you mean: 

Poblem programming stm32f334 witn the flash loader demo 2.7.0

var2
Associate III
Posted on February 19, 2015 at 09:09

I can program the stmf32f334 chip without problem with the  desktop version ''FlashLoaderDemo.2.7.0'' - it is Ok.

But the command line version gives error:

''The instruction of ''0x7c911699'' referenced memory of ''0x00000000''. The memory could not be ''read''.''

I checked with the scope. The  bootloader dialog starts Ok. PC sends 0x7F, receives 0x79.

My boot.bat file is below:

''c:\Program files\STMicroelectronics\Software\Flash Loader Demo\STMFlashLoader.exe'' ^

 -c --pn 6 --br 9600 --co ON -Rts --Hi -Dtr --Hi -Dtr --Lo -i STM32F3_34_03_64K ^

 -e --all -d --fn .\Release\F334_nucleo_HRTIM.hex ^

 -Rts --Lo -Dtr --Hi -Dtr --Lo

I try to change the baudrate, no difference.

The chip name STM32F3_34_03_64K is correct.  The desctop version shows

it.

Great thanks for help,

Varuzhan

3 REPLIES 3
Posted on February 19, 2015 at 12:04

Sounds like a Windows error, the source is supplied review/debug.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
var2
Associate III
Posted on February 23, 2015 at 11:16

I somebody from ST watches this forum, I need an answer from him, or

any person, who know the problem.

AvaTar
Lead
Posted on February 23, 2015 at 14:09

I wouldn't put too much hope in an answer from ST here...

''The instruction of ''0x7c911699'' referenced memory of ''0x00000000''. The memory could not be ''read''.''

 

That sounds like an ''evil'' NULL pointer reference, probably because of a un-checked return value from some resource allocation function (just a guess). ST might not have tested it on all relevant versions of Windows (including 32/64-bit variants !).