Firmware Update Fail

I am using Rasbery for robots, and gopigo3 control panel is not working.

So I tried to update foiware by typing

$ sudo bash ~/Dexter/GoPiGo3/Firmware/gopigo3_flash_firmware.sh

The result was …

Updating the GoPiGo3 Firmware with '/home/pi/Dexter/GoPiGo3/Firmware/GoPiGo3_Firmware_0.3.4.bin'.
Open On-Chip Debugger 0.10.0-dev (2016-12-16-18:07)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
BCM2835 GPIO nums: swclk = 25, swdio = 24
BCM2835 GPIO config: srst = 18
srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst
srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst
adapter speed: 400 kHz
cortex_m reset_config sysresetreq
adapter speed: 250 kHz
adapter_nsrst_delay: 100
adapter_nsrst_assert_width: 100
Info : BCM2835 GPIO JTAG/SWD bitbang driver
Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
Info : clock speed 250 kHz
Info : SWD DPIDR 0x0bc11477
Info : at91samc20j18.cpu: hardware has 4 breakpoints, 2 watchpoints
Error: at91samc20j18.cpu -- clearing lockup after double fault
Polling target at91samc20j18.cpu failed, trying to reexamine
Info : at91samc20j18.cpu: hardware has 4 breakpoints, 2 watchpoints
    TargetName         Type       Endian TapName            State
--  ------------------ ---------- ------ ------------------ ------------
 0* at91samc20j18.cpu  cortex_m   little at91samc20j18.cpu  halted
Info : SWD DPIDR 0x0bc11477
Error: at91samc20j18.cpu -- clearing lockup after double fault
at91samc20j18.cpu: target state: halted
target halted due to debug-request, current mode: Handler HardFault
xPSR: 0xd1000003 pc: 0xfffffffe msp: 0xffffffd8
Info : SWD DPIDR 0x0bc11477
Error: at91samc20j18.cpu -- clearing lockup after double fault
at91samc20j18.cpu: target state: halted
target halted due to debug-request, current mode: Handler HardFault
xPSR: 0xd1000003 pc: 0xfffffffe msp: 0xffffffd8
** Programming Started **
auto erase enabled
Info : SAMD MCU: SAMC20J18A (256KB Flash, 32KB RAM)
Error: SAMD: NVM programming error
Error: Failed to erase row containing 00006400
Error: SAMD: failed to erase sector 1
Error: failed erasing sectors 0 to 2
embedded:startup.tcl:454: Error: ** Programming Failed **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 510
at file "embedded:startup.tcl", line 454

Is anyone can help me to resolve this issue.

Louis

Can you confirm that you have a GoPiGo3 as opposed to an older GoPiGo or GoPiGo2? If you have a GoPiGo3, it will have “GoPiGo3” on the red controller board.

Which version of Raspberry Pi are you using? Is it the Raspberry Pi 3?

Is the GoPiGo3 the only thing connected to the Raspberry Pi GPIO pins?

Hello Matt,

Yes I confirm the 3 points.

  • GoPiGo3 (red controller)
  • Raspberry Pi 3
  • Yes it’s only thing connected.

Regards

Try going to the desktop and running the DI Software Update. Once you do a software update, try doing the firmware update from that GUI.

Hi Matt,

I have been a part of the Week-end rewriting my SD Card,

I have been able to run dexter os => It told me that it was no able to talk with gopigo3

Then I went back to rasbian os for robots and run from desktop as you asked the same error occurred.

As no led is lighting on GoPiGo3 card I went for hardware test from the tool of the desktop here is the result:

GoPiGo3 Troubleshooting Script log

Checking for hardware, and checking hardware and firmware version.

No SPI response. GoPiGo3 with address 8 not connected.

As no communication is possible, I realy thing the is a hardware issue with GoPiGo3 card.

Regards

Louis LIETAER

Hi @louis,

Do you have the SPI line enabled? Maybe it’s that, even though you should have got an error sooner when you ran the firmware updater.

Thank you!

Hi Robert,

I have check SPI line configuration, it was enabled. Retry upgrade nothing new.

I really think I have an hardware issue.

Best regards

Louis

Any new ideas, or should I ask for the replacement of GoPiGo3 card ?

Louis

Hi @louis,

Yes, we should definitely replace that board. I’m sorry for hanging up on you - I had been terribly busy.

If you are based in the USA, then @Matt is going to provide you with a shipping label so you can send it back to us for further tests.

And as for your replacement, @ChrisDooley will prepare you a new shipment that includes a GoPiGo3 board.

Thank you!

Hi Robert,

I am french and I am living in France (:slight_smile:). I will be happy to send back the card even in US at my charge. I ordered the kit thru web site www.roboshop.com, do they need to be involved in the replacement process ? if not is find for me.

Best regards

Louis

@louis Since you ordered through ModMyPi, I do not have your contact info. Can you please provide ne with your shipping details so that I can send the replacement board?

Hello Chris,

my contact info :

Louis LIETAER

7, rue des arbousiers

34070 MONTPELLIER

France

Tel : +33 676 429 876

@louis To speed things along, I have asked ModMyPi to send you a replacement board. It should ship today and arrive within the next few days.