keirf / flashfloppy

Floppy drive emulator for Gotek hardware
Other
1.33k stars 193 forks source link

Update in flashing instructions #11

Closed TabajaraLabs closed 6 years ago

TabajaraLabs commented 6 years ago

Dear friend Please, add these info to the flashing doc http://tabajara-labs.blogspot.com.br/2015/03/amiga-gotek-floppy-emulator.html This is a common problem found in flashing. The data/clock port are open collector and needs these two resistors to operate properly. Most USB to TTL adapters doesn't have it. THANKS for the software and it being open. Greetings from Brazil!

keirf commented 6 years ago

Thanks. Not an issue I've seen but there it is in the official documentation so I will add a mention of it. :)

keirf commented 6 years ago

Actually, before I do, have you any concrete examples of where this has been a problem? I've never seen the problem myself, nor had it reported to me by any users, nor does any other Gotek programming guide mention the pull-up resistors. Furthermore AN2606 explicitly mentions that Serial TX is configured as Output Push-Pull on STM32F105xx, and we can expect that typical serial adapters have their TX as Push-Pull too.

Hence I'm skeptical -- there are quite a few ways in which programming can and often does fail (bad host drivers, failure to negotiate the correct comms protocol, failure to negotiate the correct baud rate, ...) and explicit mention of this previously unknown issue risks confusing users and throwing them off track in diagnosing their actual problem.

TabajaraLabs commented 6 years ago
Hi Keir

Well, some 50+ flashed drives with many different usb-to-ttl adapters, 

count? :)

I work with hardware design in Brazil, and I'm very used to these 

usb-to-ttl chinese adapters, not always they completely follow the specifications. Believe it or not, I had this problem in most drives I programmed to friends, for use in Amiga computers and old music keyboards. Feel free to use or not this info. I had problems and these pair of resistors were the solution :)

Greetings from Brazil!
Alexandre

----- Original Message ----- From: "Keir Fraser" notifications@github.com To: "keirf/FlashFloppy" FlashFloppy@noreply.github.com Cc: "TabajaraLabs" alexandre.tabajara@gmail.com; "Author" author@noreply.github.com Sent: Wednesday, September 27, 2017 11:45 AM Subject: Re: [keirf/FlashFloppy] Update in flashing instructions (#11)

Actually, before I do, have you any concrete examples of where this has been a problem? I've never seen the problem myself, nor had it reported to me by any users, nor does any other Gotek programming guide mention the pull-up resistors. Furthermore AN2606 explicitly mentions that Serial TX is configured as Output Push-Pull on STM32F105xx, and we can expect that typical serial adapters have their TX as Push-Pull too.

Hence I'm skeptical -- there are quite a few ways in which programming can and often does fail (bad host drivers, failure to negotiate the correct comms protocol, failure to negotiate the correct baud rate, ...) and explicit mention of this previously unknown issue risks confusing users.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/keirf/FlashFloppy/issues/11#issuecomment-332545248


Este e-mail foi verificado quanto a vírus pelo AVG. http://www.avg.com

keirf commented 6 years ago

Okay, any chance of a photo of how you attached the pullups? I guess you solder them on the adapter itself. Also this would give a nice picture of an offending adapter :) Most people are just gonna run scared of being given a schematic like in the AN2606 document they need to be shown physically solder point A and point B ;)

TabajaraLabs commented 6 years ago
Hmmm...Unfortunately I didn't take any photos. But I'll find an usb 

adapter and a gotek drive here and take some photos if you wish. I always solder the pullups on the gotek itself since it does no harm to the circuit and from now on, it accepts any usb adapter. Give me one or two days and I'll produce some photos :)


----- Original Message ----- From: "Keir Fraser" notifications@github.com To: "keirf/FlashFloppy" FlashFloppy@noreply.github.com Cc: "TabajaraLabs" alexandre.tabajara@gmail.com; "Author" author@noreply.github.com Sent: Wednesday, September 27, 2017 1:31 PM Subject: Re: [keirf/FlashFloppy] Update in flashing instructions (#11)

Okay, any chance of a photo of how you attached the pullups? I guess you solder them on the adapter itself. Also this would give a nice picture of an offending adapter :) Most people are just gonna run scared of being given a schematic like in the AN2606 document they need to be shown physically solder point A and point B ;)

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/keirf/FlashFloppy/issues/11#issuecomment-332579661


Este e-mail foi verificado quanto a vírus pelo AVG. http://www.avg.com

keirf commented 6 years ago

No worries, I will include this subject as part of a larger troubleshooting section on serial programming.

Povvercrazy commented 6 years ago

Hi Keirf, I have had this exact problem to say the least it was extremely frustrating, I am using a CP2102 chipped usb-ttl module and it just wasn't working, found this thread, added the two resistors and worked perfectly, might be a very small amount of people who suffered this issue, but I think its worth mentioning for the few who may encounter it. Thanks for your work btw !!

keirf commented 6 years ago

Okay this is mentioned in a new Troubleshooting section, with link to AN2606 app note.