I'm having trouble with an RT1061. I am attaching the log file.
The J-Link works since I can write and debug FW in RAM. Flash works since my FW in ram can read and write flash correctly. Also J-Link can read the content of the flash. The power supply is stable and the clock is working.
The error is:
Display All
What are the reasons why it can fail like this?
The J-Link works since I can write and debug FW in RAM. Flash works since my FW in ram can read and write flash correctly. Also J-Link can read the content of the flash. The power supply is stable and the clock is working.
The error is:
Brainfuck Source Code: failure.log
- T43725740 020:214.509 JLINK_EraseChip()
- T43725740 020:215.337 CPU_ReadMem(4 bytes @ 0xE000ED90)
- T43725740 020:216.138 CPU_ReadMem(4 bytes @ 0xE000ED94)
- T43725740 020:216.834 -- --------------------------------------
- T43725740 020:216.946 -- Start of determining flash info (Bank @ 0x60000000)
- T43725740 020:216.987 -- Calculating RAM usage
- T43725740 020:217.050 -- RAM usage = 40492 Bytes
- T43725740 020:217.086 -- Preserving CPU registers
- T43725740 020:217.154 -- Preparing memory
- T43725740 020:217.209 -- Preparing target
- T43725740 020:217.242 -- Preserving target RAM temporarily used for programming
- T43725740 020:470.765 -- Downloading RAMCode
- T43725740 020:581.442 -- Preparing RAMCode
- T43725740 020:590.992
- ***** Error:
- T43725740 020:591.109 Failed to prepare RAMCode using RAM
- T43725740 020:591.147 -- Error while determining flash info (Bank @ 0x60000000)
- T43725740 020:591.184
- ***** Error:
- T43725740 020:591.217 Error while determining flash info (Bank @ 0x60000000)
- T43725740 020:591.249 -- End of determining flash info
- T43725740 020:593.180 - 378.727ms returns -1
What are the reasons why it can fail like this?