GideonZ / 1541ultimate

Official GIT archive of 1541 ultimate II sources
GNU General Public License v3.0
178 stars 45 forks source link

Ultimate II+ reset? #344

Open bkumanchik opened 1 year ago

bkumanchik commented 1 year ago

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

Brian

tpresence commented 1 year ago

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.

GideonZ commented 1 year ago

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

Message ID: @.***>

tpresence commented 1 year ago

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: @.***>

GideonZ commented 1 year ago

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

tpresence commented 1 year ago

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: @.***>

GideonZ commented 1 year ago

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

tpresence commented 1 year ago

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: @.***>

GideonZ commented 1 year ago

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?

tpresence commented 1 year ago

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: @.***>

markusC64 commented 1 year ago

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.

GideonZ commented 1 year ago

ecpprog will ONLY work with FTDI in MPSSE mode.

Message ID: @.***>

tpresence commented 1 year ago

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 commented 1 year ago

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: @.***>

GideonZ commented 1 year ago

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: @.***>

tpresence commented 1 year ago

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: @.***>

GideonZ commented 1 year ago

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

tpresence commented 1 year ago

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

scjody commented 10 months ago

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 commented 10 months ago

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:

GideonZ commented 10 months ago
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, _

u2pl_recovery.zip

scjody commented 10 months ago

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

Gun-neR commented 7 months ago

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.

tracta67 commented 6 months ago

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.