Microsoft SQL data transfer to EEPROM

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Microsoft SQL data transfer to EEPROM

Postby PICTRAIL » Tue Aug 16, 2011 1:45 pm

Here i come again. I appreciate you all for the ever ready help.

I have a table in Ms SQL with 8 character per row. I want to transfer this data to PIC16F877A EEPROM through Visual Basic 2008.
Any resources on this would highly be appreciated. Thanks.
Btw, i'm using UART to USB communication channel.

Regards!
PICTRAIL
Apprentice
 
Posts: 40
Joined: Mon Dec 27, 2010 3:32 pm

Re: Microsoft SQL data transfer to EEPROM

Postby Brian Griffin » Tue Aug 16, 2011 2:02 pm

PICTRAIL WROTE:Here i come again. I appreciate you all for the ever ready help.

I have a table in Ms SQL with 8 character per row. I want to transfer this data to PIC16F877A EEPROM through Visual Basic 2008.
Any resources on this would highly be appreciated. Thanks.
Btw, i'm using UART to USB communication channel.

Regards!


I used excel to compile the data, and stowed it in an SPI EEPROM. Not sure whether this would work in your configuration or not though.
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: Microsoft SQL data transfer to EEPROM

Postby PICTRAIL » Tue Aug 16, 2011 2:11 pm

Kindly shed more light on the excel - Spi communication. Both receive and transmit. I'm sure it will be useful.
Thanks.
PICTRAIL
Apprentice
 
Posts: 40
Joined: Mon Dec 27, 2010 3:32 pm

Re: Microsoft SQL data transfer to EEPROM

Postby Brian Griffin » Tue Aug 16, 2011 2:18 pm

PICTRAIL WROTE:Kindly shed more light on the excel - Spi communication. Both receive and transmit. I'm sure it will be useful.
Thanks.


I used a manual method - use excel to tabulate the data, then convert into a text file with commas.

Then I programmed the EEPROM chip (SPI interface) using my Pickit2. A modification of the compiler is done, which is very tedious and not really recommended.
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: Microsoft SQL data transfer to EEPROM

Postby PICTRAIL » Tue Aug 16, 2011 2:28 pm

Oh i see... Nice concept. Pls any sample code for SPI read and write?...
PICTRAIL
Apprentice
 
Posts: 40
Joined: Mon Dec 27, 2010 3:32 pm


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 1 guest

cron