Problem when debugging an aplication on kds with Ubuntu 14.04 32bits

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

Problem when debugging an aplication on kds with Ubuntu 14.04 32bits

1,607 Views
claugersodre
Contributor I

I have installed the kds vs 1.1.1 on Ubuntu but when I tried to debug an aplication the kds shows that the flash programmer was in a old version but I don't know how to update it. In the next lines are the message showed in console on kds.

 

P&E GDB Server, Version 5.07.00.00

Copyright 2014, P&E Microcomputer Systems Inc, All rights reserved

 

 

Loading library /opt/Freescale/KDS_1_1_1/eclipse/plugins/com.pemicro.debug.gdbjtag.pne_1.1.2.201408071632/lin/gdi/unit_ngs_arm_internal.so ... Done.

 

 

Command line arguments: -device=KE06Z128M4 -startserver -serverport=7224 -interface=OPENSDA -speed=5000 -port=USB1 -USE_CYCLONEPRO_RELAYS=0 -FORCE_MASS_ERASE=0

Device selected is ke06z128m4

User Specified Hardware Selection : Interface=OPENSDA and Port=USB1

Connecting to target.

OpenSDA detected - Flash Version 1.14

 

 

Device is KE06Z128M4.

 

 

Mode is In-Circuit Debug.

 

 

'Kinetis' is a registered trademark of Freescale.

 

 

(C)opyright 2012, P&E Microcomputer Systems, Inc. (www.pemicro.com)

API version is 101

 

 

Server running on 127.0.0.1:7224

Connection from "127.0.0.1" via 127.0.0.1

Copyright 2012 P&E Microcomputer Systems,Inc.

Command Line :/opt/Freescale/KDS_1_1_1/eclipse/plugins/com.pemicro.debug.gdbjtag.pne_1.1.2.201408071632/lin/pegdbserver_console -device=KE06Z128M4 -startserver -serverport=7224 -interface=OPENSDA -speed=5000 -port=USB1 -USE_CYCLONEPRO_RELAYS=0 -FORCE_MAS�

 

 

CMD>RE

 

 

 

 

Initializing.

Target has been RESET and is active.

CMD>CM /opt/Freescale/KDS_1_1_1/eclipse/plugins/com.pemicro.debug.gdbjtag.pne_1.1.2.201408071632/lin/gdi/P&E/ke06z128m4_pflash_pipeline.arp

 

 

 

 

Initializing.

Error loading algorithm. This algorithm requires

 

 

      version 3.10 of the flash programmer.

 

 

      You are currently running version 3.07.00.00.

 

 

Error loading programming algorithm - load aborted.

 

 

Error occured during Flash programming.

 

 

PE-ERROR: Error downloading to the device.

Preset breakpoint encountered.

Labels (1)
0 Kudos
Reply
2 Replies

1,083 Views
Zahar
Contributor IV

Hi Clauger,

Please let me know what version of P&E plugin you are running. To find that out, you can go to Help -> About Kinetis Design Studio -> click on Installation Details button. It will then list the version number of GNU ARM PEmicro Debugging support.

We did have an issue related to an older FLASH programming .dll version under Linux, which was addressed in the latest plugin (v1.16) available for installation from P&E update site. In order to update your P&E plugin, please follow these steps:

Go to Help -> Install New Software menu

Select Pemicro - http:/www.pemicro.com/eclipse/updates from "Work with" drop down menu

Click on Pemicro Software checkbox within available software dialog and proceed with clicking on next/finished buttons as prompted during P&E service pack installation process.

Best Regards,
Zahar

P&E

0 Kudos
Reply

1,083 Views
BlackNight
NXP Employee
NXP Employee

Somehow it indeed finds an older version of the plugin on your system. I don't have it on Ubuntu, but below is what I get on Windows.

Notice that my V1.1.1 uses com.pemicro.debug.gdbjtag.pne_1.1.4.201409071615, can you check if you have that on your system?

Independently, I will ask around to check what could be wrong.

Thanks,

Erich

-------------------------------------------------------------------------------------

P&E GDB Server, Version 5.07.00.00

Copyright 2014, P&E Microcomputer Systems Inc, All rights reserved

Loading library C:\Freescale\KDS_1.1.1\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.1.4.201409071615\win32\gdi\unit_ngs_arm_internal.dll ... Done.

Command line arguments: -device=KE06Z128M4 -startserver -serverport=7224 -interface=OPENSDA -speed=5000 -port=USB1 -USE_CYCLONEPRO_RELAYS=0 -FORCE_MASS_ERASE=0

Device selected is ke06z128m4

User Specified Hardware Selection : Interface=OPENSDA and Port=USB1

Connecting to target.

OpenSDA detected - Flash Version 1.14

Device is KE06Z128M4.

Mode is In-Circuit Debug.

'Kinetis' is a registered trademark of Freescale.

(C)opyright 2012, P&E Microcomputer Systems, Inc. (www.pemicro.com)

API version is 101

Server running on 127.0.0.1:7224

Connection from "127.0.0.1" via 127.0.0.1

Copyright 2012 P&E Microcomputer Systems,Inc.

Command Line :C:\Freescale\KDS_1.1.1\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.1.4.201409071615\win32\pegdbserver_console -device=KE06Z128M4 -startserver -serverport=7224 -interface=OPENSDA -speed=5000 -port=USB1 -USE_CYCLONEPRO_RELAYS=0 -FORCE_MAS

CMD>RE

Initializing.

Target has been RESET and is active.

CMD>CM C:\Freescale\KDS_1.1.1\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.1.4.201409071615\win32\gdi\P&E\ke06z128m4_pflash_pipeline.arp

Initializing.

Initialized.

;version 1.02, 02/07/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [ke_128k_pflash_ftmre_m0]

;device freescale, ke06z128m4, desc=pflash_pipeline

;begin_cs device=$00000000, length=$00020000, ram=$20000000

Loading programming algorithm ...

Done.

CMD>EM

Erasing.

Module has been erased.

Initializing.

Initialized.

;version 1.02, 02/07/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [ke_128k_pflash_ftmre_m0]

;device freescale, ke06z128m4, desc=pflash_pipeline

;begin_cs device=$00000000, length=$00020000, ram=$20000000

Loading programming algorithm ...

Done.

CMD>PM

Programming.

Processing Object File Data ...

                              

.

Programmed.

CMD>VC

Verifying object file CRC-16 to device ranges ...

   block 00000000-000000BF ...

Ok.

   block 00000400-00000CF3 ...

Ok.

   Checksum Verification Successful. (Cumulative CRC-16=$3D37)

CMD>RE

Initializing.

Target has been RESET and is active.

Preset breakpoint encountered.

0 Kudos
Reply