jayanth.devarayanadurga
Banned
- Joined
- Dec 4, 2012
- Messages
- 4,280
- Helped
- 822
- Reputation
- 1,654
- Reaction score
- 791
- Trophy points
- 1,393
- Location
- Bangalore, India
- Activity points
- 0
I am attaching my project files. I want to know why this is behaving strangely. The problem I am facing is the data is not being written to SD card and whenever I enter some data through UART it prints "UART2 OK..." which should not happen. Only data should be written or appended to SD card if data delimiter "TX" is received within 10 characters or if characters are more than 10.
I am testing in both hardware and Proteus.
Edit: I have even fixed the two mistakes that is removed the ISR and also the semi colon at the end of if() statement but still the same problem.
The same code works fine when used with PIC18F452 (Only changes is UART1 and SPI1 are used).
I am testing in both hardware and Proteus.
Edit: I have even fixed the two mistakes that is removed the ISR and also the semi colon at the end of if() statement but still the same problem.
The same code works fine when used with PIC18F452 (Only changes is UART1 and SPI1 are used).
Attachments
Last edited: