Search found 117 matches

by alanwms
Mon Apr 12, 2021 2:15 pm
Forum: Bug Reports
Topic: Debug window goes away
Replies: 2
Views: 1613

Re: Debug window goes away

Got it - Thank you.
by alanwms
Sun Apr 11, 2021 5:27 pm
Forum: Bug Reports
Topic: Uart Interrupt on RXINT0
Replies: 15
Views: 6955

Re: Uart Interrupt on RXINT0

Hello Leigh Can you direct me to a simple method of loading up a variable in an interrupt. I'm a little lost on the circular buffer deal
by alanwms
Fri Apr 09, 2021 9:45 pm
Forum: Bug Reports
Topic: Debug window goes away
Replies: 2
Views: 1613

Debug window goes away

Running "Debug" gives me options such as GO - Step into - Step over etc.

Pressing any of these causes the "debug" drop down panel to go away. I have to repress the "debug" again.

Do I have to set something up in order to keep the "debug" selections in view?
by alanwms
Fri Apr 09, 2021 9:42 pm
Forum: Bug Reports
Topic: Uart Interrupt on RXINT0
Replies: 15
Views: 6955

Re: Uart Interrupt on RXINT0

The serial interrupt routine with a simple "receive string" component does not load up my variable with a string.
I use the same component outside of an interrupt and it works fine.
The software is going into and out of the interrupt, but no results in the variable.
by alanwms
Thu Apr 01, 2021 3:49 pm
Forum: Bug Reports
Topic: Uart Interrupt on RXINT0
Replies: 15
Views: 6955

Re: Uart Interrupt on RXINT0

Thanks Leigh. Here is what I have so far with testing- I removed serial stuff from the interrupt and replaced it with a simple LED "off" output. In the main, with a small delay I turn that LED "on". It should blink off and back on again. What actually happens is that the very first time I send a str...
by alanwms
Thu Apr 01, 2021 3:09 pm
Forum: Bug Reports
Topic: Uart Interrupt on RXINT0
Replies: 15
Views: 6955

Re: Uart Interrupt on RXINT0

Thanks Leigh. Actually, I have put an xor for an LED in the interrupt routine. The LED is affected by this. So I believe that the interrupt is working. SO I think we are down to using a string in the interrupt. I don't know where the circular buffer component is, and I'm not sure if I know how to us...
by alanwms
Thu Apr 01, 2021 12:16 am
Forum: Bug Reports
Topic: Uart Interrupt on RXINT0
Replies: 15
Views: 6955

Re: Uart Interrupt on RXINT0

So I put the serial interrupt in, and still no info is going into the serial_string. I put my scope on the serial input pin to the PIC24fj64GB200 with one channel on the data, and the other on the ACtive low pin for the driver. Data is getting to the chip, and the interrupt is not working properly. ...
by alanwms
Wed Mar 31, 2021 11:42 pm
Forum: Bug Reports
Topic: Uart Interrupt on RXINT0
Replies: 15
Views: 6955

Re: Uart Interrupt on RXINT0

I will investigate that. Right now my interrupt consists of a single component which is supposed to get data into variable "serial_String" It's coming back with nothing. I do know it's going in there when my characters arrive. If I use the same component in a simple loop without interrupts, it works...
by alanwms
Wed Mar 31, 2021 6:46 pm
Forum: Bug Reports
Topic: Uart Interrupt on RXINT0
Replies: 15
Views: 6955

Re: Uart Interrupt on RXINT0

Thanks Martin. Serial Handler is not the interrupt at this point. I have tried a single component in the interrupt to collect data understanding that we should be in and out of the routine. However, I could stay in that routine for a week if I disabled interrupts and re enabled them at the conclusio...
by alanwms
Wed Mar 31, 2021 4:04 pm
Forum: Bug Reports
Topic: Uart Interrupt on RXINT0
Replies: 15
Views: 6955

Uart Interrupt on RXINT0

PIC24fj64GB002 Flowcode version 9.1.0.27 professional Version Built March 29 2021 I setup an interrupt on serial-in data, and load string info into a variable called "serial_string" That serial string gets all data as expected in simulation - but not working on my hardware. I rearranged my program a...