I send you a mail so you can send me some code to look thru.
I think you may still miss some concepts of Propeller and SPIN. But I am pretty sure we will get you there. The Propeller is a fascinating thing. BECAUSE it is different. Once understood a lot of things fall into place. You will see.
Mike, been out of loop for awhile, when I brought system after it's been working for months, it would catch a few seconds of GPS data then stop.
Was using 2.1 version. In troubleshooting I noticed that the raw output of GPS unit was eratic, not every second like I figured. By puttting back original code (1.0) problem goes away. Put back in 2.1 code problem comes back. Kinda strange.
Rick
So you had V. 2.1 working for a while and now it is not working again?
I haven't used my GPS stuff for a while since my rover project got delayed by other stuff and - well - is just sitting there.
My GPS Firmware uses 4portserial from Tracy Allen. There is a newer Version out by now correcting some glitches there.
Yet - this is 'Kinda strange' since it was working before as far as I understood. Maybe stupid stuff like Dust and or minimal corrosion? stray voltages?
Had this stuff with my 3d-printer sitting too long in the shed ... unplugged all plugs sprayed contact-cleaner on them an reconnected a couple of times... now fine again.
Question:
I noticed that the raw output of GPS unit was eratic, not every second like I figured
Do you mean output of Firmware 2.1 or output of RAW data of GPS when switching out of SMART mode by pulling that pin down on the vpn1513 ?
2.1 worked great for quite awhile.
Possible cold solder connection but going back to 1.0 working and back to 2.1 not working doesn't seem like electical.
Doing testing on benchm not in vehicle, knowing that will open another can of worms.
I will look at newer serial code.
Erratic from RAW not SMART.
Rick
well - the vpn1513 has two sides and on each side one processor.
The propeller runs the firmware and reads the RAW pin of the other one, if in smart mode.
if not in smart mode prop does not have access to the RAW pin of the GPS chip (some ARM with own firmware)
if you have already erratic in RAW mode then this might be a hint where to look.
How about that connector for the antenna? Mine was sort of sitting quite lose when plugged in from the beginning. So I took some pliers and carefully pressed and dented the connector to sit tight.
But still no explanation why V.1.0 of firmware works and V.2.1 does not. Besides using different serial objects. Or maybe it is.
The original firmware had a bug in calculating the checksum, thus was ignoring checksum errors, processing the data anyways and then writing complete BS into the Data Fields.
I corrected that behavior early on and never had any issues with communication between propeller and GPS. But if the RAW serial stream is erratic / noisy then MAYBE V.2.1 chokes on that?
I am pretty busy with other stuff but will look(dig?) for rover setup in the shed coming weekend. Its there. I am sure to have it seen there lately, VPN1513, Main control prop and sensor prop. even the remote control unit.
Comments
TERM.str(string("HBcount = "))
TERM.dec(HBcount)
It just keeps failing on the first line as follows -
Expected ",".
I suppose it's looking for a "," which may be another parameter of String. And yes, my background is "C" as you guessed, from Grad school.....
I send you a mail so you can send me some code to look thru.
I think you may still miss some concepts of Propeller and SPIN. But I am pretty sure we will get you there. The Propeller is a fascinating thing. BECAUSE it is different. Once understood a lot of things fall into place. You will see.
Enjoy!
Mike
Was using 2.1 version. In troubleshooting I noticed that the raw output of GPS unit was eratic, not every second like I figured. By puttting back original code (1.0) problem goes away. Put back in 2.1 code problem comes back. Kinda strange.
Rick
So you had V. 2.1 working for a while and now it is not working again?
I haven't used my GPS stuff for a while since my rover project got delayed by other stuff and - well - is just sitting there.
My GPS Firmware uses 4portserial from Tracy Allen. There is a newer Version out by now correcting some glitches there.
Yet - this is 'Kinda strange' since it was working before as far as I understood. Maybe stupid stuff like Dust and or minimal corrosion? stray voltages?
Had this stuff with my 3d-printer sitting too long in the shed ... unplugged all plugs sprayed contact-cleaner on them an reconnected a couple of times... now fine again.
Question:
Do you mean output of Firmware 2.1 or output of RAW data of GPS when switching out of SMART mode by pulling that pin down on the vpn1513 ?
Enjoy!
Mike
Possible cold solder connection but going back to 1.0 working and back to 2.1 not working doesn't seem like electical.
Doing testing on benchm not in vehicle, knowing that will open another can of worms.
I will look at newer serial code.
Erratic from RAW not SMART.
Rick
well - the vpn1513 has two sides and on each side one processor.
The propeller runs the firmware and reads the RAW pin of the other one, if in smart mode.
if not in smart mode prop does not have access to the RAW pin of the GPS chip (some ARM with own firmware)
if you have already erratic in RAW mode then this might be a hint where to look.
How about that connector for the antenna? Mine was sort of sitting quite lose when plugged in from the beginning. So I took some pliers and carefully pressed and dented the connector to sit tight.
But still no explanation why V.1.0 of firmware works and V.2.1 does not. Besides using different serial objects. Or maybe it is.
The original firmware had a bug in calculating the checksum, thus was ignoring checksum errors, processing the data anyways and then writing complete BS into the Data Fields.
I corrected that behavior early on and never had any issues with communication between propeller and GPS. But if the RAW serial stream is erratic / noisy then MAYBE V.2.1 chokes on that?
I am pretty busy with other stuff but will look(dig?) for rover setup in the shed coming weekend. Its there. I am sure to have it seen there lately, VPN1513, Main control prop and sensor prop. even the remote control unit.
Enjoy!
Mike
.