fixed the missing erasing of flash memory bank.

This commit is contained in:
iceman1001 2023-07-27 22:55:58 +02:00
commit 944af6be95
2 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
## [unreleased][unreleased] ## [unreleased][unreleased]
- Changed `mem load -m` - now correctly erase all allocated flash memory (@iceman1001)
- Fixed emulator quick dump to handle MFC Ev1 extra sectors (@iceman100)
- Removed some empty dump files (@iceman1001) - Removed some empty dump files (@iceman1001)
- Added a fct to choose fpga mode (@iceman1001) - Added a fct to choose fpga mode (@iceman1001)
- Changed `hf mf eload/gsave` - fast uploading to emulator memory (@iceman1001) - Changed `hf mf eload/gsave` - fast uploading to emulator memory (@iceman1001)

View file

@ -275,7 +275,8 @@ static int CmdFlashMemLoad(const char *Cmd) {
} }
break; break;
} }
// not needed when we transite to loadxxxx_safe methods.(iceman)
// ICEMAN: not needed when we transite to loadxxxx_safe methods
uint8_t *newdata = realloc(data, datalen); uint8_t *newdata = realloc(data, datalen);
if (newdata == NULL) { if (newdata == NULL) {
free(data); free(data);