Topic : How to program STM32F103R6T6 usin cortex_pgm.exe

Forum : ARM

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

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.

(0)
Connecting to RLink... OK
Connecting to target...
!!! Error 203: Wrong MCU DEVICE ID: 0x20036410
C:\PROGRA~1\RAISON~1\Ride\bin>

Any ideas?

The Ride version is 7.30.10.0169 and the toolkit is ARM 1.30.10.0356

BR
Sale

Replies
Post Information Post
+1
0
-1
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

Regards,

+1
0
-1
March 4, 2011 - 11:16am
Guest

Thank you!

Problem solved!

Need to be more accurate with the documentation:)