Hello,
I'm kind of layman on the subject, please have patience. lOL
I have a .hex file and need to write to a STM32F103ZF, but I can not.
Sometimes appears some dll error, or Cortex M3, or the lack of a .axf file.
I'm using the ULINK2.
I could reset the microcontroller, but can not save it.
Can anyone help me?
The ULINK isn't the right tool. Get an ST-LINK and use the Utilites. If you have access via USART1 or USB(DFU) consider booting into the System Loader (BOOT0=High), and using the Flash Loader Demonstrator. Both these tools will take .BIN or .HEX inputs.
www.st.com/.../PF257525 www.st.com/.../CD00171488.pdf
Related? http://www.keil.com/forum/60073/
Hi, thanks for help.
Sorry for delay.
I bought the device (ST-Link V2) and really works.
But also I bought a mini ST-Link. By ST-LINK32 software recognize the micro controller and I write. But even so, still errors occur, and the device firmware does not work. It seems to me that creates a conflict in micro controller, I can not write it more with the ST-Link V2.
The question is: The problem is the ST-Link mini or some software configuration?
Don't know, make sure your boot-leg ST-LINK has current firmware (update with current ST-LINK Utilities release)
If it can connect, review the connectivity. If the device goes into a low power mode, you might need to select a "connect under reset" option for connectivity, or strap the BOOT0 pin high so it stops running user code and instead runs the safe System Loader code.
Check it's writing the correct data to the part.
If your board/software is squirrelly, heck you might have to sit down and debug that.