Home › Forums › TinyG › TinyG Support › TinyG stopped responding?
- This topic has 7 replies, 2 voices, and was last updated 11 years, 6 months ago by rickkaye.
-
AuthorPosts
-
June 19, 2013 at 2:58 pm #4184rickkayeMember
At the start of the day, I had my TinyG connected to my Mac and I had no trouble interacting with it through CoolTerm. I disconnected the TinyG from the Mac and connected it to a Raspberry Pi to work on controlling it programmatically from the Pi. I was having trouble getting my program to work. I wanted to check the state of the TinyG so I connected it back to the Mac. Now the TinyG is not responding to the Mac.
When I tell CoolTerm to connect, CoolTerm thinks it is connected but there is no output from the TinyG. Not even a prompt. I have tried hitting the reset button on the TinyG.
The blue power light is on. Whenever I have CoolTerm send a command, the red tx light on the TinyG flashes.
Does anyone have any thoughts on what I should try next?
Rick
June 20, 2013 at 5:25 pm #4190RileyKeymasterrick,
Not sure whats up with this. But you need to re-flash your system.
Right click “save as” on this link.
https://raw.github.com/synthetos/TinyG/edge/firmware/tinyg/default/tinyg.hexYou can follow the update procedures here;
https://github.com/synthetos/TinyG/wiki/TinyG-Boot-Loader#updating-tinyg-firmware-using-the-boot-loaderI am not sure why your tinyg is dropping its main firmware. (hence stuck in bootloader mode) but you are not alone. I suspect faulty bootloader load. Which means if I am right then you will see this again possibly. We saw this in the past but fixed it. Not sure how its coming up again unless I SCREWED it up and loaded the wrong bootloader. I will look into this. Sorry about all of this.
I can get you a new tinyg and you can send yours back if you would like. Or if you have an avrprogrammer I can help you reload the bootloader on it.
Either way try that out first.
Riley
June 20, 2013 at 6:18 pm #4196RileyKeymasterAlso, rick how do you power off the tinyg?
If you have a power switch, is it located between your A/C line or the D/C line?
To be clear you never used tgFX? I am trying to track down all var’s.Do you happen to know your firmware build too? You cannot get to it now since the board is not booting into TinyG mode.
Riley
June 20, 2013 at 6:34 pm #4197rickkayeMemberThanks for your help.
I do not have a power switch. I power off the tinyg by unplugging from the wall. The firmware is 0.95.
I’m working on finding up-to-date avrdude. I’m on a Mac and when I download the Arduino software as recommended in the instructions, all I get is Arduino.app.
June 20, 2013 at 7:05 pm #4202RileyKeymasteroh you need to go though it like this..
cd /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/via the OSX terminal.
Then I do this WHILE the red light is flashing../avrdude -p x192a3 -C ../etc/avrdude.conf -c avr109 -b 115200 -P /dev/cu.usbserial-AE01DYVQ -U flash:w:/Users/rileyporter/Development/TinyG/firmware/tinyg/default/tinyg.hex
Obviously point it to the hex file you downloaded.
then you should see something like this..
Connecting to programmer: .
Found programmer: Id = “XBoot++”; type = S
Software Version = 1.7; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=512 bytes.Programmer supports the following devices:
Device code: 0x7bavrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9744
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file “/Users/rileyporter/Development/TinyG/firmware/tinyg/default/tinyg.hex”
avrdude: input file /Users/rileyporter/Development/TinyG/firmware/tinyg/default/tinyg.hex auto detected as Intel Hex
avrdude: writing flash (100942 bytes):Writing | ################################################## | 100% 12.65s
avrdude: 100942 bytes of flash written
avrdude: verifying flash memory against /Users/rileyporter/Development/TinyG/firmware/tinyg/default/tinyg.hex:
avrdude: load data flash data from input file /Users/rileyporter/Development/TinyG/firmware/tinyg/default/tinyg.hex:
avrdude: input file /Users/rileyporter/Development/TinyG/firmware/tinyg/default/tinyg.hex auto detected as Intel Hex
avrdude: input file /Users/rileyporter/Development/TinyG/firmware/tinyg/default/tinyg.hex contains 100942 bytes
avrdude: reading on-chip flash data:Reading | ################################################## | 100% 12.01s
Done.
June 20, 2013 at 7:23 pm #4203rickkayeMemberThat worked. I re-flashed the system and it is now working.
So, now back to your original response. Do you expect the problem to recur? I do not have an avrprogrammer. Does that mean I should swap for a new board?
Now that it is running is there anything I can provide to you that would help diagnose what caused the problem?
Thanks for the help.
June 20, 2013 at 8:23 pm #4204RileyKeymasterYou and Tobin had the very same issue. Both had the same fix. I am not sure if this will continue. However, Its looking more now like it might have been a bad flash file? I am not 100% sure. If it happens again we very much want to know about it. For now we ask that you run it a bit more and see if anything changes. If you could record exactly what you were doing when it broke that would be great.
We have not problem replacing your board, however lets see if it happens again first.
Riley
June 21, 2013 at 12:12 am #4205rickkayeMemberI looked at Tobin’s thread. Just so you know while trying to determine the cause, my TinyG is several weeks old, not new like his. It had no problems before a couple of days ago, Also, I’ve never used tgFX. He mentions turning a pot. I adjusted the motor 1 pot when I first got the board, had no problems, and haven’t touched it since.
I will let you know if a problem develops again.
-
AuthorPosts
- You must be logged in to reply to this topic.