Fred 453 Posted July 11, 2016 Share Posted July 11, 2016 An odd question, but does anyone know what the easiest debugger would be to use on a LM3S9997?I recently upgraded my Tado thermostat to the newer version, leaving me with an unused v1.0. As I mentioned here, the components contain MSP430 and LM3S microcontrollers linked with CC1101s. The manufacturer seems to have left some nice (unpopulated) debug headers so it would be rude not to hack or repurpose it. The base unit looks like an ideal candidate for something a 6LoWPAN edge router for a CC1310 network. Anyway, I stuck a standard 0.05" pitch 10-pin ARM JTAG header on there and hooked it up to the nicely broken-out XDS110 debugger on my CC2650 Launchpad. Powered up, but "no device found" in LM Flash Programmer. Does anyone know if the XDS110 and LM3S9997 would be expected to work together? Another option I'm considering is using the more age-appropriate Stellaris Launchpad's ICDI debugger. Unfortunately it looks like some board butchery would be needed to separate it from the on-board target device. Any old timers familiar with the LM3S to give me any tips? I have checked the LM3S datasheet but it seems light on debugger details. Quote Link to post Share on other sites
bluehash 1,581 Posted July 12, 2016 Share Posted July 12, 2016 Hi Fred, I have some JTAGs left over from fome old Stellaris kits.. It looked something like this: https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/471/3060.BD_2D00_ICDI_2D00_B.JPG I can send one over if you send me your address. Quote Link to post Share on other sites
Fred 453 Posted July 12, 2016 Author Share Posted July 12, 2016 @@bluehash That's very kind of you. I'll have another go at getting the XDS110 to work tonight before taking you up on the offer. Quote Link to post Share on other sites
Fred 453 Posted July 13, 2016 Author Share Posted July 13, 2016 Well, the XDS110 wasn't going to do it. LM Flash Programmer can't even see the XDS110, never mind the LM3S. However, I have managed to get the Stellaris Launchpad's ICDI working. All I needed was to remove a jumper to disconnect the power to the target device and a slightly awkward soldering job on a small pitch ribbon cable. I didn't have to disconnect the Launchpad's target device, just power it down. Many thanks for the kind offer though, @@bluehash. That looks like a perfect solution, but not really worth the hassle and expense of posting it across the Atlantic. A small bit of info on getting it working here. I intend to do more when I get the chance. https://0xfred.wordpress.com/2016/07/13/hacking-the-tado-part-1/ bluehash and yyrkoon 2 Quote Link to post Share on other sites
bluehash 1,581 Posted July 13, 2016 Share Posted July 13, 2016 Thanks great! Happy hacking. Quote Link to post Share on other sites
spirilis 1,265 Posted July 13, 2016 Share Posted July 13, 2016 I suspect the XDS110's use of SWD (2-wire JTAG) over 4-wire JTAG may play a part. Stellaris/Tiva ICDI is 4W. Quote Link to post Share on other sites
yyrkoon 250 Posted July 14, 2016 Share Posted July 14, 2016 @@Fred That looks very similar to the Old LM3S6965 board we had here years ago. Is that an OLED display I see there under the launchpad ? Quote Link to post Share on other sites
Fred 453 Posted July 15, 2016 Author Share Posted July 15, 2016 No. That's just a bit of tape covering up the user name and password on the board - just in case. It's a custom commercial board with Ethernet and CC1101. 3 green LEDs. Micro USB is for power. Not sure about the type A jack yet. The big question is if I can get Contiki running on an old board that was never officially supported. I'm sure it's possible but will I manage it amongst the queue of other interesting things to do? Quote Link to post Share on other sites
yyrkoon 250 Posted July 17, 2016 Share Posted July 17, 2016 No. That's just a bit of tape covering up the user name and password on the board - just in case. It's a custom commercial board with Ethernet and CC1101. 3 green LEDs. Micro USB is for power. Not sure about the type A jack yet. The big question is if I can get Contiki running on an old board that was never officially supported. I'm sure it's possible but will I manage it amongst the queue of other interesting things to do? I don't know, will you ? hehe. I'd ay that since TI likely no longer supports those processors . . . yeah is it worth it ? 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.