Search found 3854 matches
- 21 Oct 2019 19:17
- Forum: Development Boards
- Topic: PIC clicker Oscillator circuit
- Replies: 16
- Views: 4657
Re: PIC clicker Oscillator circuit
Hi, the 18F47J53 needs the following configuration settings to make USB work with a 16 Mhz crystal. The CPU clock speed is 48 Mhz. Capture21-10-2019-20.06.20.jpg Also following init code has to be added (you cal leave out the "default" lines if you want): Capture21-10-2019-20.02.13.jpg The total osc...
- 22 Sep 2019 19:24
- Forum: mikroPascal General
- Topic: Nokia 3310 Lcd Library for MikroPascal
- Replies: 4
- Views: 3849
Re: Nokia 3310 Lcd Library for MikroPascal
Hi, I have something, I do know anymore where it came from: The library: unit Nokia_3310_5110; // interface procedure InitLcd; procedure SetContrast(Contrast: byte); procedure Lcd_clr; procedure Lcd_command(command_: byte); procedure Lcd_char(data_: byte); procedure LCD_Text(var Text: string); proce...
- 09 Jun 2019 15:51
- Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
- Topic: Trying to put Dany's USB Host library to good use...
- Replies: 8
- Views: 3617
Re: Trying to put Dany's USB Host library to good use...
Hi, I am working on a more flexible HID Host library. It will be able to also handle devices with an other endpoint size than 64 (e.g. keyboards and mouses).
So, a little patience...
So, a little patience...
- 21 Apr 2019 17:50
- Forum: mikroC PRO for PIC General
- Topic: Extremely slow writing to SD Card. normal?
- Replies: 10
- Views: 3065
Re: Extremely slow writing to SD Card. normal?
Hi Jose, I did some calculations with raw writing of a sdmmc cards, see https://forum.mikroe.com/viewtopic.php?f=194&t=63554&hilit=speed&start=15#p253234 for the measurements. This means in your case: Your SPI clock speed is 62.5 Khz (4 Mhz div 64), which means your SPI writing will be 160x (10000 K...
- 12 Apr 2019 12:15
- Forum: mikroC PRO for PIC General
- Topic: Extremely slow writing to SD Card. normal?
- Replies: 10
- Views: 3065
Re: Extremely slow writing to SD Card. normal?
Hi, - do you never re-init SPI1 at high speed? - what is the MCU clock speed set in the IDE's 'edit project'? - is the SDMMC card nearly full during the test? Why do you disable also the 4x PLL? <SETTING5> <NAME>PLL x4</NAME> <DESCRIPTION>Disabled</DESCRIPTION> </SETTING5> If you re-init the SPI to ...
- 16 Mar 2019 12:04
- Forum: mikroPascal PRO for PIC32 Beta Testing
- Topic: _FLASH_ERASE value wrong
- Replies: 3
- Views: 2205
Re: _FLASH_ERASE value wrong
Hi, this problem is even older: https://forum.mikroe.com/viewtopic.php?f=172&t=56173 For PIC32MX270F there are other similar problems: https://forum.mikroe.com/viewtopic.php?f=164&t=66186&start=30 mikroe team should really spend some time fixing all these constants. :) Thanks VCC. It is indeed a pi...
- 13 Mar 2019 19:19
- Forum: mikroPascal PRO for PIC32 Beta Testing
- Topic: _FLASH_ERASE value wrong
- Replies: 3
- Views: 2205
_FLASH_ERASE value wrong
Hi, the _FLASH_ERASE value, defined in the FLASH library seems to be wrong for some PIC32 types (e.g. in my case the P32MX250F128B). They have a flash erase block size of 1KB in stead of 4 kB (e.g. for the P32MX795F512L). Extract from the P32MX250F128B datasheet: Note: The Flash page size on PIC32MX...
- 13 Mar 2019 17:11
- Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
- Topic: Trying to put Dany's USB Host library to good use...
- Replies: 8
- Views: 3617
Re: Trying to put Dany's USB Host library to good use...
okay, so what kind of HID device am I supposed to connect in order to at least see USB_HID_Device_Ready boolean set to TRUE? Hi, I do not know it there are any "generic" USB devices commericially available (I doubt it), you will have to make one yourself (with e.g. a PIC). In the mE USB HID device ...
- 13 Mar 2019 16:56
- Forum: mikroPascal PRO for PIC32 General
- Topic: Not enough ROM space with OrgAll
- Replies: 2
- Views: 1990
Re: Not enough ROM space with OrgAll
Am I the only one in this case?
Added: This post is partly related to this one: viewtopic.php?f=164&t=66186&start=15
Added: This post is partly related to this one: viewtopic.php?f=164&t=66186&start=15
- 11 Mar 2019 20:36
- Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
- Topic: Trying to put Dany's USB Host library to good use...
- Replies: 8
- Views: 3617
Re: Trying to put Dany's USB Host library to good use...
Hello to everyone. I'm trying to make some initial experiments to build a minimal USB Host system, HID device only, based on a PIC24FJ64GB002. I installed the PIC24F USB Host library available on Libstock, courtesy of Dany. Built a bare minimum board with PIC, USB Socket and a 2x16 character LCD. T...
- 07 Mar 2019 20:34
- Forum: mikroPascal PRO for PIC32 General
- Topic: Not enough ROM space with OrgAll
- Replies: 2
- Views: 1990
Not enough ROM space with OrgAll
Hi, program Empty2; { Declarations section } begin { Main program } OrgAll(0x9D000000); end. How is it possible that the (almost) empty program above generates a "not enough ROM space" error? I use mP for PIC32 3.6.0. The error is not there when I leave out the OrgAll statement. In that case the cod...
- 27 Feb 2019 20:51
- Forum: mikroC PRO for PIC General
- Topic: forum buggé ?
- Replies: 4
- Views: 1455
Re: forum buggé ?
Same problem here... Very annoying. I think this popped up after an automatic windows update.paulfjujo wrote:Hello,
i am allready logged in ..
a new windows appears to requier again name and password
Something changed ?
- 12 Feb 2019 20:50
- Forum: mikroC PRO for PIC32 General
- Topic: SD card - sector vs file write for speed and wear leveling
- Replies: 2
- Views: 1355
Re: SD card - sector vs file write for speed and wear leveli
Files have also a fixed place (used sectors) on an sdmmc card, so the wear will be the same when writing to a file as when writing sectors directly. Of course in the latter case the speed will be much higher (no FAT overlay).
- 02 Feb 2019 20:39
- Forum: mikroPascal PRO for PIC32 Beta Testing
- Topic: User made Tools in toolbar not visible.
- Replies: 2
- Views: 1787
Re: User made Tools in toolbar not visible.
The problem is still there with mP for PIC v7.2.0.Dany wrote:Hi,
I was informed (thanks Ed) that the MikroPascal32 4.0 compiler has the same problem (and the same solution) as discribed in this thread: viewtopic.php?f=86&t=69487.
- 10 Dec 2018 20:23
- Forum: Development Boards
- Topic: EasyPic V7 MikroProg is too hot.
- Replies: 4
- Views: 1659
Re: EasyPic V7 MikroProg is too hot.
Perhaps this can help: viewtopic.php?f=192&t=55058
and my own experience: viewtopic.php?f=192&t=55058#p254721
and my own experience: viewtopic.php?f=192&t=55058#p254721