Welcome to our site! EDAboard.com is an international Electronics 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.
Yes. but no issue with WP.
Anyway thanks a lot. I just solved the problem :). What i did is change the device (EEPROM). Even for the previous 1 , i could write to second block correctly. So may be an issue with that chip.
ya. it is the address 0xFFFF. Anyway i still cudnt solve the problem. Ar there any control bits that i need to change. ( I read both data sheets. but could not find) Here is my code
unsigned char eeprom_page_write(unsigned char addressH,unsigned char addressL, unsigned char data[],int length)...
I'm using 24LC1026 EEPROM and Atmega2560 microcontroller. I can successfully write 1 byte to EEPROM. The datasheet(EEPROM"S) says it can write 128 bytes in "page write" . But when i used page write , i can write only first 6 bytes succcessfully. After that no data is written.
Atmel 2560...
Dear vinodstanur,
Did u solve the question? I too want to convert int value to a string. But when I did it in Hi Tech C cannot compile it even. pls reply.
RuneHansen,
What you are telling is also correct , i think. Thanx for replying.
I solved the problem by unticking the "CKDIV8" fuse bit. I was using the internal oscillator of the micro controller which is 8MHz. When "CKDIV8" is programmed it is divided by 8. But when i untik it i culd get...
I write a program to set the time of DS1337. Then read the time. But when read even after several minutes , the time is not changed. I'm using AVR studio 5 and gcc compiler.
What are the possible errors of not changing the time. Further I set OSF and EOSC bits in DS1337. But nothing happend.
I wrote a code for communication with Atmega2560 and a PC. My program is when the microcontroller ransmit a character
(say 65) it should be read using hyperterminal.
But in hyperterminal i just get some garbage characters. pls help me.
Dear netsearcher,
Were u successful in you project? I too want to develop a similar kind of application using inductive loops. As I'm very new to this field , could you pls help me with circuit diagrams and other information?
Can anyone suggest me a good reference for " types of connectors available in sensors" and why connectors play such an important role when selecting a sensor" ?
Hello,
I want to interface Ezurio BISM2 bluetooth module with PIC16F877A. I'm using Hi-tech c compiler and writes code in Mplab using c.
As the BT device is operating in Multipoint mode , I think I cannot program it using AT commands. ( If it's possible , pls let me know how)
Does anyone have...
Hi,
I want to access serial port of a PC using "UART" in pic16f877a . I'm using MPLAB and want to write my code in C. i'm using Hi-tech C as the compiler.
Can any one pls send me the needed libraries and just a sample code for "transmiting a letter('A') to a PC using PIC?
But I'm including " #include "usart.h" " also . "getch()" and "putch()" are defined there. Any idea??????
Added after 1 hours 55 minutes:
hello waseem ,
I modified the code as you said, But the problem still remains. Any idea?
#include <stdio.h>
#include <htc.h>
#include "usart.h"...
I hav written a code in MPLAB and compiled it usin Hitech C. Though I searched internet also I couln't find the solution. attached here is my code and the error message.
Anybody pls help me ASAP.
#include <stdio.h>
#include <htc.h>
#include "usart.h"
/* A simple demonstration of serial...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.