Other Parts Discussed in Thread: MSP-FET, CODECOMPOSER, UNIFLASH
I am using Linux Mint 18.3 64 bit, and an MSP-FET.
I was using version 5.0.0.25 with the ia32 package installed (to provide 32 bit support).
After upgrading to 5.1.1.0 (64 bit) I noticed the following:
- gdb_agent_console was not marked as executable.
- After a clean build, and after the MSP-FET had successfully updated its firmware, the following happens when I attempt to load any code via msp430-elf-gdb:
Current directory: /home/arw/workspace/Software/C/IMU9/build/
Command: msp430-elf-gdb -x gdb.cmd /home/arw/workspace/Software/C/IMU9/build/imu9.out
set annotate 1
GNU gdb (SOMNIUM Technologies Limited - msp430-gcc 6.4.0.32) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-redhat-linux --target=msp430-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<www.gnu.org/.../>.
Find the GDB manual and other documentation resources online at:
<www.gnu.org/.../>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/arw/workspace/Software/C/IMU9/build/imu9.out...done.
(gdb) load a.out
Loading section .rodata, size 0x1740 lma 0x5c00
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
The console in which gdb_agent_console is running has this output:
CPU Name Port
-------- ----
MSP430 :55000
Starting all cores
CPU Name Status
-------- ------
MSP430 Waiting for client
MSP430 Client connected...Connecting to Target
Found USB FET at ttyACM0
Target connected...Starting server
Unexpected character received waiting for command: -
Unexpected character received waiting for command: -
Unexpected character received waiting for command: -
Unexpected character received waiting for command: -
Unexpected character received waiting for command: -
Unexpected character received waiting for command: -
Received only partial command
Received only partial command
Received only partial command
Received only partial command
Received only partial command
Received only partial command
Received only partial command
I was wondering if anyone else has experienced this sort of behaviour and has any suggestions?