Forum : ARM
Original Post
Post Information | Post |
---|---|
January 23, 2013 - 5:11pm
|
Hi, I'm trying to program/debug a STM32F100RCT6 with Rlink/RFlasher under Windows XP, but I receive the following message: |
Hi,
That means RFlasher cannot connect to the target.
On RFlasher:
Verify that the processor is well configured (select STM32F100RC in Advanced ARM Options -> Processor -> Processor name) and try again "connect to target".
Can be also a Rlink problem:
Click on "connect to RLink" and let see if you can read informations about your RLink.
If you cannot connect to the RLink, try to answer to this topic http://forum.raisonance.com/viewtopic.php?id=2231 and send the answer to our support:
Regards,
Etienne
Hi,
No problem to connect to RLink. In Fact, programming & Debugging works if selecting STM32F100RB, eventhough this is not the correct processor.
Rgds,
Hello,
You are right, there is a bug and it will be fix in the next release.
In the mean time you can fix this bug by yourself following the below instructions:
1. open the STM32F100RC.sim situated at C:\Raisonance\Ride\sim\ARM
2. At line 48 you should find:
Init0= CHECKID,0xE0042000,0x10000FFF,0x00000000,0x10000428,Wrong MCU DEVICE ID
3. replace the line to:
Init0= CHECKID,0xE0042000,0x10000FC0,0x00000000,0x10000400,Wrong MCU DEVICE ID
Let us know if it work.
Regards,
Etienne
Hi Etienne,
We still have the same error after modifying the sim file.
rgds,
Hi,
Are you sure that you are using the latest versions of Ride and RKit-ARM?
(http://support-raisonance.com/extranet/tools/index.php?param=tool__id__7)
You should try to do the same change in all STM32F100?C.sim files. (STM32F100RC.sim, STM32F100VC.sim, STM32F100xC.sim, STM32F100ZC.sim)
Best Regards,
Vincent
I'm having the same problem,
I'm trying to use the Raisonance RLink with RFlasher7 to program flash Gecko EFM32GG940F1024
I can connect to the RLink OK (get serial number), but when I try to connect to target I get:
Error: Wrong MCU DEVICE ID: 0x104803AC
Ride7=7.48.13.0324
RKit-ARM=1.52.13.0324
I tried changing the C:\Raisonance\Ride\sim\ARM\EFM32GG940F1024.sim file init0 line from
Init0= CHECKID,0x0FE081FC,0x00FFFFFF,0x00000000,0x004803DE,Wrong MCU DEVICE ID
to:
Init0= CHECKID,0x0FE081FC,0x00FFFFFF,0x00000000,0x104803AC,Wrong MCU DEVICE ID
but still get same error.
I also tried from dos prompt:
cortex_pgm.exe TEFM32GG940F1024 B
and got the same error
ERROR 203:
Wrong MCU DEVICE ID: 0x104803AC
Hello,
Please try to change the message in the sim file ("Wrong MCU D_E_V_I__CE ID") and then tell us if the error message changes.
Please also try to comment out the check:
_Init0=...
And tell us the result.
We will try again here, but it seems you don't have the same revision of the chip that we have, and that might make a difference... We might have to ask EnergyMicro for devices of the same batch as yours, and that can take some time. ;(
Best Regards,
Vincent