Page 1 of 1

BUG EXTERNAL INTERRUPTION USING PIC 18F14K50 and 18F13K50

Posted: Mon Jan 08, 2018 10:15 pm
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

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

Posted: Tue Jan 09, 2018 11:17 am
by Benj
Hello,

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

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

Posted: Tue Jan 09, 2018 1:48 pm
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 .

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

Posted: Wed Jan 10, 2018 12:24 am
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