Hello,
i try to read the netx90 Flash with the J-Flash Tool. First i connect to the target:
Display All
After successful connection i tried to read back the Flash via Target --> Manual Programming --> Read Back --> Range
![](https://forum.segger.com/index.php/Attachment/3715-read-back-range-png/?thumbnail=1&s=a47344beec86d83be1587237f9b5a4d7867248e4)
Then I get an error message:
![](https://forum.segger.com/index.php/Attachment/3716-read-back-error-png/?thumbnail=1&s=a47344beec86d83be1587237f9b5a4d7867248e4)
Display All
Why I can't read the flash from the netx90? What does this error mean?
Furthermore I found out from another thread that the APP CPU is currently not supported:
[SOLVED] Hilscher netx90 APP core dubugging
Is the APP CPU planned for the future?
Best Regards
Johannes
i try to read the netx90 Flash with the J-Flash Tool. First i connect to the target:
Source Code
- Application log started
- - J-Flash V6.50b (J-Flash compiled Sep 6 2019 17:58:12)
- - JLinkARM.dll V6.50b (DLL compiled Sep 6 2019 17:57:35)
- Creating new project ...
- - New project created successfully
- Connecting ...
- - Connecting via USB to J-Link device 0
- - J-Link firmware: J-Link Pro V4 compiled Aug 30 2019 09:21:29
- - Device "NETX90" selected.
- - Target interface speed: 4000 kHz (Fixed)
- - VTarget = 3.360V
- - TotalIRLen = 8, IRPrint = 0x0011
- - JTAG chain detection found 2 devices:
- - #0 Id: 0x6BA00477, IRLen: 04, CoreSight JTAG-DP
- - #1 Id: 0x10A046AD, IRLen: 04, Unknown device
- - Scanning AP map to find all available APs
- - AP[4]: Stopped AP scan as end of AP map has been reached
- - AP[0]: AHB-AP (IDR: 0x84770001)
- - AP[1]: APB-AP (IDR: 0x54770002)
- - AP[2]: AHB-AP (IDR: 0x24770011)
- - AP[3]: AHB-AP (IDR: 0x24770011)
- - Iterating through AP map to find AHB-AP to use
- - AP[0]: Skipped. No ROM table (AHB-AP ROM base: 0x00000002)
- - AP[1]: Skipped. Not an AHB-AP
- - AP[2]: Core found
- - AP[2]: AHB-AP ROM base: 0xE00FF000
- - CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
- - Found Cortex-M4 r0p1, Little endian.
- - FPUnit: 6 code (BP) slots and 2 literal slots
- - CoreSight components:
- - ROMTbl[0] @ E00FF000
- - ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB000 SCS
- - ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
- - ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
- - ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
- - ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
- - ROMTbl[0][6]: E0042000, CID: B105900D, PID: 005BB906 CTI
- - Executing init sequence ...
- - Initialized successfully
- - Target interface speed: 4000 kHz (Fixed)
- - J-Link found 2 JTAG devices. Core ID: 0x6BA00477 (None)
- - Connected successfully
After successful connection i tried to read back the Flash via Target --> Manual Programming --> Read Back --> Range
Then I get an error message:
Brainfuck Source Code
- Reading target memory (0x00100000 - 0x00102000) ...
- - Start of preparing flash programming
- - ERROR: PC of target system has unexpected value after checking target RAM. (PC = 0xE0A1E09C)!
- ---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------
- PC = E0A1E09C
- Current: R0 = 000202E0, R1 = 00020300, R2 = 00001000, R3 = 00000007
- R4 = 0004656A, R5 = 00106CD4, R6 = 00000000, R7 = 00139907
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- - ERROR: Failed to prepare for programming.
- Failed to execute RAMCode for RAM check!
- - End of preparing flash programming
- - Start of restoring
- - End of restoring
- - ERROR: Failed to read back target memory
- Disconnecting ...
- - Disconnected
Furthermore I found out from another thread that the APP CPU is currently not supported:
[SOLVED] Hilscher netx90 APP core dubugging
Is the APP CPU planned for the future?
Best Regards
Johannes