Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Send large data from PC to uC via serial port

Status
Not open for further replies.

susmimu

Junior Member level 3
Joined
Sep 5, 2012
Messages
30
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Dhaka, Bangladesh
Activity points
1,461
Dear all,
I want to send about 100KB data from my PC to a device via serial port at 9600 baud rate. I want to use ATMEGE16 / ATMEGE32. I also want to use an EEPROM of 128KB. As the memory of ATMEGE16 / ATMEGE32 is not enough to save 100KB, so When I receive data, I want to save it to the EEPROM. Please somebody help me.
Regards
Hasan
 

wp100

Advanced Member level 5
Joined
May 15, 2009
Messages
3,056
Helped
883
Reputation
1,781
Reaction score
736
Trophy points
113
Location
Prime Meridian
Activity points
0
Dear all,
I want to send about 100KB data from my PC to a device via serial port at 9600 baud rate. I want to use ATMEGE16 / ATMEGE32. I also want to use an EEPROM of 128KB. As the memory of ATMEGE16 / ATMEGE32 is not enough to save 100KB, so When I receive data, I want to save it to the EEPROM. Please somebody help me.
Regards
Hasan
Hi,

Perhaps try the Arduino as a starting point, there are many lo cost ready made boards like the UNO and a wealth of software libraries.
http://arduino.cc/en/Tutorial/SPIEEPROM
http://playground.arduino.cc/Code/I2CEEPROM
 

kgram007

Junior Member level 1
Joined
Mar 26, 2008
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Coimbatore, India
Activity points
1,386
Arduino has EEPROM and USART (serial) libraries inbuilt !! visit the arduino page for more details.
 

susmimu

Junior Member level 3
Joined
Sep 5, 2012
Messages
30
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Dhaka, Bangladesh
Activity points
1,461
Dear Jayanth
I am using mikroC PRO for AVR as compiler.

- - - Updated - - -

Dear wp100
I am not interested to use arduino
Thanks
 

Joined
Dec 4, 2012
Messages
4,294
Helped
822
Reputation
1,654
Reaction score
793
Trophy points
1,393
Location
Bangalore, India
Activity points
0
mikroC PRO AVR has built in libraries for EEPROM and USART. Do you want to use external eeprom. If yes, you can use I2C or SPI Serial eeproms.
Search for i2c eeprom code at libstock at mikroe website. Have you written the USART communication application on the PC side using vb.net, vc#, or vc++ or are you using HyperTerminal to send and receive data?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top