Welcome! Log In Create A New Profile

Advanced

HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD

Posted by joerg_999 
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD
December 18, 2019 10:19PM
Ray,

Quote

So anyway, I then switched the JTAG cable back to the bricked Pogoplug. Nada. I think that this unit had a hardware failure. The JTAG on it used to work but now it does not work anymore.

Quote
daviddyer
These machines are pretty solid, but the power supplies are not. Maybe you need to get a good power supply and try again.

I think David has a good idea. These units indeed have a not-so-good power supply. If you could, measure the power with multi-meter before spending more time on something else.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD
January 04, 2020 03:04PM
The power supply is good, I metered it and also swapped with a good Pogoplug. I think this board just suddenly went bad. Odd coincidence, though. I flashed a new u-boot build that I am working on---and it never came back. Wierd that this board died dead at the exact same time I flashed a new uboot. It's dead, though...even JTAG doesn't work on it, but does work on another Pogoplug...so I know the JTAG cable & setup works.
**shrug** I guess I'll just keep the power supply and discard the rest.
Thanks for the suggestions & help.

In other news: Really odd things happen with trying to load a new uboot into memory vs. flashing it and then running it from the flash. Yeah, the DENX U-Boot people say that's not supported. But you'd really like to do u-boot development that way, to avoid the risk of bricking your device with a bad u-boot.

With the bodhi 2017 uboot in the flash, stop the boot and load the newly-built uboot.bin into ram and then jump to it. About 90% of the time it works with the DENX ftp://ftp.denx.de/pub/u-boot/u-boot-2019.10.tar.bz2 build. But only 1% of the time does this work on a build from bodhi's 2017 uboot. Older versions, like the 2010 & 2012 uboot work sometimes and fail sometimes.

Code:
usb start
load usb 0:1 0x600000 /u-boot.2019.12.30.bin
go 0x600000

I can't believe I spent so much time on a $10 computer! But I was able to do the uboot upgrades that I wanted to do, even though I lost one Pogoplug.
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD
January 06, 2020 04:37AM
> In other news: Really odd things happen with
> trying to load a new uboot into memory vs.
> flashing it and then running it from the flash.
> Yeah, the DENX U-Boot people say that's not
> supported. But you'd really like to do u-boot
> development that way, to avoid the risk of
> bricking your device with a bad u-boot.
>
> With the bodhi 2017 uboot in the flash, stop the
> boot and load the newly-built uboot.bin into ram
> and then jump to it. About 90% of the time it
> works with the DENX
> ftp://ftp.denx.de/pub/u-boot/u-boot-2019.10.tar.bz2
> build. But only 1% of the time does this work on
> a build from bodhi's 2017 uboot. Older versions,
> like the 2010 & 2012 uboot work sometimes and fail
> sometimes.

That's really not odd at all. That more or less how it has been (since 2012) regarding chainloading uboot.

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: