Topic : Problem programming High-Density STM32

Forum : ARM

Original Post
Post Information Post
December 29, 2008 - 7:33pm
Guest

Hi!

I've a problem programming high-density STM32 micro (SMT32F103VET6). I can compile but when I flash the firmware on the micro I have the error:

Error: Flash and Memory are different at address 0x8000000
Found 0xFF in Flash expected 0x0
The address higher than this have not been tested.

What does this error means?
I'm using memory from 0x0801BC00 to 0x0801FC00 defined in .h file as ((u32)0x0801FC00). Why I have this problem? There are limitation using high-density micro?

IT'S VERY URGENT!

Thanks!

Replies
Post Information Post
+1
0
-1
December 30, 2008 - 11:42am
Guest

I tried to program a few bytes in this range through RFlasher, and it works fine. I ran my test with with a STM32F103RET6 (Primer2 board). I believe that only the package is different (same die). Which software tool are you using ?

+1
0
-1
December 30, 2008 - 2:40pm
Guest

I'm using Ride 7 v.7.14.0001 and RKit-ARM 1.13.0810
The total firmware dimension is 276 Kbyte.
Now also bank from 0x08000000 have problem.

Thanks!

+1
0
-1
December 31, 2008 - 10:12am
Guest

Are you using RFLasher (GUI) or Cortex_pgm.exe (command line executable). If you are using Cortex_PGM.EXE, please tell me what is the complete command line.

+1
0
-1
December 31, 2008 - 12:19pm
Guest

I'm using RFlasher (GUI)

+1
0
-1
December 31, 2008 - 1:43pm
Guest

With RFlasher, I made the following test:
1. I open the 'Code View' memory
2. In this window, after selecting an address in the range you specify, I edit manually a few bytes. For example I enter '0x55', 0x56... on the 10 first bytes at the address 0x0801C000.
3. I launch the 'auto-mode' (erase + program)
4. Then I read the contents of the device to check that the data is set as specified above.

I tried on a STM32F103RET6 but it works as well if I select STM32F103VET6.
If it works, but it does not work with your hex file, it could be specific to your HEX file (sounds strange).

+1
0
-1
January 2, 2009 - 11:05am
Guest

Hi

As the problem seem to be related to something specific to your environment here is what I can suggest

1. Try to program a project example given in Ride7 installation: c:\program files\raisonance\ride\examples\arm\primer\stm32primer2\
Let us now the result

2. If you could program the project referenced above, then send to the hex file you could not program.

Matloub