Git Product home page Git Product logo

Comments (17)

keirf avatar keirf commented on July 17, 2024

It does mean it's fake. They will perform many operations correctly, but more complex stuff involving certain peripherals, and DMA, and interrupts may behave oddly. If all you want to do is blink an LED then they're certainly fine. ;)

from greaseweazle.

MeteorSlime avatar MeteorSlime commented on July 17, 2024

It does mean it's fake. They will perform many operations correctly, but more complex stuff involving certain peripherals, and DMA, and interrupts may behave oddly. If all you want to do is blink an LED then they're certainly fine. ;)

Thank you very much for the answer.
Do you know a genuine inexpensive source of Blue Pills?
How do you find out if a Blue Pill is fake or not before buying?

from greaseweazle.

keirf avatar keirf commented on July 17, 2024

I actually think they're all fake. Going down that avenue I would expect to replace the fake MCU with a genuine STM32F103C8T6 chip purchased through a reputable supplier.

from greaseweazle.

MeteorSlime avatar MeteorSlime commented on July 17, 2024

I actually think they're all fake. Going down that avenue I would expect to replace the fake MCU with a genuine STM32F103C8T6 chip purchased through a reputable supplier.

Where do you Purchase the Blue Pills for your Projects or do you desolder the STM32F103C8T6 every time and replace with genuine one?

from greaseweazle.

keirf avatar keirf commented on July 17, 2024

I don't use Blue Pills at all any more, and I haven't done for years. These days I'd generally make a custom PCB and install an Artery (AT32F4xx) chip of some kind.

from greaseweazle.

MeteorSlime avatar MeteorSlime commented on July 17, 2024

Will my fake Blue Pill work to build a Greaseweazle?

from greaseweazle.

keirf avatar keirf commented on July 17, 2024

Try it and see. Quite possibly.

from greaseweazle.

MeteorSlime avatar MeteorSlime commented on July 17, 2024

I tried it and this is what happend:
When plugging in the USB Cable the drive Spins for half a second.
I typed in the command: ./gw.exe read test.scp --drive=b to test it
I used the straight part of the ribbon cable.
It hung for a while and then said this:
** FATAL ERROR:
Write timeout
the drive did not spin during the hanging period.
I tried ./gw info and it also hangs.
The greaseweazle does show up in device Manager as COM14.
I don't know if this is because my floppy drive is broken, i soldered the pcb incorrectly or because the blue pill is fake.
I used tebl's PCB:https://github.com/tebl/Amiga-DrawBridge/blob/main/documentation/greaseweazle_basics.md because it doesn't require SMD soldering.

from greaseweazle.

keirf avatar keirf commented on July 17, 2024

Try ./gw.exe --bt read test.scp --drive=b as this will give a backtrace of the error location. It's probably in the serial comms library though, which isn't promising.

from greaseweazle.

MeteorSlime avatar MeteorSlime commented on July 17, 2024

It hangs extremly long.
When i unplug the USB cable while it's hanging then it give me the following error:
Traceback (most recent call last):
File "C:\Users\runneradmin\AppData\Roaming\Python\Python311\site-packages\cx_Freeze\initscripts_startup_.py", line 124, in run
File "C:\Users\runneradmin\AppData\Roaming\Python\Python311\site-packages\cx_Freeze\initscripts\console.py", line 16, in run
File "gw.py", line 3, in
File "C:\hostedtoolcache\windows\Python\3.11.8\x64\Lib\site-packages\greaseweazle\cli.py", line 69, in main
File "C:\hostedtoolcache\windows\Python\3.11.8\x64\Lib\site-packages\greaseweazle\tools\read.py", line 225, in main
File "C:\hostedtoolcache\windows\Python\3.11.8\x64\Lib\site-packages\greaseweazle\tools\util.py", line 457, in usb_open
File "C:\hostedtoolcache\windows\Python\3.11.8\x64\Lib\site-packages\greaseweazle\usb.py", line 196, in init
File "C:\hostedtoolcache\windows\Python\3.11.8\x64\Lib\site-packages\greaseweazle\usb.py", line 239, in _send_cmd
File "C:\hostedtoolcache\windows\Python\3.11.8\x64\Lib\site-packages\serial\serialwin32.py", line 325, in write
serial.serialutil.SerialTimeoutException: Write timeout

from greaseweazle.

keirf avatar keirf commented on July 17, 2024

Yes this means usb is not working properly on your fake chip.

from greaseweazle.

MeteorSlime avatar MeteorSlime commented on July 17, 2024

Yes this means usb is not working properly on your fake chip.

In tebl's documentation it also said that soldering the 1.5K Resistor externally could also help.
I tried it and it just made the activity light on the pcb permanently glow

from greaseweazle.

keirf avatar keirf commented on July 17, 2024

That's only needed if the pill isn't identified as a usb device at all.

from greaseweazle.

MeteorSlime avatar MeteorSlime commented on July 17, 2024

Well i guess i'll buy a new Blue Pill.

from greaseweazle.

keirf avatar keirf commented on July 17, 2024

Your determination is commendable!

from greaseweazle.

MeteorSlime avatar MeteorSlime commented on July 17, 2024

My new Blue Pill arrived now i get this error:
Writing c=0-79:h=0-1
Format amiga.amigados
T0.0: Writing Track (Flux: 200.0ms period, 219.9 ms total, Terminate at index)
T0.0: Writing Track (Verify Failure: Retry #1)
T0.0: Writing Track (Verify Failure: Retry #2)
T0.0: Writing Track (Verify Failure: Retry #3)
** FATAL ERROR:
Failed to verify Track 0.0

when trying to write adf images.
I use the following command: ./gw.exe write test.adf --drive=a
Reading and writing scp images works just fine.
I converted my adf image to a scp image and it wrote just fine i still have to test it on my amiga.
I hooked up a PC floppy instead of a real amiga floppy drive.
Is that maybe the problem?

from greaseweazle.

MeteorSlime avatar MeteorSlime commented on July 17, 2024

I tried it on my amiga and it worked!

from greaseweazle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.