BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50
Moderator: Benj
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50
Hello everyone, I have reported a bug with the pic 18f14k50 and 18f13k50. When you use an external interrupt (INT0, INT1 and INT2) and inside the interrupt you send a letter through the USB HID, repeating that same letter without stopping. In the flowcode the simulation works fine, however I did test in the Hardware and this bug continues. It is noted that the program leaves the interrupt, but always sends the letter without stopping and only when you use USBHID inside the Macro of Interruption. MAIN works normally
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50
Hello,
Please can you post a simple program that demonstrates this and we will have a look for you.
Please can you post a simple program that demonstrates this and we will have a look for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
Re: BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50
Hello Benj i did test on the hardware with this simple program with the PIC 18F14K50 and 18F13K50 and noticed only with these gives this bug .Noto which returns the interruption normally for the main diagram (main),but he continues to write in the USBHID. Just to add also did testing with the PIC 18F4550 and 18f2550 and the same functions normally as well .
- Attachments
-
- Int_teste_janeiro.fcfx
- (10.03 KiB) Downloaded 286 times
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
Re: BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50
Hello Benj for me meet my project did an improvisation since my project does not need to be as accurate as well.Then created a flag state when the breakpoint is enabled retrieves this value and when it returns to the MAIN routine he compares if the state flag is true ,just so he enters in the USBHID ,but within the routine MAIN.however was a palliative that used and will not always be so with other comrades who use FLOWCODE
Thank you
Thank you
- Attachments
-
- Int_teste_janeiro_2.fcfx
- (10.59 KiB) Downloaded 268 times