EDN Admin
Well-known member
Hi there,
Hope im posting in the correct place! I am making an EEPROM IC programmer which uses a VB.Net program to compile the data I need to write to the IC through a micro controller. I have to use a micro controller to handle the data and write it over I2C but it can only handle receiving 64 bytes at a time. The data I need to send is as follows, the eeprom page location then a comma then the actual data.
0,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12345 64,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12346 128,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12347 192,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12348 256,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12349 320,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12350 384,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12351
...continued...
My problem is, how do I send one line at a time to my EEPROM via COM port? I have no problem sending a text file completely as I did a loop back test and had the data load into a terminal session, so how would I "slow" down the data transmission to one line at a time until the end is reached? I am thinking to have a "check" from my micro controller to send a command to my vb.net program to confirm the writing to my eeprom has been completed.
Finding this very hard and have no idea how to get started, so some code snippets would be fabulous. I hope Ive explained this properly, if not just ask me to clarify!
Looking forward to get some ideas back from you geniuses!
View the full article
Hope im posting in the correct place! I am making an EEPROM IC programmer which uses a VB.Net program to compile the data I need to write to the IC through a micro controller. I have to use a micro controller to handle the data and write it over I2C but it can only handle receiving 64 bytes at a time. The data I need to send is as follows, the eeprom page location then a comma then the actual data.
0,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12345 64,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12346 128,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12347 192,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12348 256,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12349 320,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12350 384,ABCDEFGHIJKLMNOPQRSTUVWXYZ123454 ABCDEFGHIJKLMNOPQRSTUVWXYZ12351
...continued...
My problem is, how do I send one line at a time to my EEPROM via COM port? I have no problem sending a text file completely as I did a loop back test and had the data load into a terminal session, so how would I "slow" down the data transmission to one line at a time until the end is reached? I am thinking to have a "check" from my micro controller to send a command to my vb.net program to confirm the writing to my eeprom has been completed.
Finding this very hard and have no idea how to get started, so some code snippets would be fabulous. I hope Ive explained this properly, if not just ask me to clarify!
Looking forward to get some ideas back from you geniuses!
View the full article