Hello Everyone
I am working on a project using micro-controller MKE15Z and using J-Link Plus.
Today when I tried to program the binaries using J-Flash, I get some programming error, I recently updated to version 7.58b and 7.58c of the J-Link tool. (Earlier everything was working fine, I don't know why it is not working maybe due to version change, I am not sure)
My project is divided into two parts, configuration and firmware and both are the part of micro-controller's flash, with IAR I am not able to program the configuration (it's starting address is different).
But when I used J-Flash two flash both binaries, I get the following error message.
Display All
As per the above logs I can't even program anything.
I read on internet and found some links where the steps on unlock the micro is given, and I tried that also.
Below are the unlocking logs from J-Link Commander.
Display All
Even after this nothing works.
Then I used another laptop with some older version of J-Flash software and it works well, and then I tried on the same computer and it doesn't work.
Can someone please try to help me, what can be the issue?
Edited:
Another update from my side, I just downgraded the version number of J-Flash software on the same laptop and it works fine. I don't know what exactly gone wrong with the newer version of J-Flash software or there is something else.
I am working on a project using micro-controller MKE15Z and using J-Link Plus.
Today when I tried to program the binaries using J-Flash, I get some programming error, I recently updated to version 7.58b and 7.58c of the J-Link tool. (Earlier everything was working fine, I don't know why it is not working maybe due to version change, I am not sure)
My project is divided into two parts, configuration and firmware and both are the part of micro-controller's flash, with IAR I am not able to program the configuration (it's starting address is different).
But when I used J-Flash two flash both binaries, I get the following error message.
Source Code
- - Connecting ...
- - Connected successfully
- - Checking if selected data fits into selected flash sectors.
- - 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.
- - Start of erasing sectors
- - Blank checking 0x00000000 - 0x0001FFFF
- - Erasing range 0x00000000 - 0x0001FFFF ( 64 Sectors, 128 KB)
- - Blank checking 0x00020000 - 0x000367FF
- - Erasing range 0x00020000 - 0x000367FF ( 45 Sectors, 90 KB)
- - End of erasing sectors
- - Start of flash programming
- - Programming range 0x00000000 - 0x00007FFF ( 16 Sectors, 32 KB)
- - ERROR: Programming failed @ address 0x00000000 (Algo91: Illegal command)
- - End of flash programming
- - ERROR: Program failed
- - Start of restoring
- - ERROR: Timeout while restoring target, RAMCode did not respond in time. (PC = 0xC5C4390C, CPSR = 0xCBD0A908, LR = 0x21000000)!
- - ERROR: Failed to restore target. RAMCode never stops
- - End of restoring
- - ERROR: Failed to auto program target
- Disconnecting ...
- - Disconnected
As per the above logs I can't even program anything.
I read on internet and found some links where the steps on unlock the micro is given, and I tried that also.
Below are the unlocking logs from J-Link Commander.
Source Code
- Connecting to target via SWD
- InitTarget() start
- InitTarget()
- InitTarget() end
- Found SW-DP with ID 0x0BC11477
- DPIDR: 0x0BC11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[2]: Stopped AP scan as end of AP map has been reached
- AP[0]: AHB-AP (IDR: 0x04770031)
- AP[1]: JTAG-AP (IDR: 0x001C0020)
- Iterating through AP map to find AHB-AP to use
- AP[0]: Core found
- AP[0]: AHB-AP ROM base: 0xF0002000
- CPUID register: 0x410CC601. Implementer code: 0x41 (ARM)
- Found Cortex-M0 r0p1, Little endian.
- FPUnit: 2 code (BP) slots and 0 literal slots
- CoreSight components:
- ROMTbl[0] @ F0002000
- [0][0]: F0000000 CID B105900D PID 001BB932 MTB-M0+
- [0][1]: F0001000 CID B105900D PID 0008E000 MTBDWT
- [0][2]: E00FF000 CID B105100D PID 000BB4C0 ROM Table
- ROMTbl[1] @ E00FF000
- [1][0]: E000E000 CID B105E00D PID 000BB008 SCS
- [1][1]: E0001000 CID B105E00D PID 000BB00A DWT
- [1][2]: E0002000 CID B105E00D PID 000BB00B FPB
- Cortex-M0 identified.
- J-Link>unlock Kinetis
- Found SWD-DP with ID 0x0BC11477
- Unlocking device...O.K.
- J-Link>
Then I used another laptop with some older version of J-Flash software and it works well, and then I tried on the same computer and it doesn't work.
Can someone please try to help me, what can be the issue?
Edited:
Another update from my side, I just downgraded the version number of J-Flash software on the same laptop and it works fine. I don't know what exactly gone wrong with the newer version of J-Flash software or there is something else.
The post was edited 1 time, last by arun.sh: Some Updates ().