Search found 28 matches

by erkileitaru
12 Jan 2020 11:47
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: v7.1.0 - old bug still here
Replies: 2
Views: 2120

Re: v7.1.0 - old bug still here

Still hoping this bug will be fixed...
by erkileitaru
03 Mar 2019 12:48
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: PPS mapping can be used only once on PIC24FJ16GA002
Replies: 3
Views: 2068

PPS mapping can be used only once on PIC24FJ16GA002

Hi. It seems that PPS mapping can be used only once. I have following two pins: PPS_Mapping(0, _OUTPUT, _U1TX); PPS_Mapping(4, _INPUT, _INT1); Depending on which line comes first, I get either working INT1 or Uart tx, but not both. Played also with the IOLOCK one-way bit but no help. Any ideas? EDIT...
by erkileitaru
05 Jun 2018 07:49
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: v7.1.0 - old bug still here
Replies: 2
Views: 2120

v7.1.0 - old bug still here

Still the annoying bug that has already been promised to be fixed several times - after closing a region in editor, it is not possible to select any word below the region by double clicking on it.
by erkileitaru
08 Jan 2018 20:24
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: FAT32: Closing and reopening the same file
Replies: 9
Views: 3672

Re: FAT32: Closing and reopening the same file

Activate? I was talking about FAT32 library. I cant see any commands to choose active file. I included the list of routines. I want also know how the SPI part works. Does it use interrupts or some timeout timers? Does it hurt if I have other interrupts enabled while the thing is writing to file? Lib...
by erkileitaru
08 Jan 2018 17:21
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: FAT32: Closing and reopening the same file
Replies: 9
Views: 3672

Re: FAT32: Closing and reopening the same file

But if Close undoes everything that Init did, then the other opened file is not usable anymore.

I have problem that if I close file, I cannot create new file before making Init again.
by erkileitaru
08 Jan 2018 16:36
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: FAT32: Closing and reopening the same file
Replies: 9
Views: 3672

Re: FAT32: Closing and reopening the same file

But still - If I have 2 files opened and close one of them. Do I need to close another one also? Because as you described it, I cannot save to the still opened file. Sounds illogical to me...
by erkileitaru
08 Jan 2018 12:50
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: FAT32: Closing and reopening the same file
Replies: 9
Views: 3672

Re: FAT32: Closing and reopening the same file

Thanks. This is vital information. I think it was not mentioned in library help file.
by erkileitaru
06 Jan 2018 20:13
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: FAT32: Closing and reopening the same file
Replies: 9
Views: 3672

FAT32: Closing and reopening the same file

Hi. I made a datalogger on Clicker2 PIC24 board. Data is logged to SD card. I want to periodically save the file to minimize the risk of data loss. I set up timer to close the file and then open again to make it save. The problem is that i need to init again the Fat32, otherwise file handlers return...
by erkileitaru
15 Oct 2017 11:50
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: SPI initalization on PIC24FJ1024GA610/GB610 family
Replies: 3
Views: 3239

Re: SPI initalization on PIC24FJ1024GA610/GB610 family

Hi, I have another bug to report: BrgDiv does not have any effect on SPI speed If my Fosc=8MHz, then SPI3_Init_Advanced(_SPI_MASTER, _SPI_8_BIT,_SPI_SS_DISABLE, _SPI_DATA_SAMPLE_MIDDLE, _SPI_CLK_IDLE_HIGH, 10, _SPI_ACTIVE_2_IDLE); makes clock speed always around 2MHz, no matter if I put 0, 1, 10 or ...
by erkileitaru
30 Sep 2017 12:44
Forum: Development Boards
Topic: First (negative) impressions of Mikromedia for PIC24EP
Replies: 1
Views: 1411

First (negative) impressions of Mikromedia for PIC24EP

Ok, got new toy and I want share my negative review on this. 1. Powered up for the first time and after couple of seconds waiting, polar bear apeared. So it was working. 2. Now downloaded example projects from product page, compiled and programmed. 3. ERROR! Display is blank. And it is the example p...
by erkileitaru
23 Sep 2017 14:17
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: SDI3 not declared on PIC24FJ1024GA610/GB610
Replies: 1
Views: 1943

SDI3 not declared on PIC24FJ1024GA610/GB610

Hi, following line won't compile because SDI3 is not declared somewhere. I think it should be in SPI library. SDO3, for example, is declared.
PPS_Mapping(8,_INPUT,_SDI3); // 8 = RB8
by erkileitaru
20 Aug 2017 15:56
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: SPI initalization on PIC24FJ1024GA610/GB610 family
Replies: 3
Views: 3239

SPI initalization on PIC24FJ1024GA610/GB610 family

I think there is error in SPIx_Init_Advanced function. It wants values for primary and secondary prescalers, but this chip has baud rate register and not those prescalers. Therefore SPI library can't be used on that chip.
by erkileitaru
19 Aug 2017 12:17
Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
Topic: BUG: IDE and collapsed regions
Replies: 1
Views: 2096

BUG: IDE and collapsed regions

Hi, some time ago I reported following bug, but it is still not fixed in new release. 1. Hide some code by using the '-' sign in editor 2. Double click on some word to select it somewhere below the hidden region 3. Now what happens is that the actual selected word is offset by the number of rows tha...
by erkileitaru
09 Dec 2016 09:47
Forum: mikroPascal PRO for PIC General
Topic: Flash write library on PIC24FJ128GA204
Replies: 1
Views: 2177

Flash write library on PIC24FJ128GA204

Hi, in Flash library documentation, it is said PIC24F memory row is 32 instructions. For example Flash_write uses array of 32 words. But in PIC24FJ128GA204 datasheet chapter 6.2 says its memory row is 64 instructions. The question is if PIC24FJ128GA204 flash write is really supported by the library?

Go to advanced search