Hello, I got "ID Code Verification Error" error after erasing the RE01 chip (R7F0E01182CFP) using my Jlink ultra+ and jlink flash software. is there any way to solve this?
Jlink Project Script is given below.
AppVersion = 76404 FileVersion = 2[GENERAL] aATEModuleSel = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ConnectMode = 0 CurrentFile = "" DataFileSAddr = 0x00000000 GUIMode = 0 HostName = "" TargetIF = 1 USBPort = 0 USBSerialNo = 0x00000000 UseATEModuleSelection = 0[JTAG] IRLen = 0 MultipleTargets = 0 NumDevices = 0 Speed0 = 4000 Speed1 = 4000 TAP_Number = 0 UseAdaptive0 = 0 UseAdaptive1 = 0 UseMaxSpeed0 = 0 UseMaxSpeed1 = 0[CPU] NumInitSteps = 1 InitStep0_Action = "Reset" InitStep0_Value0 = 0x00000000 InitStep0_Value1 = 0x00000000 InitStep0_Comment = "Reset and halt target" NumExitSteps = 0 UseScriptFile = 0 ScriptFile = "" UseRAM = 1 RAMAddr = 0x20000000 RAMSize = 0x00020000 CheckCoreID = 1 CoreID = 0x5BA02477 CoreIDMask = 0x0F000FFF UseAutoSpeed = 0x00000001 ClockSpeed = 0x00000000 EndianMode = 0 ChipName = "Renesas R7F0E0118"[FLASH] NumBanks = 3[FLASH0] aRangeSel = 0 BankName = "Internal option-setting memory" BankSelMode = 1 BaseAddr = 0x0100A150[FLASH1] aRangeSel = 0-63 BankName = "Internal code flash" BankSelMode = 1 BaseAddr = 0x00000000[FLASH2] BankName = "External QSPI flash" BaseAddr = 0x60000000[PRODUCTION] AutoPerformsDisconnect = 0 AutoPerformsErase = 1 AutoPerformsProgram = 1 AutoPerformsSecure = 0 AutoPerformsStartApp = 0 AutoPerformsUnsecure = 0 AutoPerformsVerify = 1 EnableFixedVTref = 0 EnableTargetPower = 0 EraseType = 1 FixedVTref = 0x00000CE4 MonitorVTref = 0 MonitorVTrefMax = 0x0000157C MonitorVTrefMin = 0x000003E8 OverrideTimeouts = 0 ProgramSN = 0 SerialFile = "" SNAddr = 0x00000000 SNInc = 0x00000001 SNLen = 0x00000004 SNListFile = "" SNValue = 0x00000001 StartAppType = 0 TargetPowerDelay = 0x00000014 TimeoutErase = 0x00003A98 TimeoutProgram = 0x00002710 TimeoutVerify = 0x00002710 VerifyType = 1[PERFORMANCE] DisableSkipBlankDataOnProgram = 0x00000000 PerfromBlankCheckPriorEraseChip = 0x00000001 PerfromBlankCheckPriorEraseSelectedSectors = 0x00000001
If your ID code is unknown, it is impossible to reprogram the Flash memory by serial programmer. the ID code already programmed in the MCU should match the one to be entered by the programmer. However, when…
Haven't you set the ID code for your chip?
You may refer to these threads. This features another mcu family but discusses the same issue:
HeraldRenesasRulz Forum Moderatorhttps://renesasrulz.com/https://academy.renesas.com/en-us.knowledgebase.renesas.com/
If your ID code is unknown, it is impossible to reprogram the Flash memory by serial programmer. the ID code already programmed in the MCU should match the one to be entered by the programmer. However, when the ROM code protect function is not used, it is possible to reprogram it regardless of the ID code with a parallel programmer.