![]() |
![]() |
|
![]() |
![]() |
|
Home Cockpit - Das Forum für die "Bastler" Cockpitbauer tauschen Pläne, Erfahrungen, Meinungen über den Bau von Homecockpits aus... |
![]() |
|
Themen-Optionen | Ansicht |
![]() |
#1 |
Newbie
![]() Registriert seit: 08.04.2003
Beiträge: 14
|
![]() 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 |
![]() |
![]() |
![]() |
#2 |
Master
![]() Registriert seit: 14.02.2002
Alter: 66
Beiträge: 644
|
![]() 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 |
![]() |
![]() |
![]() |
#3 |
Jr. Member
![]() Registriert seit: 22.03.2003
Alter: 61
Beiträge: 33
|
![]() 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. ![]()
____________________________________
Rob - PA7RM http://home.hccnet.nl/pa7rm |
![]() |
![]() |
![]() |
#4 |
Master
![]() Registriert seit: 11.01.2001
Beiträge: 798
|
![]() 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 |
![]() |
![]() |
![]() |
#5 |
Jr. Member
![]() Registriert seit: 22.03.2003
Alter: 61
Beiträge: 33
|
![]() 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. ![]()
____________________________________
Rob - PA7RM http://home.hccnet.nl/pa7rm |
![]() |
![]() |
![]() |
#6 |
Master
![]() Registriert seit: 14.02.2002
Alter: 66
Beiträge: 644
|
![]() 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 |
![]() |
![]() |
![]() |
#7 |
Elite
![]() |
![]() 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 |
![]() |
![]() |
![]() |
#8 |
Jr. Member
![]() Registriert seit: 22.03.2003
Alter: 61
Beiträge: 33
|
![]() > 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. ![]() ![]()
____________________________________
Rob - PA7RM http://home.hccnet.nl/pa7rm |
![]() |
![]() |
![]() |
#9 |
Master
![]() Registriert seit: 08.12.2000
Alter: 61
Beiträge: 762
|
![]() 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 |
![]() |
![]() |
![]() |
#10 |
Jr. Member
![]() Registriert seit: 22.03.2003
Alter: 61
Beiträge: 33
|
![]() Finally.... Yes Yes...
I think i've found it. I took the Laptop of my Wife and was trying to flash with it. YES. !!!! ![]() 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. ![]()
____________________________________
Rob - PA7RM http://home.hccnet.nl/pa7rm |
![]() |
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|