Serial programming without erasing working flash sector.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PrUT_1925121
Level 1
Level 1
First reply posted First question asked

During serial programming of MB9BF568R the FLASH MCU programmer erase the working flash sector starting from 0x200C0000.

I've searched out for some FLASH MCU programmer setting, but nothing.

Is there a way to perform serial programming without erasing data flash memory?

Thanks

Mauro

0 Likes
1 Solution

Your observation is very strange. Which version you are using?

Why cant' you download FLASHly? Please try http://www.holgerium.de/elektronik/files/flashly_v32.zip ?

View solution in original post

0 Likes
5 Replies
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

No easy way to remain the content of working flash sector starting from 0x200C0000, as the serial programming flow of tool FLASH MCU programmer is fixed.

0 Likes
PrUT_1925121
Level 1
Level 1
First reply posted First question asked

It points to the file named "m_flash.9b560r".

No way to modify it?

Mauro

0 Likes
HolgerW_56
Employee
Employee
25 solutions authored 10 sign-ins 5 sign-ins

Hi,

I think you are wrong:

If you are using the "Flash MCU Programmer for FM", then ...

1) Using the button 'Full Operation' will only perfrom a sector erase of those sectors that are used within your Hex-File

'Full Operation' will automatically connect (Download Kernel) to your device, perfrom Sector Erase of sectors described by HEX-File, Program and verify your Hex-File.

Hence 'Full Operation' will not erase Work-Flash as long as Workflash is not used within your Hex-File.

2) Using the button 'Erase' will perform Chip-Erase, what will erase complete Flash.

Please use always option (1), 'Full Operation' to erase only Flash sectors that are used by your hex-file.

Alternatively you can have a look to the 3rd party tool FLASHly, www.holgerium.de/elektronik -> flashly,

that allows programming of your device by command line. Also here you can erase sectorwise.

0 Likes
PrUT_1925121
Level 1
Level 1
First reply posted First question asked

Hi Holger,

thanks for the answer.

Unfortunately the stand alone erase operation and the "full operation" erase has the same effect: Chip-Erase.

The third-part programmer download link seems not working.

Any other suggestion?

Thanks

Mauro

0 Likes

Your observation is very strange. Which version you are using?

Why cant' you download FLASHly? Please try http://www.holgerium.de/elektronik/files/flashly_v32.zip ?

0 Likes