Topic : Problems with RLink PRO, STR750F, RFlasher

Forum : ARM

Original Post
Post Information Post
April 12, 2007 - 5:25pm
Guest

Dear Sir,

I found a problem when trying to program the Flash memory. I am using Reva V2.0 with STR750F module (Ride version in other post of mine).

Using RFlasher, I load a sample .bin ("1234567890" in ASCII codes) at address 0x2000_0000. I can see the ten bytes loaded in the RFlasher window, I can program them, I can read back them, all is ok.

When I try to load the same sample .bin, but at address 0x200c_0000 (the BANK 1 FLASH, 16k), the RFlasher window remains blank, i.e. FF FF FF FF FF FF FF FF FF FF. No programming happens thereafter, and if I read back the data, I read only FF.

So I suppose there is a bug in RFlasher.

In addition, I tried to use IAP (In Application Programming) to write FLASH while executing from RAM: I can erase/write/read all of the FLASH at BANK 0, but, again, ERASING/WRITING/READING at BANK 1 doesn't work. This could be a mask problem of the STR752FV2 (engineering sample), or it may be a problem of RLink?

I tried with n.2 Rlink Pro and with n.2 STR750F modules, with the same result.

Instead, using an STR711F module, I can load the same .bin at any address, included the BANK1 FLASH, and I can program it without problem (in this case the address is 0x400c_0000).

Microcontroller code:

STR750FV2T6
Z
22 024 VG
MLT 22 630
ST ARM

Please answer.

Regards

Romano

Replies
Post Information Post
+1
0
-1
April 13, 2007 - 2:06pm
Raisonance Support Team

Hi,

Yes, this is a bug in the simulator. We will fix it in the next version of RIDE. Thank you for reporting the issue.

However, the bug is in the deepest layers of the software and I'll not be able to make a patch. I could eventually make a test version of RIDE, but I won't have time to fully test it, so I can't guarantee that everything will work. I suggest you try to use "STR7_pgm" instead. I'm quite confident it does not have the problem. If it doesn't work, then I'll make the test version for you. Here is the latest version of STR7_pgm:
ftp://www.raisonance.com/temp/ST/STR7_pgm_test_070404.zip

Best Regards,

Vincent