MIMRT685-AUD-EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIMRT685-AUD-EVK

Jump to solution
768 Views
Velmurugan0534
Contributor II

Hi ,

I am new to MIMRT685-AUD-EVK

I tried flashing the basic CE freertos hello .

While programming i see the following issue 

Executing flash operation 'Program' (Program executable into flash Debug\evkmimxrt685_freertos_hello.axf) - Tue Mar 21 18:35:38 IST 2023
Checking MCU info...
Scanning for targets...
Executing flash action...
SEGGER J-Link Commander V7.86b (Compiled Mar 1 2023 17:01:21)
DLL version V7.84a, compiled Dec 22 2022 16:11:39
J-Link Command File read successfully.
Processing script file...
J-Link>ExitOnError 1
J-Link Commander will now exit on Error
J-Link>r
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link LPCXpresso V2 compiled Apr 4 2019 16:54:03
Hardware version: V1.00
J-Link uptime (since boot): N/A (Not supported by this model)
S/N: 724947334
VTref=3.300V
Target connection not established yet but required for command.
Device "MIMXRT685S_M33" selected.
Connecting to target via SWD
InitTarget() start
ROM entered ISP command handling loop. Re-enable the debug access.
InitTarget() end
Found SW-DP with ID 0x6BA02477
DPv0 detected
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: 0x84770001)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FE000
CPUID register: 0x410FD213. Implementer code: 0x41 (ARM)
Feature set: Mainline
Found Cortex-M33 r0p3, Little endian.
FPUnit: 8 code (BP) slots and 0 literal slots
Security extension: implemented
Secure debug: enabled
CoreSight components:
ROMTbl[0] @ E00FE000
[0][0]: E00FF000 CID B105100D PID 000BB4C9 ROM Table
ROMTbl[1] @ E00FF000
[1][0]: E000E000 CID B105900D PID 000BBD21 DEVARCH 47702A04 DEVTYPE 00 Cortex-M33
[1][1]: E0001000 CID B105900D PID 000BBD21 DEVARCH 47701A02 DEVTYPE 00 DWT
[1][2]: E0002000 CID B105900D PID 000BBD21 DEVARCH 47701A03 DEVTYPE 00 FPB
[1][3]: E0000000 CID B105900D PID 000BBD21 DEVARCH 47701A01 DEVTYPE 43 ITM
[1][5]: E0041000 CID B105900D PID 002BBD21 DEVARCH 47724A13 DEVTYPE 13 ETM
[1][6]: E0042000 CID B105900D PID 000BBD21 DEVARCH 47701A14 DEVTYPE 14 CSS600-CTI
[0][1]: E0040000 CID B105900D PID 000BBD21 DEVARCH 00000000 DEVTYPE 11 TPIU
Memory zones:
"Default" Description: Default access mode
Cortex-M33 identified.
Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
ResetTarget() start
Reset via SYSRESETREQ and reset pin + halt after bootloader
ROM entered ISP command handling loop. Re-enable the debug access.
ResetTarget() end
J-Link>h
PC = 13007A72, CycleCnt = 00000000
R0 = 50002034, R1 = 00000000, R2 = 00800400, R3 = 02D3DC00
R4 = 00000000, R5 = 10018010, R6 = 55AACC33, R7 = 55AACC33
R8 = 5AA55AA5, R9 = 5AA55AA5, R10= 50002E24, R11= C33CB959
R12= 0000F2CE
SP(R13)= 1001159C, MSP= 1001159C, PSP= 00000000, R14(LR) = 13005283
XPSR = 29000000: APSR = nzCvQ, EPSR = 01000000, IPSR = 000 (NoException)
CFBP = 00000001, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 01
MSPLIM = 10010000
PSPLIM = 00000000
Security extension regs:
MSP_S = 1001159C, MSP_NS = 00000000
MSPLIM_S = 10010000, MSPLIM_NS = 00000000
PSP_S = 00000000, PSP_NS = FFFFFFFC
PSPLIM_S = 00000000, PSPLIM_NS = 00000000
CONTROL_S = 00, FAULTMASK_S = 00, BASEPRI_S = 00, PRIMASK_S = 01
CONTROL_NS = 00, FAULTMASK_NS = 00, BASEPRI_NS = 00, PRIMASK_NS = 00
FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000
FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000
FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000
FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= 00000000
FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000
FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000
FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000
FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= 00000000
FPSCR= 00000000
J-Link>loadfile "C:\Users\Velmurugan\Documents\MCUXpressoIDE_11.7.0_9198\workspace_NEW\evkmimxrt685_freertos_hello\Debug\evkmimxrt685_freertos_hello.hex" 0x8000000
'loadfile': Performing implicit reset & halt of MCU.
ResetTarget() start
Reset via SYSRESETREQ and reset pin + halt after bootloader
ROM entered ISP command handling loop. Re-enable the debug access.
ResetTarget() end
Downloading file [C:\Users\Velmurugan\Documents\MCUXpressoIDE_11.7.0_9198\workspace_NEW\evkmimxrt685_freertos_hello\Debug\evkmimxrt685_freertos_hello.hex]...
J-Link: Flash download: Bank 0 @ 0x08000000: Skipped. Contents already match
O.K.
J-Link>qc
Script processing completed.

Could you please suggest me what to do ?
I dont see anything in the serial terminal 
I verified my UART configurations. 

I further tried programming in debugging mode .
The program stuck at resetISR() 

Velmurugan0534_0-1679404131777.png

 

0 Kudos
Reply
1 Solution
681 Views
Velmurugan0534
Contributor II

The issue is caused because of using wrong SDK . 
Now iam able to see output for all the compiled programs.

 

Thanks

View solution in original post

0 Kudos
Reply
3 Replies
749 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

HI

Can you print hello world to simihost?

Below is to switch output to semihost:

ZhangJennie_0-1679476366957.png

Thanks,

Jun Zhang

0 Kudos
Reply
741 Views
Velmurugan0534
Contributor II

Hi @ZhangJennie ,

Thanks for your prompt reply.
After changing the console to Semihost still i face the same issue.
Could you please help me out ?
In debugger mode i see that it hits ResetISR()

Also could you please suggest me the ISP pin settings , Iam trying to program via Micro-USB cable .

The default ISP settings that comes with board is HIGH LOW HIGH.

I did not change any ISP settings .

0 Kudos
Reply
682 Views
Velmurugan0534
Contributor II

The issue is caused because of using wrong SDK . 
Now iam able to see output for all the compiled programs.

 

Thanks

0 Kudos
Reply