-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FDD-UDD U144K #232
Comments
Is there a schematic for the usual gotek? I also have two of those, but it would be easier to check if I would not have to reverse engineer those first. I mean the zero hypothesis would be that they did not change the headers. |
Just for the fun of it, I checked and found out, that the lower pin of the 1x5 connects to the same pin of the processor. So there is hope... |
46 (2nd from below) connects to the third pin on the upper side of the CPU (from left). Usual gotek connects this to the 6th pin on the upper side. |
On the 1x5 header there is NRST, and then CPU pins 46-49: PA13, VSS2. VDD2, PA14. PA9 and PA10 (USART1) are not connected at all. Both methods to flash the firmware use USART1. Is there an alternative or do i have to solder a connection to the CPU? |
It does seem to support some kind of flashing via USB. When both buttons are pressed at startup, the display shows U00 -> 126 -> F01. But I could not find any suitable files on the internet or on the supplied CD. |
PA13 & PA14, vdd and gnd will let you program it with an stlink v2 adapter.
…On Wed, 29 May 2019, 22:09 nretro, ***@***.***> wrote:
It does seem to support some kind of flashing via USB. When both buttons
are pressed at startup, the display shows U00 -> 126 -> F01. But I could
not find any suitable files on the internet or on the supplied CD.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#232>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AATU2PCLRCHCNJJX44NRQJLPX3WJNANCNFSM4HQGI2AQ>
.
|
Yes the 1x5 is a programming header. I've never used the jtag interface but I think I have the adapter in my box of bits and it's supposed to be fairly straightforward. Can you work out the other header? |
The 2x6 is almost the same as in the usual gotek, only left and right got switched: I ordered a PL2303HX a while back. Is that likely to work or do I need another adapter? |
The PL2303HX is a serial adapter and would program via USART1, which is not connected to a header on this Gotek. Similarly, you need access to PA9 to strap it high to program via the USB-DFU method. So, the only method available here is via the SWD-JTAG interface on the 1x5 header. For this you need an ST-LINK v2 adapter. You can get clones on Ebay for a pound or so from China, or for a little more if you want quicker delivery. I have one or two stashed somewhere although I've never used them, but I am happy to work out a method on Linux at least, following one of the online guides such as: https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/Programming-an-STM32F103XXX-with-a-generic-%22ST-Link-V2%22-programmer-from-Linux |
Success.
target halted due to debug-request, current mode: Thread
I still have to test if it actually works. Up to now I only checked that it says "F-F" on the display. |
OK... and does work as expected loading an adf on an Amiga. I'll be busy with other things over the next couple of weeks, but at some point I'll also try to add display and rotary mods. I'll post the results. |
Will be interesting. Especially the rotary pins may not have a header. Will have to see if there's anything to solder to other than mcu pins directly. |
Worst case, use the JTAG pins or the SPI flash pins |
I have linked to this ticket from the wiki: https://github.com/keirf/FlashFloppy/wiki/Gotek-Compatibility#models-to-avoid I will close this ticket now, but we can add to it with further info in future (eg. if we work on support for rotary encoder). |
hello reviving this thread, made the error too and got this board by mistake. Now trying to program it but it seems that RDP is on and i have found no way to disable it with option bytes thus no letting me program it. Using windows 7 + st link utility. Any help would be appreciated. cheers |
I have this gotek too and from st link v2 chinese programmer can´t be programmable with st-link utility. |
While in automatic programming mode you must do a reset on pin 7. I thought you guys will read nretro comment fully before reading mine. |
Gotek drive reset line 07 constantly grounded before gotek 5v power up.. |
you need to un-ground pin 7 when in automatic mode to unlock this Gotek |
Thanks I will try it. JOSÉ |
I have try and had success flashing the drive but it´s sillyest thing i ever encounter. Still i prefer ther serial programming... :) Thank you for all the help. |
Thank you very much for your reply. I have no experience in programming, i am a musician and i really appreciate you guys help. I did read all posts before commenting but as nretro used Debian i did think it was different on windows.Your pictures did not show this action nor it was mentioned so i got confused. Thank you anyway. have a good day. |
Did what @nretro mentioned above -
Installed the ST-Link V2 and had the three pins above connected to the U144K. Powered up the Eilasung FDD-UDD U144K on the rear floppy power connector. Ran this command and keep getting this: /d/dev/openocd/bin/openocd.exe -f /d/dev/openocd/share/openocd/scripts/interface/stlink.cfg -f /d/dev/openocd/share/openocd/scripts/target/stm32f1x.cfg
|
Try connecting pin 07 (NRST) to NRST/RESET on the ST-Link. Currently you are holding the Gotek in permanent reset. That could be a problem. |
Tried that as well. I even dropped the external +5V connector and hooked up the following (on the ST Link V2):
The unit powers up just fine hooking up that entire 5-pin header directly to the ST Link, but alas, still getting the same errors. I bought three of these, so will try the other two. I brought up the ST-LInk software and did a Target->Connect to target. Same error. Went into Settings-> Mode and changed from Normal to "Connect Under Reset". No change, still can't connect to the target. Very strange. Either I got a bum drive or a bum ST-Link. (or they've changed the firmware on the chip maybe?) |
Just an update. Here's what worked for me: Hooked up the four pins to the ST-Link. Did not hook up floppy power.
Shorted Ground on the floppy power connector to 07 (NRST). Ran the STM steps from 5 onward that @nretro mentioned above. Success! |
Can I connect the buzzer in this version? |
Yes buzzer will work. |
What are the connection pins? I didn't see the JB |
Position J3 |
Hi, i have points for rotatory option, but do you know some pin for push button (Menu and options button). Thank you! |
Another numpty that bought the wrong model :( Anyways. I bought the stlink v2 and hooked it up as per the image posted by zebra9000 No matter how quick or slow I disconnect 07 from ground I get the following message
I have tried multiple combinations with no success.... I did notice this comment on zebra3000's post but it looks like the image folder no longer exists.
STM32 ST-LINK Utility v4.6.0.0 Regards |
@ADoozer Not sure what happened to the link. Probably shared so others could edit and someone else deleted it. Ugg.
Files for docs: https://1drv.ms/u/s!Alt5wRhQYKD7gfxDsTW_32XvasHkVQ?e=o390HO Image 1Image 2Image 3Image 3.5Image 4Image 5 |
thanks zezba9000. Looks like I have the correct settings, wired the same as your image, but still just getting the cant connect message. Tried disconnecting 07 from ground the instant I press connect all the way up to 1 or 2 seconds later - must have done it 100 times by now :( All jumpers removed. PCB markings say ELS34E@2309 (ARM STM32F105 R8T6) looks identical to the picture you posted. Its got me beat... for the sake of another $40 I should just buy the correct model. regards |
@ADoozer Maybe try playing with the RST wire. Try leaving it connecting it to the NRST pin. |
Thanks again zezba9000. Tried powering up with the RST and NRST connected. The RST line from the STLINK is at 2.2v (on the scope) and doesnt seem do do anything when i press connect, does this seem right? Tried powering up the USB before applying power to the gotek (both with NRST tied to ground and connected to RST pin) with no luck either. Tried different USB ports, different wires and a different breadboard while clutching at straws. Tried using the 3.3v directly to the jtag header as someone else suggested (instead of the 5v to the power connector). I have absolutely no idea what I'm doing in Linux but I guess that's an option?! I've decided I am too stubborn to go out and buy the correct model, so I'll keep on trying for now. regards |
Can someone who has got the rotary encoder working clarify the CLK, DT and SW connections please? |
What exactly is the problem? |
Where in the wiki are the connections for connecting a rotary encoder to the ELS34E model? I have connected many to the more standard popular Gotek models but it's the first time I've seen this one. |
Ah, sorry. It‘s here: See #456 but it's not easy (no header). Dietrich |
Hey Dave, All the best, |
Thanks EuphoricPenguin. Still no dice. I think the cheap STLink V2 might be my real issue. I hooked up the scope again and I'm not seeing any clock or data activity. (Even if the clock doesn't run constantly, I would expect to see something on one of the wires when I hit connect) I'm just gonna buy the correct version and strip this board for parts. Regards Dave |
I have connected my ST-Link correctly, but if I try to program it I always get an error "Could not disable Read Out protection". Like the chip is protected. And when I go to the "Option Bytes" and try to disable RDP, it fails... |
I had the same issue as yours and was not able to connect the board. |
Like antoniograzioli mentioned, this could be something to do with your settings. I'm pretty sure I used the default ones, though. I'm using a cheap $5 clone STLink as well, so unless you got a dud, they seem to work just fine. I've also heard people claim the pinout on the clones is wrong, but I followed mine as it was printed and it worked fine. |
I have the same issues either with the Original ST-LInk from ST and with a Cheap clone, so I don't think the programmer is the culprit here. Try the settings as I mentioned and you'll probably be successful in connecting. |
I bought a blue pill board for a couple bucks to test, and I have the same issue with the ST-Link. I have tried with ST-Link utility, Cube programmer and cubeIDE with multiple different settings and I get the exact same error. Note: I can update the firmware without issue and it detects the st-link serial but nothing coming out the other hole. I did manage to get some clock pulses on the scope by removing the can and poking around but they definitely weren't what I would expect a clock signal to look like Got another ST-Link ordered so just waiting on the posty Regards |
The plot thickens. I checked the pinout, and the etching on the board doesn't match the legend on the shell. I have belled out the 3.3v, 5v and GND rails and they are correct (Validated the GND and 5v to the USB) I cant make out the writing on the 2nd pin from top of the right image, but from deduction this should be the SWDIO assuming the etching is correct. Still doesn't work when connecting to the blue pill or the gotek, but its possible the board could now be cactus. I do see something that resembles a clock now when I look at the correct pin (top pin on right image not center on right image) which is a step in the correct direction [Edit] [/Edit] Regards |
@ADoozer Yes with those ST-LINK V2 from China you must make sure to look at PCB and not cover. |
New ST-Link V2 = 1st time success and happiness Thanks to everyone who helped me get this far especially zezba9000 for the detailed documents and images. Next up gaming........ then LCD screen. Regards |
Followed all your instructions, I can connect using an original and a clone ST-LinkV2. Both in ST-Link utility and in Cube programmer I still have errors because "read out protection is enabled"...and when i try to disable it I get a "Cannot disable Read Out Protection" and I cannot erase memory, looks like it's protected and it's impossible to disable write protect and/or any Option Bytes...any hel appreciated at this point, or I will trahs this Floppy Drive... |
I would double check your ST-Link pins on the PCB directly like ADoozer showed is needed. |
I have checked them, on my ST-Link the marking on the PCB and on the case are the same.. and I have also tried with an original ST-Link...always the same issues, Memory is protected and there's no way apparently to disable it... |
You can also disable RDP through JTAG/SWD with a suitable adapter, but it's less easy to set that environment up. |
This method successfully flashed Flashfloppy 3.41 on my EILASUNG ELS34E@2309 board, and it works well on the Yamaha qy300. |
By accident (resp. stupidity) I bought a FDD-UDD U144K.
Looks quit similar, but it's not obvious how the jumpers have to be connected to flash a new firmware. It has got a 7x2 pin header labeled J0, J1, ... J6 and a 5x1 pin header labeled 07,46,47,48,49. Did anybody already figure out how these relate to the headers of the standard gotek?
The text was updated successfully, but these errors were encountered: