Search found 2113 matches
- Thu Jun 11, 2026 10:06 am
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 1442
Re: Compiler ERROR PIC18F57Q84
Hello. Thanks for the requested file. I have check the hex file and code from the microcontroller looks correct for toggling a pin. Decoding the hex file it looks like the correct pin is being assigned and toggled. An issue I could potentially see with your configuration settings is LVP is enaboed. ...
- Wed Jun 10, 2026 1:20 pm
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 1442
Re: Compiler ERROR PIC18F57Q84
Hello I am uploading the hexadecimal file, which was compiled in FC11 and read from the downloaded file. No, that was not what I wanted, maybe it was my wording. Can you read the microcontrollers memory including config settings and upload it within this topic. What I require is for you to connect t...
- Tue Jun 09, 2026 7:24 pm
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 1442
Re: Compiler ERROR PIC18F57Q84
Was the hex file generated by Flowcode, or downloaded directly from the chip via your programmer?
You did not answer the question about the how is mclr pin is connected.
High, low or left unconnected?
You did not answer the question about the how is mclr pin is connected.
High, low or left unconnected?
- Tue Jun 09, 2026 5:26 pm
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 1442
Re: Compiler ERROR PIC18F57Q84
is your MCLR pin fixed to 5V or floating? Another potential issue could be the programmer is not sending the correct configuration settings? Can you read the microcontrollers memory including config settings and upload it within this topic. You will need to zip up the file as hex extensions are not ...
- Sat Jun 06, 2026 10:58 pm
- Forum: General
- Topic: CAN (Internal, MCP2515) Problem/Bug
- Replies: 17
- Views: 947
Re: CAN (Internal, MCP2515) Problem/Bug
Where do I find these DMA codes? Hello. If you are refeing to the code Ben posted e.g. // DMA0 for ECAN Xmit DMA0CONbits.SIZE = 0x0; DMA0CONbits.DIR = 0x1; DMA0CONbits.AMODE = 0x2; DMA0CONbits.MODE = 0x0; DMA0REQ = 70; DMA0CNT = 7; DMA0PAD = (volatile unsigned int) & C1TXD; #if defined (__dsPIC...
- Sat Jun 06, 2026 10:17 pm
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 1442
Re: Compiler ERROR PIC18F57Q84
You will need to take into account the default internal osc will be running at 4HMHz. If you entered a different frequency in the clock speed within configuration settings then there will be a mismatch. Search Flowcode components (use the magnifying glass) Search for intosc, then add the Intosc help...
- Fri Jun 05, 2026 10:10 pm
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 1442
Re: Compiler ERROR PIC18F57Q84
Hello. If the simple flasher is working as the expected speed, then we can assume the configuration settings are correct. Looking at your project, the interrupt is triggered every 4.096 ms. The LED will only be on for 5 counts = 5 x 4.096 ms = 20.48 ms and off for 251 * 4.096 ms = 1.027096 s. Theref...
- Sun May 17, 2026 3:17 pm
- Forum: General
- Topic: Encoder troubles
- Replies: 5
- Views: 1203
Re: Encoder troubles
Attached is controlling a Servo on a PIC using ADC. It uses the timer interrupt to bit bang a pico pin. As the interrupt is triggered every 10uS then you should get 151 steps I have not tested it, but in theory it should work fine. All you need to do is implement the encoder as per Ben's example. Yo...
- Sat May 16, 2026 9:11 pm
- Forum: General
- Topic: Encoder troubles
- Replies: 5
- Views: 1203
Re: Encoder troubles
Hello. Is your issue that you get a compile error as well as simulation issues? The Servo component is not currently supported on the PICO for any version of Flowcode. See this topic It helps to look for issues if as much detail is give as possible. For example compiler error, or encoder detection i...
- Fri May 08, 2026 10:36 am
- Forum: Projects - Embedded
- Topic: Need help with compiling error
- Replies: 8
- Views: 660
Re: Need help with compiling error
Hello. As you are using the 16F18877, it is set up to work at 32MHz internal osc with no additional c code. The issue looks like its with your hardware port selection. If you look at page 10 of the Eblocks2 datasheet it shows the connections for the display is on port 2. BL0114 Connections.png You h...