Could you help me to debug why my tiny-gps is not working?
I have cloned your repositories, tinygps and multiwiiconf to the last patches. Downloaded last p5 library.
I configured in tinygps for attiny2313 the config.h and enabled (1) the gps and set the baud, 4800.
Uploaded to successfully to my tiny with this line
Code: Select all
avrdude -c avrisp -p t2313 -P /dev/ttyUSB0 -b 19200 -U lfuse:w:0xe4:m -U hfuse:w:0xdb:m -U efuse:w:0xff:m -U flash:w:tiny-gps.hex
The example test sketch right now gives
Code: Select all
Request: 7 16 5 12 0 0 0 45 26 86 66 9 10 103 3 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
Request: 7 16 5 12 21 26 1 45 26 86 82 9 10 103 146 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
Request: 7 16 5 12 21 26 1 45 26 86 82 9 10 103 146 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
Request: 7 16 5 12 21 26 1 45 26 86 82 9 10 103 146 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
Request: 7 16 5 12 21 26 1 45 26 86 82 9 10 103 146 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
Request: 7 16 5 12 21 26 1 45 26 86 82 9 10 103 146 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
Request: 7 16 5 12 0 0 0 45 26 86 82 9 10 103 146 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
Request: 7 16 5 12 0 0 0 45 26 86 82 9 10 103 146 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
Request: 7 16 5 12 21 26 2 45 26 86 82 9 10 103 146 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
Request: 7 16 5 12 21 26 2 45 26 86 82 9 10 103 146 147 0 3 1 3 0 0 0 0 255 255 255 255 255 255
where this first value 7 looks like strange (it was 6 in my previous post) because in your paper looks like valid just 0 1 2
A brand new config of multiwii, with just connected and uncommented tinygps gives only i2c errors (from 0 to 30000 then from -30000 to 0 and so on), whatever pullups i put (from 1.8 to 4.7, I tried everything)
Should I suppose that some piece of hardware is broken?