BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
Genilsonsa
Posts: 150
Joined: Mon Oct 15, 2012 5:19 pm
Has thanked: 12 times
Been thanked: 18 times
Contact:

BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50

Post by Genilsonsa »

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

User avatar
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

Post by Benj »

Hello,

Please can you post a simple program that demonstrates this and we will have a look for you.

Genilsonsa
Posts: 150
Joined: Mon Oct 15, 2012 5:19 pm
Has thanked: 12 times
Been thanked: 18 times
Contact:

Re: BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50

Post by Genilsonsa »

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 253 times

Genilsonsa
Posts: 150
Joined: Mon Oct 15, 2012 5:19 pm
Has thanked: 12 times
Been thanked: 18 times
Contact:

Re: BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50

Post by Genilsonsa »

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
Attachments
Int_teste_janeiro_2.fcfx
(10.59 KiB) Downloaded 243 times

Post Reply