![]() |
Welche Einstelling Com Port beim flashen FSbus
Hallo FSBus-fans,
Es ist mir noch nicht gelungen die PIC's fur FSBus zu flashen. Die bestuckte Platinen sind ok, und mit Hilfe des 'troubleshooter'in das Router Program (V1.3) habe Ich festgestellt das die Spannungen an die Pinnen 4, 13 und 14 auch ok sind. Irgendwo mache Ich etwa falsch oder ist etwas falsch. Habe deshalb einige Fragen: - Sind 19.200 baudrate, 8,N,2 und Xon/Xoff das richtige Protocol (Win 98)? - Ich messe mit meiner standard Multimeter 11,45 V und nicht 13,5 V, wie im Manual steht; ist das vielleicht zu niedrig fur's flashen? - Stimmt es das nach dem Befehl 'write configuration' die Spannung an pin 4 hoch bleibt, oder sollte die spannung nach dem Ablauf des write automatisch 0,01 V sein? - Im fenster des Flash menu erscheinen nicht die instruktions die beim flashen ubertragen werden sollten, wie Einer der Abbildungen auf Seite 8 des Manual (pdf-file FSBus Com III)sehen lasst. Is das normal? Vielen Dank fur Ihre antworte und Hilfe. Peter, Amsterdam |
Hallo Peter,
- Sind 19.200 baudrate, 8,N,2 und Xon/Xoff das richtige Protocol (Win 98)? D: Die Einstellung der seriellen Schnittstelle wird im fsbus gemacht und überschreibt alle externen Konfigurationen. Das Flashen erfolgt ausserdem nur mit Statussignalen in einem synchronen Mode (Data/Clock) - Ich messe mit meiner standard Multimeter 11,45 V und nicht 13,5 V, wie im Manual steht; ist das vielleicht zu niedrig fur's flashen? D: Laut Microchip Doku muss die Flashspannung zwischen 12,0 und 14,0 V liegen. Ich vermute, deine Eingangsspannung ist zu gering, oder der Spannungsverdoppler rund um den 555 klappt irgendwie nicht. - Stimmt es das nach dem Befehl 'write configuration' die Spannung an pin 4 hoch bleibt, oder sollte die spannung nach dem Ablauf des write automatisch 0,01 V sein? D: Das ist schon ok - Im fenster des Flash menu erscheinen nicht die instruktions die beim flashen ubertragen werden sollten, wie Einer der Abbildungen auf Seite 8 des Manual (pdf-file FSBus Com III)sehen lasst. Is das normal? D: Daten erscheinen nur dann, wenn man sie mit read einliest. Ich hoffe das hilft! Gruss Dirk |
Fast fertig
Hi All,
I have build the COM and KEY interface. I have in the FsBus programm in the Left Corner: "COM 2 open, COM opened in Polling mode". Is that normal. When i want to flash i get the error message's: Read after write check failed. What am i doing wrong. ? I only want the lights to be switching on and off. :) Is there a standard FsBus ini for the Key interface. ? And sure i'm reading the doc but that is in German, not my best language.:confused: |
Hi Rob,
the error code "read after write check failed" could be caused by different things: 1.) check that the levels at the test points are correct (use the test button ) 2.) Cable length between FSCom and Key interface (was very critical in Version 2) Is the Pin 2 of the 10 poly connector on ground? That measure was taking as there was some crosstalk between Pin 1 and Pin2 (now pin 2 has been moved to pin3 in order to use the pin2 line as some kind of shielding (capacitive divider) to reduce crosstalk. 3.) make shure there is no shortened or open line on the board. You will have to check with a magnifier glass to find shorts or broken connections caused by etching process. That´s basically all what could cause such failure. Believe me FSBus is really working well and sofar all the failures people had problems with were related to short circuits or interruption on boards. Hope this helps. Vy 73 Peter DC0MI |
Thanx Peter,
At the moment i'm busy with it Question: * I have in the FsBus programm in the Left Corner: "COM 2 open, COM opened in Polling mode". Is that normal. In the doc stay's: Verbunden mit flugsimulator. (Version 0.9.4.0) * The RED led on the COM port is it always on. ?? And on the KEY-interface i haven't a signal on pin 12. When i want to flash. Pin 13 is allright, even pin 15 shows 4 V/4 MHz. (Kind off) Do you have a *.HEX file so i can test the flasing with a extern file. And wat is the meaning of the TEST button near to the icon of Fs2002 and FsBus. I know lot of Questions, take your time. Later i will make a Dutch explanation of the FsBUs project. If i can get it to work. :) :) Once again, great support here. Even we don't type in German.;) |
Hi,
i agree to Peters words. I'd like to add an explanation for "COM in polling mode". All OS's are called windows, but in its system API there are some differences. To develop a fast handling of all fsbus and fsuipc events, fsbus runs in multiple threads and all possible things are event driven (opposite to polling mode). In order to get 1 serial com port running in different threads, one thread for receiving and one for transmitting, i had to choose a so called overlapped I/O. It is the only chance to not cause locks between both threads. Unfortunatly, this doesn't work in Windows95,98 and Me. If these os are detected, the polling mode is selected automatically. How much this mode decreases system speed is not tested by me, but i prefer W2000 or XP. But this does not affect flash mode. This mode uses only status signals of RS232 to communicate. Some people tried to configure serial interface in the standard windows dialogboxes. This is useless, because any parameter is set internally. Whatever you set is modified by fsbus router. Be carefull on systems with more than 2 com ports. They often share their interupts with each other. This requires special drivers which are not part of ordinary windows systems. FSBUS router may not work with these ports. regards Dirk |
Landsmann
Hallo Peter
Leider kann ich dir zum FSBUS keinen tip geben, weil ich selbst ncoh am planen der elektronik bin. Da ich aber auch in den niederlanden wohne,ist es immer gut zu wissen, das es noch mehr crazy people hier gibt die ein homecockpit bauen. Kannst dir ja mal meine site anschauen, da findest du noch mehr infos zu meinem projekt: www.dutch-mountains.com Baust du auch einen bestimmten flugzeugtyp nach ? Groetjes uit limburg daniel |
> the error code "read after write check failed" could be caused by
> different things: > > 1.) check that the levels at the test points are correct > (use the test button ) I've done that. I only have a steady +5V on pin 12 or 13. Not a rechteckspannung. At least i hope how to work with a scoop. :) I'm using a MAX232N not the CPE Could that be the differance. ? O... I'm getting Crazy. :mad: :) Oké I'm getting further with the project. |
Hi Rob,
WHICH board are you trying to flash ? Have you got the jumpers on the board set to flashmode ??? The cable connecting the board with the COM Controller should be VERY short - (approx. 10 cm). Usually the error occurs on the board you are trying to flash - check it VERY thoroughly ! cheers Mathias |
Finally
Finally.... Yes Yes...
I think i've found it. I took the Laptop of my Wife and was trying to flash with it. YES. !!!! :) The blue bar was going to the end. Question: When the flashing is done is there a screen massage which tell's you it's done allright. I was waiting but nothimn happend. When i read the PIC a lot of data was changing. Now i'm going to plug it to my Flightsim computer and test it. Will be continued.:rolleyes: |
Bien ich wieder.
Finally i'm a big step further. I had some trouble to flash. Now i'm using the laptop of my wife :)
- When flashing is done, do i get a message on the screen that it is allright. ?? I get nothing. - When Fs2002 is running i must start Fsbus programm otherwise it is not working. (Switching the pitot heat, that's what i programmed not much, but first testing) So must Fsbus be loaded and on the background when flying. ?? - I have a lot of push buttons, can they be used just to switch something. I did for pitot heat but as soon i release the button he is switching back. Whow... I'm glad that i'm further with the project, but still with many questions. Thanx allready for answering. I hope. |
Hi PA7RM,
i am not sure if you can read german language, i'll answer in english. The flash depency of some pc's was reported by others too. I asked for details about pc's that work and the ones which don't flash. Can you send me speed and type of processor of yours. 1. if blue bar finishes, complete image is flashed into. 2. fsbus router is a standalone program, no DLL loaded by fs. 3. The Option positive or negative edge can be set to avoid one of these events. regards Dirk |
Hi Dirk,
Thanx for answering. I understand also a little bit German but English is easier for me to write. I love this forum, because of the use of two languages. Not only German. Thanx all people on this form, for your great help. First computer: P2.53 GHz/512 Mb Motherboard: Gigabyte 8PE667Ultra. Win98SE. Second computer: P1.3 GHz Celeron. MB Asus Type don't know. Must look up. Also Win98SE Laptop of my Wife: Dell Latitude P 266 MHz. Win98. (Not Second Edition) Tomorrow, Mittwoch, I will try the display board. I still have to build it. Of course the programm has to be on the background I realize it later, until a DLL has to be written :) > 3. The Option positive or negative edge > can be set to avoid one of these events I will try it. I thought i have done that but no luck. Just to be sure, the switches are only push button. They are coming back. Just to make a puls. But i will try it. Thanx again Dirk. |
Alle Zeitangaben in WEZ +2. Es ist jetzt 07:46 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag