Hi !
So I modified my program inspiring from your code and it seems to work very well !
Thanks
Search found 22 matches
- 26 Sep 2014 13:54
- Forum: mikroC PRO for PIC General
- Topic: USB HID Library - Status of the USB HID connection
- Replies: 3
- Views: 2191
- 22 Sep 2014 09:05
- Forum: mikroC PRO for PIC General
- Topic: USB HID Library - Status of the USB HID connection
- Replies: 3
- Views: 2191
Re: USB HID Library - Status of the USB HID connection
Hi ! Thank you for your answer ! So I noticed your algorithm is something like : - HID_Enable - try HID_Write - If fail : HID_Disable, then return to HID_Enable, try HID_Write... In mine, I just do HID_Enable() once, in the very top of my program, and then try and retry HID_Write to get return value...
- 21 Sep 2014 21:50
- Forum: mikroC PRO for PIC General
- Topic: USB HID Library - Status of the USB HID connection
- Replies: 3
- Views: 2191
USB HID Library - Status of the USB HID connection
Hi there ! I'm currently working on a project with PIC 18F2550 in which I need to check the USB HID status but I can't find how I can do that. The project must be able to run "alone" (without PC), or connected to a PC over USB for configuration and advanced features. My problem is how to have the in...
- 16 Oct 2013 22:30
- Forum: mikroC PRO for PIC General
- Topic: Problems using SD/MMC Library with 18F4550
- Replies: 20
- Views: 6282
Re: Problems using SD/MMC Library with 18F4550
Hi ! Thanks for your answers ! So, Milos, I tried your code and that is what happens : - If SD card is plugged in, none of the Leds glows. - If SD card isn't plugged, led2 glows... So I think it is stuck in MMC_ fat_init ()... I checked timings of the uC and for a test with LEDS using delay_ms () ro...
- 10 Oct 2013 18:45
- Forum: mikroC PRO for PIC General
- Topic: Problems using SD/MMC Library with 18F4550
- Replies: 20
- Views: 6282
Re: Problems using SD/MMC Library with 18F4550
Hi ! Yes, my SD card is powered in 3.3 V, using three diodes in series from the 5V, I checked the Vcc pin of the SD and it is 3.23V. Off couse, lines from the PIC connected to the SD are dropped to 3.3V using resistors. I recently added a 10k pull-up resistor on the output pin of the SD and now Mmc_...
- 09 Oct 2013 18:02
- Forum: mikroC PRO for PIC General
- Topic: Problems using SD/MMC Library with 18F4550
- Replies: 20
- Views: 6282
Re: Problems using SD/MMC Library with 18F4550
Hi !
Thanks for your answer !
So here's the complete project (attached *.zip file).
Hope you'll be able to help me, I think it's an issue from me, because MikroC Compilers is used to work nice ^^
Thanks !!
Thanks for your answer !
So here's the complete project (attached *.zip file).
Hope you'll be able to help me, I think it's an issue from me, because MikroC Compilers is used to work nice ^^
Thanks !!
- 30 Sep 2013 14:22
- Forum: mikroC PRO for PIC General
- Topic: Problems using SD/MMC Library with 18F4550
- Replies: 20
- Views: 6282
Re: Problems using SD/MMC Library with 18F4550
Thanks for your answer, milos, The card used for my tests is a 2GB SanDisk MicroSD. I checked in the datasheet if it supports SPI : all right. So it is formatted in FAT 16 using Windows 7. But even if it was a formatting problem, won't Mmc_format () routine format it as it wants it to be ? I'll try ...
- 30 Sep 2013 12:10
- Forum: mikroC PRO for PIC General
- Topic: Problems using SD/MMC Library with 18F4550
- Replies: 20
- Views: 6282
Re: Problems using SD/MMC Library with 18F4550
Hi !
I'm wondering something : maybe SPI needs the use of an external clock source ? I'm using int osc.
Has someone ever tried SPI or MMC/SD Card with PIC 18F4550 ?
Regards,
dadoubou
I'm wondering something : maybe SPI needs the use of an external clock source ? I'm using int osc.
Has someone ever tried SPI or MMC/SD Card with PIC 18F4550 ?
Regards,
dadoubou
- 27 Sep 2013 08:08
- Forum: mikroC PRO for PIC General
- Topic: Problems using SD/MMC Library with 18F4550
- Replies: 20
- Views: 6282
Re: Problems using SD/MMC Library with 18F4550
Hello ! Thanks for your answers ! I tried what you said, changing RB7_bit into LATB7_bit and then I programmed... Still the same... It seems to stay stuck into Mmc_Fat_Init() routine. I also tried just Mmc_Init() routine but I've got the same issue.. Here I give you a screenshot of my project settin...
- 25 Sep 2013 21:58
- Forum: mikroC PRO for PIC General
- Topic: Problems using SD/MMC Library with 18F4550
- Replies: 20
- Views: 6282
Problems using SD/MMC Library with 18F4550
Hi ! I'm on a project that needs my 18F4550 to communicate with an SD Card using SPI so I tried MikroC SD/MMC Libraries but I can't get it work. The problem is that my PIC goes to Mmc_Init() routines but seems to get stuck in there. In explaination, I made a simple code to try it : It uses two LEDs....
- 22 Sep 2013 15:48
- Forum: mikroProg™ programmer and debugger
- Topic: PIC 18F45K50 - Which tool to program ?
- Replies: 7
- Views: 3641
Re: PIC 18F45K50 - Which tool to program ?
Thanks for your answers !
Toley, your screenshot is quite interesting )
I've already seen topics explaining that EasyPIC6 is not hardware compatible with K-series, yes..
Ok, so let's wait for Monday to have a MikroE Team answer !
see you,
dadoubou
Toley, your screenshot is quite interesting )
I've already seen topics explaining that EasyPIC6 is not hardware compatible with K-series, yes..
Ok, so let's wait for Monday to have a MikroE Team answer !
see you,
dadoubou
- 22 Sep 2013 10:09
- Forum: mikroProg™ programmer and debugger
- Topic: PIC 18F45K50 - Which tool to program ?
- Replies: 7
- Views: 3641
Re: PIC 18F45K50 - Which tool to program ?
Thanks for your answer,
I hope you're right
Is there a MikroE team member to confirm that, please ?
Have a good day !
I hope you're right
Is there a MikroE team member to confirm that, please ?
Have a good day !
- 20 Sep 2013 19:14
- Forum: mikroProg™ programmer and debugger
- Topic: PIC 18F45K50 - Which tool to program ?
- Replies: 7
- Views: 3641
PIC 18F45K50 - Which tool to program ?
Hi there ! I'm starting a project using a 18F45K50 as µC, I already bought some of these to make some tests, thinking my EasyPIC6 will program it but it CAN'T !! So I thought EasyPIC v7 or MikroProg could program it but it seems not to be truth, so could you tell me if there is a MikroE solution to ...
- 23 Jan 2013 13:16
- Forum: mikroC PRO for PIC General
- Topic: Problem trying HID Read/Write Example
- Replies: 8
- Views: 5214
Re: Problem trying HID Read/Write Example
After some tries, It seems that it also works with the '64's...
Strange behaviors those PICs ^^
Strange behaviors those PICs ^^
- 22 Jan 2013 15:38
- Forum: mikroC PRO for PIC General
- Topic: Problem trying HID Read/Write Example
- Replies: 8
- Views: 5214
Re: Problem trying HID Read/Write Example
Problem seems to be solved ! I just replaced each '64' with an '8' in the example and in the 'USBdc.c', and I set 480h to 488h for the USB RAM adresses. So the example looks like this to work with a 18F2450 : unsigned char readbuff[8] absolute 0x480; // Buffers should be in USB RAM, please consult d...