Topic : How to program STM32F103R6T6 usin cortex_pgm.exe

Forum : ARM

Original Post
Post Information Post
March 4, 2011 - 9:59am

Hi all!

I have planned to use the cortex_pgm.exe for production programming of the STM32F103R6T6 device. The goal is to automate the programming with the cortex_pgm.exe.

Problem is that it does not work. I can succesfully program the device using RLINK with the RFLASHER7 but the command prompt tool cortex_pgm.exe gives error.

For example if i try to do the blanckcheck, following error will print:

C:\PROGRA~1\RAISON~1\Ride\bin>cortex_pgm.exe STM32F103R6T6 B
Cortex_pgm: software for programming Cortex chips using a RLink as master.
Copyright Raisonance 2009.

Connecting to RLink... OK
Connecting to target...
!!! Error 203: Wrong MCU DEVICE ID: 0x20036410

Any ideas?

The Ride version is and the toolkit is ARM


Post Information Post
March 4, 2011 - 11:11am
Raisonance Support Team

Hi Sale,

Your command-line is incorrect: You forgot to place the "T" command before the device selection.
This will work better:
cortex_pgm.exe TSTM32F103R6T6 B


March 4, 2011 - 11:16am

Thank you!

Problem solved!

Need to be more accurate with the documentation:)