how to resolve the debug error??

cancel
Showing results for 
Search instead for 
Did you mean: 

how to resolve the debug error??

375 Views
varun_kumar
Contributor II

Hi,

I am not able to debug

getting the following error..

gdbserver  :2345 /vsdk/ISP_Test_application.elf;exit
-sh: gdbserver: not found

please help me out soon..

Thanks in advance.

8 Replies

137 Views
varun_kumar
Contributor II

at present it is showing these error

Error during file upload.
Could not write file: /home/developer/workspace/ISP_Test_application/A53/ISP_Test_application.elf.
Read-only file system
Could not write file: /home/developer/workspace/ISP_Test_application/A53/ISP_Test_application.elf.
Could not write file: /home/developer/workspace/ISP_Test_application/A53/ISP_Test_application.elf.
Read-only file system

0 Kudos

137 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

Um, this is strange error. So - what's is your debug scenario? 

Typical remote debug scenario for S32DS for Vision - Linux target is: 

- Host PC with installed S32DS for Vision v2.0 (doesn't matter if host PC is running under Windows or Linux)

- Linux OS running on target EVB  - ideally OS image which is part of S32DS for Vision v2.0 

- Network connection between host PC and Target machine 

Jiri 

0 Kudos

137 Views
varun_kumar
Contributor II

find the image below, and please let me what is the problemdebug config.pnggdb could not start.png

0 Kudos

137 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

Make sure that you are running linux on your EVB. If everything is okay - check if gdbserver is present on your EVB - simply login to your EVB and try to run gdbserver --version . You should see something like this: 

pastedImage_1.png

Jiri

137 Views
varun_kumar
Contributor II

there is no gdbsever on the target, so I should also install gdb on the target??

0 Kudos

137 Views
jiri_kral
NXP Employee
NXP Employee

Official OS Image already contains gdbserver. In my opinion better idea is prepare new SD card with official OS image. Here is guide: 

https://community.nxp.com/docs/DOC-335023 

Hope it helps. 

Jiri 

137 Views
varun_kumar
Contributor II

at present is showing this

Error during file upload.
Could not write file: /home/developer/workspace/ISP_Test_application/A53/ISP_Test_application.elf.
Read-only file system
Could not write file: /home/developer/workspace/ISP_Test_application/A53/ISP_Test_application.elf.
Could not write file: /home/developer/workspace/ISP_Test_application/A53/ISP_Test_application.elf.
Read-only file system

0 Kudos

137 Views
varun_kumar
Contributor II

at present it is showing

Error during file upload.
Could not write file: /home/developer/workspace/ISP_Test_application/A53/ISP_Test_application.elf.
Read-only file system
Could not write file: /home/developer/workspace/ISP_Test_application/A53/ISP_Test_application.elf.
Could not write file: /home/developer/workspace/ISP_Test_application/A53/ISP_Test_application.elf.
Read-only file system

0 Kudos