Environment:
- J-Link Commander V7.54b
- J-Flash V7.54b
- Windows 11 Pro Version 10.0.22623 Build 22623
- J-Link Base V10 .1 (not sure how I find the firmware vesrion
- Target MCU: ATSAME54P20, SWD, 4000 KHz
When I issue command Target => Manual Command => Erase Chip, the log prints out the following:
Display All
The questions:
- I'd like to make sure the chip is properly erased. How do I interpret this error message?
- Is there something I can do to properly erase the chip?
- J-Link Commander V7.54b
- J-Flash V7.54b
- Windows 11 Pro Version 10.0.22623 Build 22623
- J-Link Base V10 .1 (not sure how I find the firmware vesrion
- Target MCU: ATSAME54P20, SWD, 4000 KHz
When I issue command Target => Manual Command => Erase Chip, the log prints out the following:
Source Code
- Erasing chip ...
- - Connecting ...
- - Connected successfully
- - 130 sectors, 3 ranges, 0x0 - 0xFFFFF, 0x804000 - 0x8041FF, 0x4000000 - 0x4FFFFFF
- - 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 @ 0x00000000. Switched to sector erase
- - Start of determining dirty areas in flash cache
- - End of determining dirty areas
- - Start of erasing sectors
- - Blank checking 0x00000000 - 0x0001FFFF
- - Blank checking 0x00020000 - 0x0003FFFF
- - Blank checking 0x00040000 - 0x0005FFFF
- - Blank checking 0x00060000 - 0x0007FFFF
- - Blank checking 0x00080000 - 0x0009FFFF
- - Blank checking 0x000A0000 - 0x000BFFFF
- - Blank checking 0x000C0000 - 0x000DFFFF
- - Blank checking 0x000E0000 - 0x000FFFFF
- - End of erasing sectors
- - Start of restoring
- - End of restoring
- - 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 @ 0x00804000. Switched to sector erase
- - Start of determining dirty areas in flash cache
- - End of determining dirty areas
- - Start of erasing sectors
- - Blank checking 0x00804000 - 0x008041FF
- - Erasing range 0x00804000 - 0x008041FF ( 1 Sector, 512 Bytes)
- - End of erasing sectors
- - Start of restoring
- - End of restoring
- - Start of determining flash info (Bank 2 @ 0x04000000)
- - ERROR: Failed to prepare RAMCode using RAM
- - ERROR: Error while determining flash info (Bank 2 @ 0x04000000)
- - ERROR: Failed to erase chip
- Disconnecting ...
- - Disconnected
- I'd like to make sure the chip is properly erased. How do I interpret this error message?
- Is there something I can do to properly erase the chip?