Hi,
I am using J-Link Pro on an STM32F412 and I am trying to erase the chip with J-Flash.
If I select Target -> Manual Programming -> Erase Chip, I get a pop-up dialog doing some work and then an error message pop-up telling me, erasing had failed. The log says:
However, Target -> Manual Programming -> Download & Verify works just fine.
Any idea what is going on?
Thanks.
Kind regards
I am using J-Link Pro on an STM32F412 and I am trying to erase the chip with J-Flash.
If I select Target -> Manual Programming -> Erase Chip, I get a pop-up dialog doing some work and then an error message pop-up telling me, erasing had failed. The log says:
Erasing chip ...
- 264 sectors, 2 ranges, 0x8000000 - 0x807FFFF, 0x90000000 - 0x90FFFFFF
- Start of preparing flash programming
- End of preparing flash programming
- Start of determining dirty areas in flash cache
- End of determining dirty areas
- CPU is running at 72000 kHz.
- Chip erase not supported for flash bank @ 0x08000000. Switched to sector erase
- Start of determining dirty areas in flash cache
- End of determining dirty areas
- Start of erasing sectors
- Blank checking 0x08000000 - 0x0800FFFF
- Erasing range 0x08000000 - 0x0800FFFF ( 4 Sectors, 64 KB)
- Blank checking 0x08010000 - 0x0801FFFF
- Erasing range 0x08010000 - 0x0801FFFF ( 1 Sector, 64 KB)
- Blank checking 0x08020000 - 0x0803FFFF
- Erasing range 0x08020000 - 0x0803FFFF ( 1 Sector, 128 KB)
- Blank checking 0x08040000 - 0x0805FFFF
- Blank checking 0x08060000 - 0x0807FFFF
- End of erasing sectors
- Start of restoring
- End of restoring
- Start of determining flash info (Bank 1 @ 0x90000000)
- End of determining flash info
- Flash bank info:
- 256 * 64 KB @ 0x90000000
- Start of preparing flash programming
- End of preparing flash programming
- Start of determining dirty areas in flash cache
- End of determining dirty areas
- CPU speed could not be measured.
- Chip erase not supported for flash bank @ 0x90000000. Switched to sector erase
- Start of determining dirty areas in flash cache
- End of determining dirty areas
- Start of erasing sectors
- Erasing range 0x90000000 - 0x9001FFFF ( 2 Sectors, 128 KB)
- ERROR: Failed to erase sectors.
- End of erasing sectors
- ERROR: Erase failed
- Start of restoring
- End of restoring
- ERROR: Failed to erase chip
However, Target -> Manual Programming -> Download & Verify works just fine.
Any idea what is going on?
Thanks.
Kind regards