Hi guys I have a MSP430f2012. I will be using it to collect and store an analog signal.
Here's the basic operation.
Read analog signal
Do ADC conversion
Store ADC somewhere in memory
Repeat and overwrite for long period of time
After say couple days I want to access that memory address and read the value using Terra Term or the likes...I want to use something simple but don't know where to begin.
Hi guys I have a MSP430f2012. I will be using it to collect and store an analog signal.
Here's the basic operation.
Read analog signal
Do ADC conversion
Store ADC somewhere in memory
Repeat and overwrite for long period of time
After say couple days I want to access that memory address and read the value using Terra Term or the likes...I want to use something simple but don't know where to begin.
But, the logic behind your wish is errornous. You cannot read CPU ram location value using telnet client! What are you trying to do, maybe we can brainstorm your task!
But, the logic behind your wish is errornous. You cannot read CPU ram location value using telnet client! What are you trying to do, maybe we can brainstorm your task!
Ok. Forget telnet or ssh. I have data saved in memory...all I want to do is read that memory bank to see what is the value in it...basically how can I probe that memory bank.
Well, you need circular buffer (array) to store adc conversion value in it. Once you come to the end of array, you overwrite the 0th element, increase index and this you are iterating as long as adc conversion goes on! This array is stored in msp430's working ram and this is how you write/read values. Once you have filled this buffer, you can send this data via tcp/ip to some other station ...
Your drawing doesn't explain much.
You were talking about teraterm, so I will suppose that you have:
- An MSP430 board sampling something and putting it in some memory location
- A serial port interface (using a MAXIM or Intersil 3232 chip)
- A PC running teraterm.
- An USB/Serial adapter (or possibly an old PC with a serial port)
Now what you need to do is to establish a serial port on your MSP430. There is a lot of code for the 2012.
BUT : the 2012 has only 2K of flash and 128 bytes of RAM. I guess the only thing you can do is to sample,
send, sample, send, etc... That should be feasible. The advantage here is that since the flash is only 2K,
you can use the free IAR kickstart (a name like that).