Search found 25 matches

by Bluedog01
04 Oct 2022 04:42
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: PIC24 ECAN Help
Replies: 1
Views: 807

Re: PIC24 ECAN Help

Further investigation shows this device actually crashes the communication on the bus when set to Listen mode.... It is supposed to be passive but it certainly isn't.

Andy
by Bluedog01
04 Oct 2022 00:05
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: PIC24 ECAN Help
Replies: 1
Views: 807

PIC24 ECAN Help

Hi, I am using ECAN on P24EP512GU810. It is connected to an existing bus with two other nodes. If I set mode to NORMAL it decodes ok. I want to use Listen Only mode so that my node is passive ( doesn't send and packets - including ACK ). I have attached the example code which works fine. By changing...
by Bluedog01
25 May 2022 22:23
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: PIC24 Write Flash Question
Replies: 1
Views: 955

PIC24 Write Flash Question

Hi, I am wanting to use flash on P24EP512GU810 for nv data storage. I am looking through example code for writing / reading flash and have a question about the following: // --- erase the block first FLASH_Erase(0x006400); // --- now for some non-compact flash-write FLASH_Write(0x006500, WriteWordAr...
by Bluedog01
17 May 2021 22:35
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Question - USB HID Bootloader on P24EP512GU810
Replies: 1
Views: 1566

Re: Question - USB HID Bootloader on P24EP512GU810

Hi,

I believe I have resolved this issue.

Andy
by Bluedog01
17 May 2021 08:38
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Question - USB HID Bootloader on P24EP512GU810
Replies: 1
Views: 1566

Question - USB HID Bootloader on P24EP512GU810

Hi, I have a working bootloader for this device using the template supplied in the following thread. There is one small problem - the usb connection only holds up for around one second and then disconnects. If you are fast and hit the "Connect" button as soon as the "USB link" icon illuminates you c...
by Bluedog01
20 Apr 2021 01:21
Forum: mikroC PRO for PIC General
Topic: Write EEprom values during programming?
Replies: 4
Views: 1131

Re: Write EEprom values during programming?

Thanks janni. I will try it.
by Bluedog01
19 Apr 2021 21:33
Forum: mikroC PRO for PIC General
Topic: Write EEprom values during programming?
Replies: 4
Views: 1131

Re: Write EEprom values during programming?

Hi Filip,

So there is no command to accomplish this within our program?

If we use the EEPROM editor we don't end up with one hex file to program into MCU? How does this work if using a 3rd party programmer (not mikroProg) where we need all in one hex file?

Sorry for my confusion.

Andy
by Bluedog01
19 Apr 2021 02:18
Forum: mikroC PRO for PIC General
Topic: Write EEprom values during programming?
Replies: 4
Views: 1131

Write EEprom values during programming?

Hi,

How do you write values to EEprom during programming? I cannot see how this functionality is added to my code?

Andy help appreciated.

Andy
by Bluedog01
15 Apr 2021 05:31
Forum: mikroC PRO for PIC General
Topic: Assign bit in SFR from variable
Replies: 1
Views: 587

Re: Assign bit in SFR from variable

Worked it out by using sbit..

Andy
by Bluedog01
15 Apr 2021 02:43
Forum: mikroC PRO for PIC General
Topic: Assign bit in SFR from variable
Replies: 1
Views: 587

Assign bit in SFR from variable

Hi,

I'm trying to assign a bit in an SFR a value from a bit in a variable. The below doesn't work but I don't know why....

unsigned int PWMDuty = 1;

CCP2CON.B4 = PWMDuty.B0;

Andy
by Bluedog01
07 Sep 2020 23:38
Forum: mikroC PRO for PIC General
Topic: Solved - sprintf causing programming failure
Replies: 5
Views: 1298

Solved - sprintf causing programming failure

Hi, The Mikroprog will only program this MCU if VCC is supplied to the programmer from the pcb. This is unusual behaviour as I have programmed many other type of PIC MCU with Mikroprog and have never had to supply the programmer with VCC from the target pcb. My melabs U2 programmer would always prog...
by Bluedog01
20 Aug 2020 22:08
Forum: mikroC PRO for PIC General
Topic: Solved - sprintf causing programming failure
Replies: 5
Views: 1298

Re: sprintf causing programming failure

Thanks for the replies. The code is ok. The problem I am having is when using the MikroProg programmer. If I try to program mcu using Mikroprog I get an error pop up with the errors listed in my first post and the mcu isn't programmed. If I use my melabs U2 programmer the mcu programs and the code r...
by Bluedog01
20 Aug 2020 01:17
Forum: mikroC PRO for PIC General
Topic: Solved - sprintf causing programming failure
Replies: 5
Views: 1298

Solved - sprintf causing programming failure

Hi, When attempting to program a PIC18F87K22 using mikroProg with the following example code I get a programming failed error information box containing the following: - Program: 128855 Error(s) - Executive: 984 Error(s) - DATA: 1024 Error(s) - IDs: 8 Error(s) I can successfully program the same com...
by Bluedog01
07 Apr 2020 22:38
Forum: Visual TFT General
Topic: Newbie Help - Riverdi display and EasyPIC Fusion v7
Replies: 4
Views: 2685

Re: Newbie Help - Riverdi display and EasyPIC Fusion v7

Hi Jovana,

I appreciate your assistance. This will get me started. Thank you.

Regards,

Andy
by Bluedog01
31 Mar 2020 00:27
Forum: Visual TFT General
Topic: Newbie Help - Riverdi display and EasyPIC Fusion v7
Replies: 4
Views: 2685

Newbie Help - Riverdi display and EasyPIC Fusion v7

Hi, I am struggling somewhat to get this going. I have the following hardware: EasyPIC Fusion v7 with P24EP512GU810 Riverdi Display 5" (MIKROE-2170) with FT812 Riverdi click (MIKROE-2100) I am hoping the above hardware is correct. (I have changed the jumper on the click board to 3v3 position) Does a...

Go to advanced search