S32K144HFT0VLHR JTAG issue

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

S32K144HFT0VLHR JTAG issue

2,213 Views
ldj979
Contributor III
Hello, I am a beginner developer who is new to the nxp s32k144 series.
I am in trouble because of the following errors. 

Error in keeps stopping at the starting target cpu and No source available for "0x0" 
Please help.

 

2021. 4. 14 5:05:44 Starting Processor Expert service
System directory = C:\NXP\S32DS_ARM_v2.2\eclipse\ProcessorExpert
Internal cache directory = C:\ProgramData\Processor Expert\PECache\d0181e27
Processor Expert license file = not used (no license file)
2021. 4. 14 5:05:44 Successfully started Processor Expert service
Invalid integer number "" symbol: Dlc
Type specification is not defined "typelpspi_bitsperframe_t", symbol: MasterbitsPerFrame
Type specification is not defined "typelpspi_clockSource_t", symbol: ClockSource
Type specification is not defined "typelpspi_bitsperframe_t", symbol: SlavebitsPerFrame
Error: Unknown type info: typelpspi_bitsperframe_t in item "Bits/frame "/MasterbitsPerFrame from component /lpspi
Error: Unknown type info: typelpspi_clockSource_t in item "Clock Source "/ClockSource from component /lpspi
Error: Unknown type info: typelpspi_bitsperframe_t in item "Bits/frame "/SlavebitsPerFrame from component /lpspi
Could not set item value - unsupported number format (comp: $_Inhr, item: ClockSource0, value: ) - Unknown Text (empty)
Could not set item value - unsupported number format (comp: $_Inhr, item: ClockSource0, value: ) - Unknown Text (empty)
CNUSensorDaq: Code Generation before Build command
{{DEVELOPMENT}} Duplicated symbol found during saving component state - invalid component: clock_manager, symbol: ModuleName_SPI
CNUSensorDaq: 2021. 4. 16 2:05:39 Code generation started.
CNUSensorDaq: Code generation time was 1328 ms.
Code Generation failed or time out for file synchronization has been reached.
The Processor Expert project CNUSensorDaq was NOT generated because of some error. See the Problems view for more details.
CNUSensorDaq: project was NOT successfully generated.

 

Description Resource Path Location Type
ERROR: Only one instance of the component clock_manager is supported in the project. CNUSensorDaq clockMan1 Processor Expert Problem


ERROR: Only one instance of the component clock_manager is supported in the project. CNUSensorDaq clockMan2 Processor Expert Problem


Generator: ERROR: There are errors in the project, please review components configuration. It is not possible to generate code. CNUSensorDaq Code Generator Processor Expert Problem

 

SEGGER J-Link GDB Server V6.42a Command Line Version

JLinkARM.dll V6.42a (DLL compiled Feb 1 2019 18:00:08)

Command line: -if jtag -device S32K144 -endian little -speed auto -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: localhost only
Generate logfile: off
Verify download: on
Init regs on start: on
Silent mode: off
Single run mode: on
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: S32K144
Target interface: JTAG
Target interface speed: auto
Target endian: little

Connecting to J-Link...
J-Link is connected.
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware: V8.00
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB
Checking target voltage...
Target voltage: 3.29 V
Listening on TCP/IP port 2331
Connecting to target...
J-Link found 1 JTAG device, Total IRLen = 4
JTAG ID: 0x1993D01D (Cortex-M4)
Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
Read 4 bytes @ address 0x00000000 (Data = 0x20007000)
Read 2 bytes @ address 0x00000000 (Data = 0x7000)
Received monitor command: speed 1000
Target interface speed set to 1000 kHz
Received monitor command: clrbp
Received monitor command: reset
Resetting target
Received monitor command: halt
Halting target CPU...
...Target halted (PC = 0x00000410)
Received monitor command: regs
R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000
R12= 00000000, R13= 20007000, MSP= 20007000, PSP= 00000000
R14(LR) = FFFFFFFF, R15(PC) = 00000410
XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000
CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0x00000410 (Data = 0xF04FB672)
Read 2 bytes @ address 0x00000410 (Data = 0xB672)
Received monitor command: speed 1000
Target interface speed set to 1000 kHz
Received monitor command: flash breakpoints 0
Flash breakpoints disabled
Read 4 bytes @ address 0x00000410 (Data = 0xF04FB672)
Read 2 bytes @ address 0x00000410 (Data = 0xB672)
Received monitor command: clrbp
Received monitor command: reset
Resetting target
Received monitor command: halt
Halting target CPU...
...Target halted (PC = 0x00000410)
Downloading 1024 bytes @ address 0x00000000 - Verified OK
Downloading 16 bytes @ address 0x00000400 - Verified OK
Downloading 15968 bytes @ address 0x00000410 - Verified OK
Downloading 3476 bytes @ address 0x00004270 - Verified OK
Downloading 8 bytes @ address 0x00005004 - Verified OK
Downloading 1316 bytes @ address 0x0000500C - Verified OK
Read 4 bytes @ address 0x00000410 (Data = 0xF04FB672)
Read 2 bytes @ address 0x00000410 (Data = 0xB672)
Received monitor command: regs
R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000
R12= 00000000, R13= 20007000, MSP= 20007000, PSP= 00000000
R14(LR) = FFFFFFFF, R15(PC) = 00000410
XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000
CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00
Reading all registers
Read 4 bytes @ address 0x00000410 (Data = 0xF04FB672)
Read 2 bytes @ address 0x00000410 (Data = 0xB672)
Starting target CPU...

 

and here is my run configuration

image.pngimage.png


 

0 Kudos
8 Replies

2,195 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @ldj979,

It seems like there is an error in Processor Expert.

The Processor Expert project CNUSensorDaq was NOT generated because of some error. See the Problems view for more details.
CNUSensorDaq: project was NOT successfully generated.

Description Resource Path Location Type
ERROR: Only one instance of the component clock_manager is supported in the project. CNUSensorDaq clockMan1 Processor Expert Problem

Please open the Clock Manager component, does it report any issue?

Can you generate the code?

danielmartynek_0-1618576343302.png

 

Thank you,

BR, Daniel

0 Kudos

2,162 Views
sparkee
Contributor V

I'm having a similar issue with Processor Expert.

Could not set item value - unsupported number format (comp: wdg_pal1, item: wdgPalPercentWindow0, value: 0.) - Unknown char: .

When I open the .pe file and find the line referred to I see:

      <ItemState>
        <ItemSymbol>wdgPalPercentWindow0</ItemSymbol>
        <ReadOnly>true</ReadOnly>
        <UserReadOnly>false</UserReadOnly>
        <PropertyModelIsAutomatic>false</PropertyModelIsAutomatic>
        <Value>0</Value>
        <Base>DEC</Base>
      </ItemState>

I've gone back 2 revisions and still get the same problem.  I'm able to open clockMan and I don't see errors.  I'm able to generate code, though the error pops up again so not sure if it actually generates.

sparkee_0-1620770611076.png

 

0 Kudos

2,146 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Which version of the S32DS IDE and the SDK do you have?

You can see if the code gets generated in the Generated_Code folder.

 

Regards,

Daniel

2,134 Views
sparkee
Contributor V

S32DS.ARM.2.2 - C/C++

I'm not sure what the issue was.  I deleted everything and imported a fresh copy from my SVN repo and it's working.  Coworker's copy is also working now.  Before I was deleting everything but the SVN folder then doing an Update but problem persisted.  Maybe it was an SVN issue.

2,112 Views
sparkee
Contributor V

It happened again but I figured out what was causing the issue.  Some strange characters were inserted into the PE file.

sparkee_0-1620912583349.png

These coincide with random files that showed up on my system that are older versions of the PE file.  They've been there a while, not sure why this changed happened to the working PE file.

sparkee_1-1620912662708.png

I removed the characters and everything seems to be working again.

0 Kudos

2,026 Views
sparkee
Contributor V

@danielmartynek 

So the issue partially persists.  I'm able to build and program and it doesn't seem to be doing anything negative though.  I get an unsupported number format error when opening the program and loading the project:

sparkee_0-1622668237692.png

Here is the component inspector for wdg_pal1:

sparkee_1-1622668342926.png

It's not happy about the Percent Window value being 0 despite the mouse-over telling me the number can be 0-100.  If I check the Window Enable box, I can change the value to 100 and the issue goes away but if I uncheck the Window Enable box it changes the number to 0 and the error shows back up.  Should I just ignore this?

Thank you

0 Kudos

1,978 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Dylan,

I'm sorry for all the inconvenience.

The issue has been reported.

Once I have some new information, I will update the thread.

 

Thank you,

Best regards,

Daniel

 

1,833 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Dylan,

An update from the IDE SW team:

"This bug will not effect to any operation of the driver and generate files. Its just make S32DS show a message in Console window: Could not set item value - unsupported number format....
User can ignore it."

 

Regards,

Daniel