Skip to content
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

Write errors in first sectors #14

Closed
mlorenzati opened this issue Jan 5, 2021 · 3 comments
Closed

Write errors in first sectors #14

mlorenzati opened this issue Jan 5, 2021 · 3 comments

Comments

@mlorenzati
Copy link

On a PCB I built (which I can share the schematic and pcb) (no additional ftdi if using a CH340 based nano clone) I see that event though test are passing and write shows success (on a write and verify scenario) when reading the written disk, first sector tend to be not properly written.
Wiring and power are ok, FFD and disk are not a known good since I dont have other systems to try it.

BTW I tested with the pre built windows executable.

@RobSmithDev
Copy link
Owner

Out of interest, can you share a link to this CH340 nano clone? Im curious to see how CTS is accessed

@mlorenzati
Copy link
Author

Sure, have a look here:
https://cdn.hackaday.io/files/293271254726368/nano_ch340_schematics-rev1.pdf

I added an extra pin to the nano and wired it to pin 9 of ch340
Check that pin 9 (CTS) is near a border of the nano PCB, you can leverage the hole the pcb has there to place the additional pin.

Since as you said arduino nano is just to tight for timing, I moved to Greaseweazel project which uses a STM32F103 Cortex M3 at 72Mhz

@RobSmithDev
Copy link
Owner

Discovered that CH340 chips are nasty, so closing this. Please switch to FTDI chips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants