Search found 31 matches

by beejo
Tue Oct 15, 2013 1:49 pm
Forum: Flowcode V4
Topic: Serious Warning: Possible sw stack corruption.
Replies: 5
Views: 3370

Re: Serious Warning: Possible sw stack corruption.

Hi Kenrix2, I tried your SW key and finally without stack corruption error so thank you again for this. Maybe i didn't save the compiling options. Also You are write again why make it too difficult I will follow your advise and make a bypass When certain commands are missing I send them afterwards v...
by beejo
Tue Oct 15, 2013 7:33 am
Forum: Flowcode V4
Topic: Serious Warning: Possible sw stack corruption.
Replies: 5
Views: 3370

Re: Serious Warning: Possible sw stack corruption.

Hi Kenrix2, You got no error message like this in your compilation? Serious Warning: Possible sw stack corruption, function 'FCD_RS2320_ReceiveRS232Char' called by more than one asynchronous thread (main/Task, interrupt, interrupt low) Serious Warning: Possible sw stack corruption, function 'FCD_RS2...
by beejo
Mon Oct 14, 2013 10:51 pm
Forum: Flowcode V4
Topic: Serious Warning: Possible sw stack corruption.
Replies: 5
Views: 3370

Re: Serious Warning: Possible sw stack corruption.

Hi Kenrix2 Thank you for willing to help me . Yes, your write. But I need a micro with 2x PWM for the motorcontrol and 2 Usart for communication. Then you need soon the Pic18F..K.. models. This series mcu is not programmable with the E06 programmer board. I know it has to be possible to do this with...
by beejo
Mon Oct 14, 2013 2:26 pm
Forum: Flowcode V4
Topic: Serious Warning: Possible sw stack corruption.
Replies: 5
Views: 3370

Serious Warning: Possible sw stack corruption.

Is there anyone who has experience with the use, in the same program, of a hardware Uart and a software Uart from the PIC16F877A for reading, editing, and sending data of a RS232 device to another RS232device? I've been a long time experimenting. Now I notice the following warning messages in the co...
by beejo
Wed Oct 09, 2013 1:53 pm
Forum: Flowcode V6
Topic: Can V6 simulate RXINT?
Replies: 7
Views: 3637

Re: Can V6 simulate RXINT?

Hi benJ, No I haven’t a scope or logic analyser. The only thing I can do is to use the program Micterm. With this program I monitor the RS232 signals. I fully agreed with your assumption that the interrupts do not works like they have to do. For that I tried to don’t use the interrupt on port B and ...
by beejo
Tue Sep 24, 2013 12:06 pm
Forum: Flowcode V6
Topic: Can V6 simulate RXINT?
Replies: 7
Views: 3637

Re: Can V6 simulate RXINT?

Hi Benj,
Finally succeeded to load the Visca protocol file.
Do you have any idea why the camera messages cannot be read through portB?
Beejo
by beejo
Mon Sep 23, 2013 2:32 pm
Forum: Flowcode V6
Topic: Can V6 simulate RXINT?
Replies: 7
Views: 3637

Re: Can V6 simulate RXINT?

Hi Benj, I am very glad that you are willing to have a look into my program. First there is one Pic16F877A that intermediates between a controller and a camera and controls a Pan & tilt head via an L273D chip. The controller can send “Visca” commands to adjust an Pan & tilt or gives “Visca” commands...
by beejo
Tue Sep 17, 2013 4:07 pm
Forum: Flowcode V6
Topic: Can V6 simulate RXINT?
Replies: 7
Views: 3637

Re: Can V6 simulate RXINT?

Hi Benj, Thank you. Yes i can use the nice work around because i have still a lot of problems to build a rs232 communication on a pic (eg pic16F877A) between a controller and a rs232 device. I am trying to make one connection on port C to the controller and one connection on port B to the device Usi...
by beejo
Tue Sep 17, 2013 3:10 pm
Forum: Flowcode V6
Topic: Can V6 simulate RXINT?
Replies: 7
Views: 3637

Can V6 simulate RXINT?

Hi,
Can i monitor the RS232bus using the RXINT interrupt with Flowcode V6?

Beejo
by beejo
Mon Nov 28, 2011 2:25 pm
Forum: Flowcode 4 Suggestions
Topic: Design rules concerning Servocontrol, receive RS232Commands
Replies: 6
Views: 5493

Re: Design rules concerning Servocontrol, receive RS232Comma

Hi Benj, I think I have done what you told me but in simulation mode the interrupt does not work. I am not sure about where to place the enable interrupt in the program. I have the feeling it have to be done before the while-1 command in the main prog. I enable the RXINT interrupt before the While-1...
by beejo
Thu Nov 24, 2011 12:51 am
Forum: Flowcode 4 Suggestions
Topic: Design rules concerning Servocontrol, receive RS232Commands
Replies: 6
Views: 5493

Re: Design rules concerning Servocontrol, receive RS232Comma

Hi,
I try to solve the problem to read an command in a reliable way by the RS232 in Flowcode4.5 prof.version. Maybe by making use of an RXINTInterrupt. BenJ gave this clue. I try several times but The Interrupt is also not working.
Someone can help me???
Beejo.
by beejo
Tue Nov 22, 2011 12:17 pm
Forum: Flowcode 4 Suggestions
Topic: Design rules concerning Servocontrol, receive RS232Commands
Replies: 6
Views: 5493

Re: Design rules concerning Servocontrol, receive RS232Comma

Hi Benj, Thanks that you are willing to help me. I have to use: hardware UART, 3wire RS232 bus, 9800baud, 8 data bits and no flowcontrol. I have no experience with Interrupt Handling. Can you show me how i can use the RXINT interrupt to read the bytes at a time? Maybe with a example? And what do you...
by beejo
Mon Nov 21, 2011 2:57 pm
Forum: Flowcode 4 Suggestions
Topic: Design rules concerning Servocontrol, receive RS232Commands
Replies: 6
Views: 5493

Design rules concerning Servocontrol, receive RS232Commands

Who can tell something about design rules concerning Servocontrol, receiving RS232 strings, the use of the internal Eeprom and the use of an LCDdisplay in one Flowcode-program of an Pic 16F877A controller? Because for a long time I run up against unexpected results of servo moves and not received co...
by beejo
Tue Oct 11, 2011 11:33 am
Forum: Flowcode V4
Topic: RS232 conflict with Servo?
Replies: 7
Views: 2518

Re: RS232 conflict with Servo?

Hi Benj, I disabled the servo’s before any read or write action of the EEprom. The result is that the Receive program accept all the commands except the stop-command. This is a really nice thing but only the Stop command is not always seen by the Read-RS232routine. I notice when the timeout value of...
by beejo
Wed Oct 05, 2011 11:14 pm
Forum: Flowcode V4
Topic: RS232 conflict with Servo?
Replies: 7
Views: 2518

Re: RS232 conflict with Servo?

BenJ,
That sounds great i never came up on that link. Tomorrow i shall try this in simulation mode and next monday in practice. Because i am not in the office till monday.
I inform you as soon as I know something more about it.
Regards,
Beejo
by beejo
Tue Oct 04, 2011 10:38 pm
Forum: Flowcode V4
Topic: RS232 conflict with Servo?
Replies: 7
Views: 2518

Re: RS232 conflict with Servo?

Hi BenJ ,

I have send you two pm's with the programs enclosed.

Regards,
Beejo
by beejo
Tue Oct 04, 2011 3:34 pm
Forum: Flowcode V4
Topic: RS232 conflict with Servo?
Replies: 7
Views: 2518

Re: RS232 conflict with Servo?

No, only the RS232 module from flowcode. I don't know if they make use of a interupt routine.
Joh.
by beejo
Tue Oct 04, 2011 1:12 pm
Forum: Flowcode V4
Topic: RS232 conflict with Servo?
Replies: 7
Views: 2518

RS232 conflict with Servo?

Hi, I am trying to use the RS232 module in Flowcode 4.5 to receive commands in a PIC16F877A(“The receiver”) and to control two servo motors. To test the program, I use two EB006 PIC program boards. One to control the servo’s as an RS232 Receiver or to use as an direct Hand-control (5 switches), call...
by beejo
Wed Apr 06, 2011 10:45 pm
Forum: Flowcode V4
Topic: Disturbance during startup Servomotor.
Replies: 9
Views: 2852

Re: Disturbance during startup Servomotor.

Hello Benj, After disabling the servo’s in the program, the motors don’t react on a reset and that is good. Only when you power up the system they start up with a wrong pulse. The motors do the same thing with power up after disconnecting the signal wires from the PIC. So the disturbance doesn’t com...
by beejo
Wed Apr 06, 2011 1:08 pm
Forum: Flowcode V4
Topic: Disturbance during startup Servomotor.
Replies: 9
Views: 2852

Re: Disturbance during startup Servomotor.

Hello Benj,

Thank you for our proposal I change the program as soon as possible and let you know the result.
Regards,
Beejo
by beejo
Wed Apr 06, 2011 12:13 pm
Forum: Flowcode V4
Topic: Disturbance during startup Servomotor.
Replies: 9
Views: 2852

Re: Disturbance during startup Servomotor.

Hello Benj, The PIC16F886 was already loaded with software and i hope with the same version than i get on CD. The writer says that the versions on CD and on the PIC are the same. So I sent herewith the latest version from the CD. The file is an .bas file and this extension is not allowed to send her...
by beejo
Tue Apr 05, 2011 10:21 pm
Forum: Flowcode V4
Topic: Disturbance during startup Servomotor.
Replies: 9
Views: 2852

Re: Disturbance during startup Servomotor.

Hi Benj,
I am glad that you ask it. Here it is.
Regards,
Beejo
by beejo
Tue Apr 05, 2011 4:21 pm
Forum: Flowcode V4
Topic: Disturbance during startup Servomotor.
Replies: 9
Views: 2852

Re: Disturbance during startup Servomotor.

Hi Benj, The motors make his movement just after i released the reset button. There is nothing happened as long as I push the reset, but on the moment I release the knob the motors makes the swing. I have to say that in the ICD mode, with step for step debugging, the first reaction comes from the Pa...
by beejo
Mon Apr 04, 2011 1:06 pm
Forum: Flowcode V4
Topic: Disturbance during startup Servomotor.
Replies: 9
Views: 2852

Disturbance during startup Servomotor.

Hi Benj, Thank you for your quick answer friday. I put one Set Position macro direct below the begin statement. Than the enable Pan Servo macro direct below and the same for the tilt servo her under. It gives indeed an improvement with a minimum of 50% Instead of a linear disturbance movement of the...
by beejo
Sat Apr 02, 2011 12:09 am
Forum: Flowcode V4
Topic: Start-up problem with Servomotor
Replies: 3
Views: 1601

Re: Start-up problem with Servomotor

Hi Benj, Thank you for your quick answer. I put one Set Position macro direct below the begin statement. Than the enable Pan Servo macro direct below and the same for the tilt servo her under. It gives indeed an improvement with a minimum of 50% Instead of a linear disturbance movement of the servod...