Hi,
I am working on S32DS and a PE Multilink tool to debug.The microcontroller is SKEAZ128.
The download and debug worked well before, but someday, when I download a project, got following error. Then I new a simple project or examples from NXP, also got the same error.
It seems that this error is not related to software.
By the way, I download LIN_stack_S12_4_6_3.exe from NXP website and intall it in the same folder with S32DS_ARM_v2.0, I don't know whether it has any effects. I also try to remove this stack and unstall S32DS, but it still have following error.
I find similar problems in this community, but there is not a clear reply to solve this problem.
Someone say it is the problem of P&E multilink, after updating the device, the problem resolved. And I update the fireware of P&E multilink, the problem still exists.
Can anyone help me?
Connection from "127.0.0.1" via 127.0.0.1
Connection from "127.0.0.1" via 127.0.0.1
PE-ERROR: Warning. Can't read registers while part is running.
PE-ERROR: Warning. Can't read registers while part is running.
Telnet server running on 127.0.0.1:51794
Copyright 2012 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_ARM_v2.0\eclipse\plugins
\com.pemicro.debug.gdbjtag.pne_3.1.1.201708081924\win32\pegdbserver_console -
device=NXP_KEx_S9KEAZ128M4 -startserver -singlesession -serverport=7224 -
gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -p?
CMD>RE
Initializing.
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS_ARM_v2.0\eclipse\plugins
\com.pemicro.debug.gdbjtag.pne_3.1.1.201708081924\win32\gdi\P&E\supportFiles_ARM\NXP
\KEx\freescale_s9keaz128m4_pflash.arp
Initializing.
Initialized.
;version 1.03, 06/02/2014, Copyright 2014 P&E Microcomputer Systems, Inc. All rights
reserved. www.pemicro.com [ke_128k_pflash_ftmre_m0]
;device freescale, s9keaz128m4, pflash
;begin_cs device=$00000000, length=$00020000, ram=$20000000
Loading programming algorithm ...
WARNING - Selected .ARP file has been modified. CRC16 = $2AD1
Done.
CMD>VC
Command is inactive for this .ARP file.
CMD>EM
Command is inactive for this .ARP file.
Error Erasing flash of device
Error occured during Flash programming.
Best regards,
Sarah
Solved! Go to Solution.
This is because that the SBC UJA1167 on my board is in relaease mode when I debug.
After I reset the SBC enter into forced normal mode, the download is OK.
• pin RSTN is held LOW
• CANH is pulled up to VBAT
• CANL is pulled down to GND
Above actions for 1~2s can make a SBC system reset.
This is because that the SBC UJA1167 on my board is in relaease mode when I debug.
After I reset the SBC enter into forced normal mode, the download is OK.
• pin RSTN is held LOW
• CANH is pulled up to VBAT
• CANL is pulled down to GND
Above actions for 1~2s can make a SBC system reset.
Hello @w_lingjun,
That's strange, the error log mention that the arp file (programming algorithm) was modified. Also, I see that you're using the S32DS 2.0 version, I will suggest updating your IDE version to the 2.2 (link).
Best Regards,
Alexis Andalon
Hi Alexis,
Thank you very much for your reply.
Actually, I have uninstalled S32DS_ARM_v2.0 and install S32DS_ARM_v2018.R1, but still exist the error, the log as below. Today, I will try to update S32DS_ARM_v2.2 and test it.
I didn't modify the arp file, and I check the modified time is 2017/8/8, it is very strange.
Connection from "127.0.0.1" via 127.0.0.1
Connection from "127.0.0.1" via 127.0.0.1
PE-ERROR: Warning. Can't read registers while part is running.
PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes)
PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes)
PE-ERROR: Warning. Can't read registers while part is running.
PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes)
PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes)
Telnet server running on 127.0.0.1:51794
Searching for FreeRTOS Kernel Symbols...
pxCurrentTCB not found. FreeRTOS analysis not enabled.
PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes)
Copyright 2017 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_ARM_v2018.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_3.5.6.201805161649\win32\pegdbserver_console -device=NXP_KEx_S9KEAZ128M4 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=500?
CMD>RE
Initializing.
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS_ARM_v2018.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_3.5.6.201805161649\win32\gdi\P&E\supportFiles_ARM\NXP\KEx\freescale_s9keaz128m4_pflash.arp
Initializing.
Initialized.
;version 1.03, 06/02/2014, Copyright 2014 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [ke_128k_pflash_ftmre_m0]
;device freescale, s9keaz128m4, pflash
;begin_cs device=$00000000, length=$00020000, ram=$20000000
Loading programming algorithm ...
WARNING - Selected .ARP file has been modified. CRC16 = $2AD1
Done.
Programming sequency is : erase, blank check, program, and verify {default}
CMD>VC
Command is inactive for this .ARP file.
CMD>EM
Command is inactive for this .ARP file.
Error Erasing flash of device
Error occured during Flash programming.
Best regards,
Sarah