blue minerals 0 Posted November 6, 2014 Share Posted November 6, 2014 I have 5 tiva launchpads connected to a 7 port usb hub. I can select the com port in the Energia IDE but when programming, the IDE "says Found multiple ICDI devices with serial : " and gives up. Is there any way to program the launchpads through the hub? Quote Link to post Share on other sites
Lyon 3 Posted November 6, 2014 Share Posted November 6, 2014 Hi, I think the technique is/should be a little bit different - most users/brands uses JTAG chaining for such purposes, and a special PC software, since each micro can be in a different state (i.e.OK, running or Error or...). See this link: http://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/t/123310.aspx for a small discussion. L Quote Link to post Share on other sites
SixSixSevenSeven 23 Posted November 9, 2014 Share Posted November 9, 2014 Energia does not actually use the com port for programming, it makes no impact on programming. Quote Link to post Share on other sites
Rickta59 589 Posted November 11, 2014 Share Posted November 11, 2014 on the command line you can run the lm4flash by hand and pick a specific lm4f board. On linux it is something like this: 1.) find the serial numbers of the launchpads 2.) build your energia project to get a bin file 3.) provide the launchpad serial number to the lmf4flash utility with the -s option 1.) To find the serial numbers on linux use: # lsusb -d 1cbe:00fd -v | grep iSerial iSerial 3 0E1011CF * I only had one stellaris launchpd device plugged in. Note: the tiva lp vid/pid might be the same or different 2.) Go to the /tmp/buildxxx directory and find the bin file $ cd /tmp/buildxxsomethingxx.tmp 3.) Invoke the lm4flash with a serial number $ lm4flash -s 0E1011CF BlinkWithoutDelay.cpp.bin Found ICDI device with serial: 0E1011CF ICDI version: 9270 You can do something similar on window but I don't have that setup. Note: all the commands assume you have udev already working and you put the energia tools in your path. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.