1541ultimate icon indicating copy to clipboard operation
1541ultimate copied to clipboard

Ultimate II+ reset?

Open bkumanchik opened this issue 2 years ago • 25 comments

Is there a way to do a reset (full hardware reset) to the Ultimate II+ ?

Brian

bkumanchik avatar May 10 '23 15:05 bkumanchik

If you hold the middle button on power on, it is supposed to put you in recovery mode...I don't think this works on the UII+L however. I hope there is another way.

tpresence avatar Jun 11 '23 19:06 tpresence

The Ultimate-II+L does not support recovery mode.

Message ID: @.***>

GideonZ avatar Jun 11 '23 20:06 GideonZ

Am I bricked? I saw in the firmware notes that recovery wasn't available on the UII+L. How do you recover from this failure?

On Sun, Jun 11, 2023 at 2:45 PM Gideon @.***> wrote:

The Ultimate-II+L does not support recovery mode.

Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1586331807, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2IFHJLJRNODNW2VRAXWSDXKYU7DANCNFSM6AAAAAAX44UXEI . You are receiving this because you commented.Message ID: @.***>

tpresence avatar Jun 11 '23 20:06 tpresence

Failures like this are not supposed to happen. Where are you located?

GideonZ avatar Jun 11 '23 21:06 GideonZ

I'm in Colorado, USA. I should be in your order database with this name I am using here. The unit was one you shipped to me a few months ago.

On Sun, Jun 11, 2023 at 3:14 PM Gideon @.***> wrote:

Failures like this are not supposed to happen. Where are you located?

— Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1586338440, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2IFHPKAY5HDZOFVUZWTT3XKYYJVANCNFSM6AAAAAAX44UXEI . You are receiving this because you commented.Message ID: @.***>

tpresence avatar Jun 11 '23 22:06 tpresence

I cannot see your email here, only "tpresence". Doesn't matter. Ok.. USA is not part of the EU, so shipping back and forth is going to be a hassle, especially with the taxes. I will have to find someone who can help you out on that side of the world, or I will send you something to fix it with. Give me some time to figure something out. How familiar are you with programmers and tools? What OS does your PC run?

How much would shipping be from Colorado to another state, e.g. Tennessee?

Gideon

GideonZ avatar Jun 11 '23 22:06 GideonZ

Ah, ok. Its @.***

I can run whatever os I need, windows, linux, solaris, freebsd, just need to know.

I have done some hardware work, just not design. If it has i2c or similar, I can hold my own.

On Sun, Jun 11, 2023 at 4:49 PM Gideon @.***> wrote:

I cannot see your email here, only "tpresence". Doesn't matter. Ok.. USA is not part of the EU, so shipping back and forth is going to be a hassle, especially with the taxes. I will have to find someone who can help you out on that side of the world, or I will send you something to fix it with. Give me some time to figure something out. How familiar are you with programmers and tools? What OS does your PC run?

How much would shipping be from Colorado to another state, e.g. Tennessee?

Gideon

— Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1586364951, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2IFHM4X3NSWNP6AZBSIOLXKZDQNANCNFSM6AAAAAAX44UXEI . You are receiving this because you commented.Message ID: @.***>

tpresence avatar Jun 11 '23 23:06 tpresence

I am working on a little recovery board that i can send to customers with issues like this.

On Mon, 12 Jun 2023, 01:12 tpresence, @.***> wrote:

Ah, ok. Its @.***

Haha, that doesn't seem to help much.

I can run whatever os I need, windows, linux, solaris, freebsd, just need to know. [...]

I still need to get a reply from my contact in Tennessee that might be able to help out.

But.. maybe you have an FT2232H based JTAG adapter laying around?

GideonZ avatar Jun 16 '23 18:06 GideonZ

On Fri, Jun 16, 2023 at 12:02 PM Gideon @.***> wrote:

I am working on a little recovery board that i can send to customers with issues like this.

On Mon, 12 Jun 2023, 01:12 tpresence, @.***> wrote:

Ah, ok. Its @.***

Haha, that doesn't seem to help much.

Yeah, apparently github was "protecting" my email address, lol.

I can run whatever os I need, windows, linux, solaris, freebsd, just need to know. [...]

I still need to get a reply from my contact in Tennessee that might be able to help out.

But.. maybe you have an FT2232H based JTAG adapter laying around?

The bus pirate does JTAG as well as other things and it uses the PIC24FJ64 processor and the FT232RL USB-to-Serial chip. https://www.sparkfun.com/products/12942 I haven't used it in a while, but it should still work. I have a pocket avr programmer as well, but I think the attiny doesn't have space in its flash to do JTAG or HVP, so I think its a bust. If you dont think the bus pirate would work, let me know where I can get the dev board that you have and I'll get one. They aren't going to be very expensive.

— Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1595056964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2IFHJAKXDECS3MVKQ2Y5LXLSNUVANCNFSM6AAAAAAX44UXEI . You are receiving this because you commented.Message ID: @.***>

tpresence avatar Jun 16 '23 21:06 tpresence

Can you connect your "bus pirate" to your PC with linux running and try if "ecpprog -t" ( https://github.com/GideonZ/ecpprog ) detects it?

Edit: It might require root permissions.

markusC64 avatar Jun 17 '23 07:06 markusC64

ecpprog will ONLY work with FTDI in MPSSE mode.

Message ID: @.***>

GideonZ avatar Jun 17 '23 09:06 GideonZ

Its being detected by the kernel and its assigned: Jun 17 10:46:11 stormbringer kernel: usb 3-1: Manufacturer: FTDI Jun 17 10:46:11 stormbringer kernel: ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected Jun 17 10:46:11 stormbringer kernel: usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0

Unfortunately it doesn't. It just doesn't have the right hardware I guess. What JTAG hardware should I get?

On Sat, Jun 17, 2023 at 3:02 AM Gideon @.***> wrote:

ecpprog will ONLY work with FTDI in MPSSE mode.

Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1595679624, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2IFHOIX3RPHWEAXRLUGTDXLVXC3ANCNFSM6AAAAAAX44UXEI . You are receiving this because you commented.Message ID: @.***>

tpresence avatar Jun 17 '23 16:06 tpresence

Any recommendation as to which hardware for JTAG on the UII I should buy?

On Sat, Jun 17, 2023 at 10:47 AM Kevin Reynolds @.***> wrote:

Its being detected by the kernel and its assigned: Jun 17 10:46:11 stormbringer kernel: usb 3-1: Manufacturer: FTDI Jun 17 10:46:11 stormbringer kernel: ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected Jun 17 10:46:11 stormbringer kernel: usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0

Unfortunately it doesn't. It just doesn't have the right hardware I guess. What JTAG hardware should I get?

On Sat, Jun 17, 2023 at 3:02 AM Gideon @.***> wrote:

ecpprog will ONLY work with FTDI in MPSSE mode.

Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1595679624, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2IFHOIX3RPHWEAXRLUGTDXLVXC3ANCNFSM6AAAAAAX44UXEI . You are receiving this because you commented.Message ID: @.***>

tpresence avatar Jul 01 '23 20:07 tpresence

Today I received the U2+L programmers that I designed. As soon as I tested them, I can send one.

The one I was using before is from AliExpress, and is not too cheap.

It is a Lattice programmer.

On Sat, 1 Jul 2023, 22:38 tpresence, @.***> wrote:

Any recommendation as to which hardware for JTAG on the UII I should buy?

On Sat, Jun 17, 2023 at 10:47 AM Kevin Reynolds @.***> wrote:

Its being detected by the kernel and its assigned: Jun 17 10:46:11 stormbringer kernel: usb 3-1: Manufacturer: FTDI Jun 17 10:46:11 stormbringer kernel: ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected Jun 17 10:46:11 stormbringer kernel: usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0

Unfortunately it doesn't. It just doesn't have the right hardware I guess. What JTAG hardware should I get?

On Sat, Jun 17, 2023 at 3:02 AM Gideon @.***> wrote:

ecpprog will ONLY work with FTDI in MPSSE mode.

Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1595679624>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AB2IFHOIX3RPHWEAXRLUGTDXLVXC3ANCNFSM6AAAAAAX44UXEI>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1616104445, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFDSK765RAUGE7WJBUS33XOCDDFANCNFSM6AAAAAAX44UXEI . You are receiving this because you commented.Message ID: @.***>

GideonZ avatar Jul 01 '23 21:07 GideonZ

Thanks Gideon.

On Sat, Jul 1, 2023 at 3:07 PM Gideon @.***> wrote:

Today I received the U2+L programmers that I designed. As soon as I tested them, I can send one.

The one I was using before is from AliExpress, and is not too cheap.

It is a Lattice programmer.

On Sat, 1 Jul 2023, 22:38 tpresence, @.***> wrote:

Any recommendation as to which hardware for JTAG on the UII I should buy?

On Sat, Jun 17, 2023 at 10:47 AM Kevin Reynolds @.***> wrote:

Its being detected by the kernel and its assigned: Jun 17 10:46:11 stormbringer kernel: usb 3-1: Manufacturer: FTDI Jun 17 10:46:11 stormbringer kernel: ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected Jun 17 10:46:11 stormbringer kernel: usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0

Unfortunately it doesn't. It just doesn't have the right hardware I guess. What JTAG hardware should I get?

On Sat, Jun 17, 2023 at 3:02 AM Gideon @.***> wrote:

ecpprog will ONLY work with FTDI in MPSSE mode.

Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1595679624>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AB2IFHOIX3RPHWEAXRLUGTDXLVXC3ANCNFSM6AAAAAAX44UXEI>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1616104445>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACUFDSK765RAUGE7WJBUS33XOCDDFANCNFSM6AAAAAAX44UXEI>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/344#issuecomment-1616114664, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2IFHLL2CWVESW54PVJUK3XOCGRTANCNFSM6AAAAAAX44UXEI . You are receiving this because you commented.Message ID: @.***>

tpresence avatar Jul 01 '23 21:07 tpresence

It has taken some moments, but I now have a few debug adapters specifically made for the U2+L, using an FTDI chip. I will send you one, so you can re-flash your unit. Maybe, you can then also be of help to others, if this ever happens again? I'll also send such an adapter board to @xlar54 . Please send me an e-mail so that I know to what address to send it, @tpresence

GideonZ avatar Jul 15 '23 11:07 GideonZ

Ive sent the detail to the ultimate II gmail address, since it seems to prune that data from here. Thanks alot, Gideon!

tpresence avatar Jul 15 '23 16:07 tpresence

Can I please get some help reflashing my U2+L with standard firmware? I built the firmware by following the instructions in the README (as a first step towards working on https://github.com/GideonZ/1541ultimate/issues/364) but the new firmware ended up bricking my device.

I can borrow a FT232H-based adapter (specifically Adafruit's), which looks like it will work with ecpprog, but I don't know where to connect it or what commands to run.

scjody avatar Nov 08 '23 21:11 scjody

Update: I have the FT232H adapter and it's recognized by ecpprog:

$ sudo ecpprog -t
init..
IDCODE: 0xffffffff does not match :(
Unique ID: ffffffffffffffff
  Wafer Lot#: ffffffff
  Wafer #: 31
  Wafer X/Y: (127, 127)
flash ID: 0xFF 0xFF 0xFF
Bye.

(If I understand things correctly, the errors are expected because the adapter isn't connected to my U2+L.)

Can anyone please tell me:

  • Which pins on the U2+L board correspond to the JTAG pins (the adapter has TCK, TDI, TDO, TMS but not TRST, hopefully that's OK)
  • How to flash update.u2l from 3.10j using ecpprog

scjody avatar Nov 09 '23 18:11 scjody

ecpprog -p u2p_ecp5_impl1.bit
ecpprog -o 640k ultimate.app
ecpprog -o 2048k fat.bin  (optional)

The board has two rows of JTAG pins on a 14-pin header. You should use the 3.3V row, which is labeled: 3.3, S, O, C, I, M, _

  • 3.3 => 3.3V sense
  • S => do not use
  • O => TDO
  • C => TCK
  • I => TDI
  • M => TMS
  • _ => GND

u2pl_recovery.zip

GideonZ avatar Nov 09 '23 20:11 GideonZ

That worked - thank you so much!

I'm willing to re-flash boards for anyone in Canada that needs this - you can contact me directly: jody at modernduck.com

scjody avatar Nov 09 '23 23:11 scjody

That worked - thank you so much!

I'm willing to re-flash boards for anyone in Canada that needs this - you can contact me directly: jody at modernduck.com

I am in BC... and just ran into a "bricking" moment - https://github.com/GideonZ/1541ultimate/issues/398

I just got this $$$ U2+L and am quite bummed at bricking it so soon... particularly while trying to trying to load a JIFFYDOS kernal... which should be a normal thing, right?

Unless there is another quicker option, I'll reach out to your email in a bit.

Gun-neR avatar Feb 13 '24 06:02 Gun-neR

I have just encountered the same issue. I've put Jiffydos, a game crashed and now I have a blank screen. I'm in France.

tracta67 avatar Mar 08 '24 00:03 tracta67