energia / msp430-lg-core

15 stars 12 forks source link

Unable to load sketch to MSP430G2553-ET with wrong MSP430G2553 selected #121

Closed gmagannaDevelop closed 4 years ago

gmagannaDevelop commented 4 years ago

I'm trying to use a 16×2 Dot matrix LCD display with my MSP430G2553 launchpad, but Energia seems to be unable to upload the sketch.

  1. I'm using this version of Energia : image

  2. On a mid-2012 MacBook Pro running macOS Mojave. image

  3. I've correctly selected the board model : image

  4. I've tried both USB ports : image

It seems to compile successfully, but is not able to load the sketch. image

I've been looking for a solution, but most solved problems regarding the error

usbutil: unable to find a device matching 0451:f432

have occurred on Windows platforms.

gmagannaDevelop commented 4 years ago

Is there a change to get any sort of feedback ? I can't currently test my sketches due to this issue. I installed the kext as ex plained in https://energia.nu/guide/install/macos/

rei-vilo commented 4 years ago

No problem on my side with macOS 10.15.1 Catalina. The only warning during installation is Catalina complains about the driver being obsolete. Just ignore the message.

Plugging-in a MSP430G2553 first generation LaunchPad and launching ls /dev/tty.* list the serial port /dev/tty.uart-19FF427A4D19210C.

% ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port    /dev/tty.uart-19FF427A4D19210C

Similarly, both uploading with mspdebug...

/Users/ReiVilo/Library/Energia15/packages/energia/tools/mspdebug/0.24/mspdebug rf2500 --force-reset "prog /Users/ReiVilo/Library/Developer/Xcode/DerivedData/embed1-fykzaoosymfojzbkmxucgqqixhyu/Build/Products/Debug/embeddedcomputing.hex"

...and using screen for serial console...

% screen /dev/tty.uart-19FF427A4D19210C

...work fine on my side.

gmagannaDevelop commented 4 years ago

I found out the selected board model was wrong, I'm terribly sorry. Nevertheless, I still have some problems loading my sketches : image

I don't understand why I see two ports :

$ ls /dev/tty.usb*                                
/dev/tty.usbmodem14201 /dev/tty.usbmodem14203  
rei-vilo commented 4 years ago

See XDS110 Debug Probe

Enhanced and auxiliary debug communications – Support for trace capture through ARM serial wire output (SWO) – UART mode only – Support for UART communications to and from the target system

StefanSch commented 4 years ago

Or more from the MSP430 side: