Forum : ARM
Original Post
Post Information | Post |
---|---|
December 29, 2008 - 7:33pm
|
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 What does this error means? IT'S VERY URGENT! Thanks! |
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 ?
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!
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.
I'm using RFlasher (GUI)
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).
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