chipKIT® Development Platform

Inspired by Arduino™

How to import 3000 instructions into a program?

Created Thu, 13 Aug 2015 20:08:18 +0000 by JackZ


JackZ

Thu, 13 Aug 2015 20:08:18 +0000

Hi,

I have a question about importing 3000 lines of data into serial terminal. Can someone help me with it? Thank you!

Now I am running a program that takes input from serial terminal to set up. For example I need to write “set 0 8 44” and hit “enter” to set up the first instruction, then set up the next instruction in the same way.

The problem is that I have more than 3000 instructions to input, and all the instructions are generated by another program.

I wonder whether or not there is a quick way to transport all the data generated by another program into MPIDE serial terminal automatically?

Thanks, Jack


majenko

Thu, 13 Aug 2015 20:30:34 +0000

No, there isn't. MPIDE's serial monitor is incredibly simplistic and is barely usable at the best of times ;)

But then you don't need to use MPIDE's serial monitor.

Pick another, fully featured, serial terminal program and use that. Most will have an "Upload ASCII" or similar option.

For Windows I use Teraterm. For Linux I use Minicom. I'm not sure what's available for OS X.


JackZ

Thu, 13 Aug 2015 20:52:59 +0000

No, there isn't. MPIDE's serial monitor is incredibly simplistic and is barely usable at the best of times ;) But then you don't need to use MPIDE's serial monitor. Pick another, fully featured, serial terminal program and use that. Most will have an "Upload ASCII" or similar option. For Windows I use Teraterm. For Linux I use Minicom. I'm not sure what's available for OS X.

I see. Thank you! :)


JackZ

Fri, 14 Aug 2015 14:31:59 +0000

No, there isn't. MPIDE's serial monitor is incredibly simplistic and is barely usable at the best of times ;) But then you don't need to use MPIDE's serial monitor. Pick another, fully featured, serial terminal program and use that. Most will have an "Upload ASCII" or similar option. For Windows I use Teraterm. For Linux I use Minicom. I'm not sure what's available for OS X.

Hi Majenko,

Would you introduce me some tutorials for Tera Term please? Those that I have found are too simplified and I found that I could not input anything into the Serial Port of Tera Term. Also I have no idea how to connect it to MPIDE or LabVIEW. Is there some tutorials available online teaching me how to do so please?

Thanks, Jack


majenko

Fri, 14 Aug 2015 15:32:28 +0000

It's not exactly a difficult thing to use. Especially when you understand what it actually is.

You do not "connect" it to anything like MPIDE or Labview - you simply load Teraterm then select your serial port and baud rate, and interact with your chipKIT board.

It is completely separate from MPIDE and has nothing whatsoever to do with it.


JackZ

Fri, 14 Aug 2015 15:58:04 +0000

It's not exactly a difficult thing to use. Especially when you understand what it actually is. You do not "connect" it to anything like MPIDE or Labview - you simply load Teraterm then select your serial port and baud rate, and interact with your chipKIT board. It is completely separate from MPIDE and has nothing whatsoever to do with it.

Oh I see. That makes sense now. Thanks!