Hi,
i've a weird problem on rt1180, if i make a new project on M33 with default config proposed by MCUXpresso, compile and download into flash the program works with no problem, print the default "Hello Word" correcty so all things are done with no problem.
If i do the same thing with a new project on M7 compile correcltly but when i try do debug this is the result:
LinkServer RedlinkMulti Driver v24.12 (Dec 18 2024 18:34:07 - crt_emu_cm_redlink build 869)
Found chip XML file in C:/Users/colombos/Documents/MCUXpressoIDE_24.12.148/workspace/MIMXRT1189_Project_m7/Debug\MIMXRT1189xxxxx.xml
Reconnected to existing LinkServer process.
============= SCRIPT: RT1180_connect_M33_wake_M7_ITC.scp =============
RT1180 Connect M33 and Wake M7 to ITC Script
DpID = 5BA02477
APID = 0x74770001
************ runBootLoader to enter serial downloader mode *************
PC = 1001BC6A, SP = 2001FFF4
DpID = 5BA02477
APID = 0x74770001
R15 = 0x1001C086
********** Initialize CM33 ************
Filling 0xE000E180 + 0x00000040 with 0xFFFFFFFF
Filling 0xE000E280 + 0x00000040 with 0xFFFFFFFF
Filling 0x201E0000 + 0x00020000 with 0x00000000
Filling 0x20200008 + 0x0001FFF8 with 0x00000000
************* Enable CM7 **************
************ Prepare Clock *************
******** Creating Landing Zone *********
Filling 0x303C0000 + 0x00020000 with 0x00000000
Filling 0x303E0000 + 0x00020000 with 0x00000000
Filling 0x30400000 + 0x00020000 with 0x00000000
Filling 0x30420000 + 0x00020000 with 0x00000000
************* Kickoff CM7 **************
Resp1 : 0xE1D20206
Resp2 : 0x000000D6
TAP 0: 5BA02477 AP 0: APID: 74770001 ROM Table: 00000002
TAP 0: 5BA02477 AP 1: APID: 44770002 ROM Table: 80000003
TAP 0: 5BA02477 Core 2: M7 APID: 74770001 ROM Table: E00FD003*
TAP 0: 5BA02477 Core 3: M33 APID: 74770001 ROM Table: E00FF003
APID = 0x74770001
============= END SCRIPT =============================================
Probe Firmware: MCU-LINK on-board (r1E2) CMSIS-DAP V3.153 (NXP Semiconductors)
Serial Number: OK1PG5OV03J1X
VID:PID: 1FC9:0143
USB Path: 0001:002a:00
Using memory from core 2 after searching for a good core
( 30) Emulator Connected
debug interface type = CoreSight DP (DAP DP ID 5BA02477) over SWD TAP 0
processor type = Cortex-M7 (CPU ID 00000C27) on DAP AP 2
number of h/w breakpoints = 8
number of flash patches = 0
number of h/w watchpoints = 4
Probe(0): Connected&Reset. DpID: 5BA02477. CpuID: 00000C27. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE E00FD000: CID B105100D PID 000008E88C ROM (type 0x1)
ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM (type 0x1)
ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM (type 0x1)
ROM 3 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)
ROM 3 E0001000: CID B105E00D PID 04000BB002 Gen DWT (type 0x0)
ROM 3 E0002000: CID B105E00D PID 04000BB00E Gen (type 0x0)
ROM 3 E0000000: CID B105E00D PID 04000BB001 Gen ITM (type 0x0)
ROM 2 E0041000: CID B105900D PID 04001BB975 CSt ARM ETMv4.0 type 0x13 Trace Source - Core
ROM 2 E0042000: CID B105900D PID 04004BB906 CSt type 0x14 Debug Control - Trigger, e.g. ECT
ROM 1 E0043000: CID B105900D PID 04001BB908 CSt CSTF type 0x12 Trace Link - Trace funnel/router
CM7 Rev. 7.0 DTCM: 512KB ITCM: 512KB
LoUU: Level 2: LoC: Level 2
Level 1 Cache Type: Instruction+Data
ICache 32K: WT: Y WB: Y RA: Y WA: Y NumSets: 512 Assoc: 2 LineSize: 8
DCache 32K: WT: Y WB: Y RA: Y WA: Y NumSets: 256 Assoc: 4 LineSize: 8
NXP: MIMXRT1189xxxxx
Inspected v.2 External Flash Device on SPI using SFDP JEDEC ID MIMXRT1180_SFDP_FlexSPI1_A_QSPI.cfx
Image 'iMXRT1180_SFDP_FlexSPI1_A_QSPI Dec 18 2024 17:30:53'
Opening flash driver MIMXRT1180_SFDP_FlexSPI1_A_QSPI.cfx
Sending VECTRESET to run flash driver
AFTER driver startup timeout (302 5ms retries)
Driver Addresses
Start: 20000000
Entry: 2000009D
End: 2000075C
Stack: 20002760
Mailbox:2000A760
Driver Register State
R0: 00000000
R1: 00000000
R2: 00000000
R3: 00000000
R4: 2000A760
R5: 00000000
R6: 00000000
R7: 00000000
R8: 00000000
R9: 00000000
R10: 00000000
R11: 00000000
R12: 00000000
SP: 20002740
LR: FFFFFFF9 (exception from main thread)
PC: E7FEE7FE
xPSR: 40000003
MSP: 20002740
PSP: 20002760
CFBP: 00000001 (CONTROL=0x0, FAULTMASK=0x0, BASEPRI=0x0, PRIMASK=0x1)
Stacked Exception information at MSP
2000275C: xPSR: 41000000
20002758: VECTPC: 200000A2
20002754: LR: 2000009D
20002750: R12: 00000000
2000274C: R3: 00000000
20002748: R2: 00000000
20002744: R1: 00000000
20002740: R0: 00000000
Exception registers
E000ED04: ICSR: 00400803 (ISRPENDING, VECTPEND=0(none), RETTOBASE, VECTACTIVE=3(hard fault))
E000ED08: VTOR: 00000000 TBLBASE=0(INCODE), TBLOFF=0x0
E000ED28: MMFSR: 01 (IACCVIOL)
E000ED29: BFSR: 00
E000ED2A: UFSR: 0001 (UNDEFINSTR)
E000ED2C: HFSR: 40000000 (FORCED)
E000ED30: DFSR: 00000001 (HALTED)
E000ED3C: AFSR: 00000000
E000ED24: SHCSR: 00000000
E000ED34: MMAR: 00000000
E000ED38: BFAR: 00000000
E000EDFC: DEMCR: 01000000 (TRCENA)
VECTPC instructions near 41000000
40FFFFFC: (can't read - Nn(05). Wire ACK Fault in DAP access)
40FFFFFE: (can't read)
Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.
chip initialization failed - Ef(34): Timed-out initializing flash.
failed to initialize flash driver MIMXRT1180_SFDP_FlexSPI1_A_QSPI.cfx
please help me to fix this issue.
i'm using MCUXpresso 24.12 build 148 and SDK 24.12.00 then i've just tried to update MCU-Link to version 3.153
the demoboard is:
SCH-5077 REV C3
700-5077 REV C1(is signed with a point with pen)
Simone
Hello, I hope you are well.
RT1180 is a product in pre-production, please contact your NXP representative for more detailed information.
Best regards,
Omar