Is there a guide to setting up the Ozone project for an IMXRT1062 application compiled in MCUXpresso?
I thought it would just require setting up the project target and pointing at the .axf (elf) file, but I get a bunch of issues/errors, both when loading the project and when trying to start a debug session.
Display All
thx
I thought it would just require setting up the project target and pointing at the .axf (elf) file, but I get a bunch of issues/errors, both when loading the project and when trying to start a debug session.
HTML Source Code
- Disabled output of control characters
- SEGGER Ozone - The J-Link Debugger V3.26h
- J-Link software found at:
- File.NewProjectWizard();
- Target core support plugin loaded.: /Applications/SEGGER/Ozone_V326h/Ozone.app/Contents/MacOS/Plugins/Core/CorePluginARM.dylib
- Project.SetDevice ("MIMXRT1062xxx6A");
- Project.SetHostIF ("USB", "");
- Project.SetTargetIF ("SWD");
- Project.SetTIFSpeed ("1 MHz");
- Project.AddSvdFile ("$(InstallDir)/Config/CPU/Cortex-M7F.svd");
- File path resolved: "$(InstallDir)/Config/CPU/Cortex-M7F.svd" was found at "/Applications/SEGGER/Ozone_V326h/Ozone.app/Contents/MacOS/Config/CPU/Cortex-M7F.svd"
- File.Open ("/Users/user/Documents/MCUXpressoIDE_11.4.1/sample_project/sample_os/Debug/sample_os.axf");
- Warning (128): The target application seems to be using FreeRTOS, but FreeRTOS-awareness is not enabled.
- Project settings were written to the project file.
- Project.SetOSPlugin ("FreeRTOSPlugin");
- File not found: FreeRTOSPlugin.js
- File name resolved: "FreeRTOSPlugin.dylib" was found at "/Applications/SEGGER/Ozone_V326h/Ozone.app/Contents/MacOS/Plugins/OS/FreeRTOSPlugin.dylib"
- RTOS awareness plugin loaded: /Applications/SEGGER/Ozone_V326h/Ozone.app/Contents/MacOS/Plugins/OS/FreeRTOSPlugin.dylib.
- Target.ReadMemory (0x20040338, 0x4); // returns 0x0
- Target.ReadMemory (0x20040338, 0x4): Could not read target memory.
- Target.ReadMemory (0x200402E0, 0x4); // returns 0x0
- Target.ReadMemory (0x200402E0, 0x4): Could not read target memory.
- File.Open: completed in 26340 ms
- Program segments:
- Address Size Code RO Data RW Data ZI Data Flg
- --------- --------- --------- --------- --------- --------- ---
- 60169DA8 0 0 0 0 0 R
- 20000000 297 615 0 0 9 751 287 864 RW
- 20266700 4 0 0 0 4 RW
- 60000000 1 482 152 1 409 720 72 432 0 0 R E
- 20200000 419 584 0 0 419 584 0 RW
- 20001000 0 0 0 0 0 RW
- 20002580 0 0 0 0 0 RW
- 80000000 3 554 432 0 0 3 554 432 0 RW
- --------- --------- --------- --------- --------- --------- ---
- Total: 5 753 787 1 409 720 72 432 3 983 767 287 868
- --------- --------- --------- --------- --------- --------- ---
- For further information on ELF file data sections, execute command Elf.PrintSectionInfo(0).
- Debug.ReadIntoInstCache: updated instruction information within 1 code ranges (0x60002000-0x6015A2B8)
- Warning (102): The symbol location decoder encountered an unsupported operand: 0xFA.
- RTT active
- Debug.Start();
- Device "MIMXRT1062XXX6A" selected.
- InitTarget() start
- InitTarget() end
- Found SW-DP with ID 0x0BD11477
- DPIDR: 0x0BD11477
- CoreSight SoC-400 or earlier
- Scanning AP map to find all available APs
- AP[1]: Stopped AP scan as end of AP map has been reached
- AP[0]: AHB-AP (IDR: 0x04770041)
- Iterating through AP map to find AHB-AP to use
- AP[0]: Core found
- AP[0]: AHB-AP ROM base: 0xE00FD000
- CPUID register: 0x411FC271. Implementer code: 0x41 (ARM)
- Found Cortex-M7 r1p1, Little endian.
- FPUnit: 8 code (BP) slots and 0 literal slots
- CoreSight components:
- ROMTbl[0] @ E00FD000
- [0][0]: E00FE000 CID B105100D PID 000BB4C8 ROM Table
- ROMTbl[1] @ E00FE000
- [1][0]: E00FF000 CID B105100D PID 000BB4C7 ROM Table
- ROMTbl[2] @ E00FF000
- [2][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
- [2][1]: E0001000 CID B105E00D PID 000BB002 DWT
- [2][2]: E0002000 CID B105E00D PID 000BB00E FPB-M7
- [2][3]: E0000000 CID B105E00D PID 000BB001 ITM
- [1][1]: E0041000 CID B105900D PID 001BB975 ETM-M7
- [1][2]: E0042000 CID B105900D PID 004BB906 CTI
- [0][1]: E0040000 CID B105900D PID 000BB9A9 TPIU-M7
- [0][2]: E0043000 CID B105F00D PID 001BB101 TSG
- Cache: Separate I- and D-cache.
- I-Cache L1: 32 KB, 512 Sets, 32 Bytes/Line, 2-Way
- D-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way
- Connected to target device.
- ResetTarget() start
- Invalid flash header detected.
- Target halted on flash header read.
- ResetTarget() end
- AfterResetTarget() start
- AfterResetTarget() end
- Elf.GetBaseAddr(); // returns 0x60000000
- Target.ReadU32 (0x60000000); // returns 0x4, data is 0xFFFFFFFF
- Elf.GetEntryPointPC(); // returns 0x60002350
- Target.SetReg ("PC", 0x60002350);
- Failed to prepare RAMCode using RAM
- Error while determining flash info (Bank @ 0x60000000)
- Could not start CPU core. (ErrorCode: -1)
- Download failed: J-Link reports an unspecified download error
- Elf.GetBaseAddr(); // returns 0x60000000
- Target.ReadU32 (0x60000000); // returns 0x4, data is 0xFFFFFFFF
- Elf.GetEntryPointPC(); // returns 0x60002350
- Target.SetReg ("PC", 0x60002350);
- Target.SetReg ("PC", 0x60002350): Program is running.
thx