Search found 12 matches

by mikroBee
22 Jul 2023 11:34
Forum: mikroC PRO for PIC General
Topic: Pic16F18855 Timer 1 Not Working.
Replies: 4
Views: 604

Re: Pic16F18855 Timer 1 Not Working.

Ok, maybe I have overlooked something, sorry for confusion.
Anyway, you solved it. Good look.
Nico
by mikroBee
22 Jul 2023 07:19
Forum: mikroC PRO for PIC General
Topic: Pic16F18855 Timer 1 Not Working.
Replies: 4
Views: 604

Re: Pic16F18855 Timer 1 Not Working.

Hi Ian,
for the first view of your code:
check with uC datasheet if your port direction is correct. Input/Output direction I mean.

Best regards
Nico
by mikroBee
15 Apr 2022 07:17
Forum: mikroC PRO for PIC General
Topic: Mmc_Fat_Write - instable runtime?
Replies: 4
Views: 850

Re: Mmc_Fat_Write - instable runtime?

Hello Filip, ok I understand, thats a pitty. Than it would help for me if you or one of your colleague can investigate here :roll:; PIC type and MMC card module must NOT match but than I/we know if function is ok, or? Also my pleasure to other users here: if any of you have project you are using thi...
by mikroBee
08 Apr 2022 19:14
Forum: mikroC PRO for PIC General
Topic: Mmc_Fat_Write - instable runtime?
Replies: 4
Views: 850

Re: Mmc_Fat_Write - instable runtime?

Hello Filip, thanks for interest in this issue. I trimmed my code (see below) and the issue still occures. Are there any experiences with runtime values of this function e.g. with other PICs? How stable is it here? Part of my project setting: proj-setting.JPG I am open for any kind to deeper analyse...
by mikroBee
02 Apr 2022 12:21
Forum: mikroC PRO for PIC General
Topic: PIC18F46K42 Timer Inturrupt Not Working
Replies: 2
Views: 706

Re: PIC18F46K42 Timer Inturrupt Not Working

Hi Ian, I am not using your PIC but for my PIC18 the IR looks like this: /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ void interrupt() { //Timer 0 interrupt if( INTCON.TMR0IF == ACTIVE ) { LED_red_TOGGLE; TMR0L = TMR0_init; // INTCON.TMR0IF = RESET; nCnt1msCycles++; } } And...
by mikroBee
02 Apr 2022 12:02
Forum: mikroC PRO for PIC General
Topic: Help me blink this LED!
Replies: 1
Views: 522

Re: Help me blink this LED!

Hello shaydzmi, I am not familar with your PIC and its datasheet but some recommendations and ideas: - is LED working without any TMR0 usage? (strip down your code to ensure this area is working) - is Tmr0 working? (strip down your code, if you have oszi just use and output pin to control your timin...
by mikroBee
02 Apr 2022 10:55
Forum: mikroC PRO for PIC General
Topic: Mmc_Fat_Write - instable runtime?
Replies: 4
Views: 850

Mmc_Fat_Write - instable runtime?

Hi all, after checking www and this forum with no result, I am starting this thread. I prepared a dev. board with: - PIC18F46J50 (TQFP44) - 12MHz ext. clock (HS+PLL) - via SPI connected adafruit DEBO MICROSD 2 board - 4Gb intenso MicroSD HC card, Fat(16) format - mikroC PRO v7.6.0 So everything work...
by mikroBee
26 Nov 2011 11:26
Forum: mikroC PRO for PIC General
Topic: PIC18F13k50 always "unknown device"!?
Replies: 7
Views: 2126

Re: PIC18F13k50 always "unknown device"!?

Hello,

and thanks for replies.
The tipp of Durango was right. I changed oscillator to 12MHz and pc identified pic18f13k50 correctly.

Thank you very much!!

microBee
by mikroBee
19 Nov 2011 10:17
Forum: mikroC PRO for PIC General
Topic: PIC18F13k50 always "unknown device"!?
Replies: 7
Views: 2126

Re: PIC18F13k50 always "unknown device"!?

Hello Durango, thanks for your reply. I'll test it with 12MHz but it needs a little bit time, because currently I've no 12MHz crystal, but I ordered yesterday. Maybe following days janko.kaljevic or another member of mikroe-team can give a statement to your reply or my send code, too. We'll see. bes...
by mikroBee
16 Nov 2011 20:14
Forum: mikroC PRO for PIC General
Topic: PIC18F13k50 always "unknown device"!?
Replies: 7
Views: 2126

Re: PIC18F13k50 always "unknown device"!?

Hello, thanks for your interesting. Following I send you HID.c/ USBdescr.c & HID.cfg. Hoping you can find something... HID.c: unsigned char readbuff[64] absolute 0x280; unsigned char writebuff[64] absolute 0x2C0; char cnt; char kk; void main(void){ ANSEL = 0; ANSELH = 0; HID_Enable(&readbuff, &write...
by mikroBee
15 Nov 2011 19:55
Forum: mikroC PRO for PIC General
Topic: PIC18F13k50 always "unknown device"!?
Replies: 7
Views: 2126

Re: PIC18F13k50 always "unknown device"!?

No ideas, what a pity :(

Additional information: I've also tested the circuit above WITHOUT connection between
VDD and Vusb:
- Vusb only "terminated" via 330nF to GND
- VDD on Pin1 of USB-Port
I got the same result.

mikroBee
by mikroBee
12 Nov 2011 17:31
Forum: mikroC PRO for PIC General
Topic: PIC18F13k50 always "unknown device"!?
Replies: 7
Views: 2126

PIC18F13k50 always "unknown device"!?

Hello together, after nearly 2 weeks of looking for solution of the problem, I ask you in the hope, somebody can help me. I created a simple circuit with p18f13k50, programmed and tested with both *.hex of 13k50.rar inside (from another topic of this forum) but everytime I connect on laptop it is "u...

Go to advanced search