Search found 7 matches

by javok
23 Jan 2007 22:27
Forum: mikroC General
Topic: Possible problen between USART and Soft_I2c
Replies: 1
Views: 1517

Possible problen between USART and Soft_I2c

Hi, I'd like to wotk with both, USART and Soft_i2c because I need to write into a memory some data received from a PC. I'm using a 16F628A, a MAX232 and a PC (serial port). If I try this code, everything works fine: void interrupt(){ if (PIR1.RCIF=1){ // usart interruption receive_flag=1; PIR1.RCIF=...
by javok
22 Jan 2007 20:40
Forum: mikroC General
Topic: How do I put a NOP instruction on the ORG 0x000
Replies: 2
Views: 1721

How do I put a NOP instruction on the ORG 0x000

Hi, how do I put a NOP in the address 0x000?
Because Reading the manual for the PicStart+, it shows: "• PICSTART Plus Limitations for PIC16F87X/87XA
First program memory location (address 0x0000) must be a NOP instruction."

But I don't know how to do it programming in C.

THX in advance
by javok
18 Jan 2007 10:27
Forum: mikroC General
Topic: Big problem with I2C
Replies: 2
Views: 2935

Thanks for the answer. As I read in the post you gave me, no matter what if the Mikroc shows me the message "Source file not found (name.c)." the function works fine?? is that message only for debuggin step into (F7)?? Another question: I'm working with the I2C also, but I don't know why when I tri ...
by javok
17 Jan 2007 20:23
Forum: mikroC General
Topic: Big problem with I2C
Replies: 2
Views: 2935

Big problem with I2C

Hi, I have serious problems with I2C library. I'm using a 16F873 and a 24LC32A from Microchip. I've trying the Mikroc 6.2.1.0. When I try to test my prog with the Debugger, when any instruction of I2C (I2C_init, I2C_Start, etc..) the debugger shows me this error: Source File not found (I2C_c34.c). W...
by javok
27 Dec 2006 00:31
Forum: mikroBasic for dsPIC30/33 and PIC24 Wish List
Topic: Add support for debugging under MPLAB
Replies: 5
Views: 12053

Why I cannot import an .hex file to the mplab??
When I try to import a .hex, the mpllab shows: The format of the file "root\name.hex" can not be read or written because its extension was not recognized
by javok
23 Nov 2006 22:03
Forum: mikroC General
Topic: interrupt - jump from interrupt
Replies: 4
Views: 2521

I know that you can change registers in the Watch Window but I ment in the program it self, when the program is running alone in the PIC, how you can do to return or jump from the interrupt not to the same please where the interrupt happens??
by javok
20 Nov 2006 23:22
Forum: mikroC General
Topic: interrupt - jump from interrupt
Replies: 4
Views: 2521

Hi, I've a similar question. I've a program that flows normaly. I have an external device that needs to interrupt that program AND is priority 1. How can I make my program to go to another place in the code when finishing the interrupt??? I don't need to return to the place in the code before interr...

Go to advanced search