PDA

View Full Version : EEPROM Transfert with Serial Communicator



Simon Brodeur
- 21st September 2005, 22:26
I must transfert an entire 256K I2C EEPROM to my PC. I currently use Serial Communicator included with PicBasic. My PIC send 16bit value as ASCII characters. Since I use 16bit value, I should be limited to around 16000 value. Can a terminal support that large number of value? I ask you because at around the 3/4 of transfert, the Terminal freeze, while the PIC continue to send value...

It was working well with 5000 value, but now I can't get my precious value to Excel because I record until the end of the EEPROM.

I'm also trying to make a small terminal with VisualBasic, is it a good idea? Will I have the same problem. By this, maybe I could write directly the values to a file...

Simon Brodeur

mister_e
- 21st September 2005, 23:53
mmm, interesting. What about if you do a pause sometimes to give some time to the PC to empty his buffer?

Those programs i did with VB take a X amount of bytes, proceed them, send a message to the PIC to continue dumping, then rebegin.

As now, no problem at all. Even if dumping MBs of Data.

Simon Brodeur
- 22nd September 2005, 00:46
Since I use the intrc oscillator, I'm limited to 2400 bauds. Between each value there's a 20ms of EEPROM reading. I'm sure that the computer can take that!

mister_e
- 22nd September 2005, 01:22
well try RealTerm or maybe the crap windows Hyperterminal could also work

Realterm => http://realterm.sourceforge.net/

Have a look to the following link. It explain how to use RealTerm in Excel
http://realterm.sourceforge.net/realterm_from_excel.html

Simon Brodeur
- 22nd September 2005, 02:42
thank you for the site, it will be usefull. I'll try RealTerm...

Simon Brodeur