Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Blogs & guides and tales of woo by forum members.
User avatar
exxos
Site Admin
Site Admin
Posts: 28357
Joined: 16 Aug 2017 23:19
Location: UK

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Post by exxos »

JezC wrote: 30 Jun 2023 14:26 @exxos Any idea if/when you might have more of these available in your store?
There's a lot of issues to solve yet. Could be with the drive or STE or both.. I need to solve another STE DMA issue first.. but I don't really have time/ motivation to go down that rabbit hole again. It also doubles up as a issue with my STE booster as well. I think my clock-sync board will solve some problems..

But AFAIK, people are having issues with even stock machines ? @dad664npc did some tweaks which seemed to have solved some problems. but not sure the status of it all currently. Plus I'm busy with the DFB1 stuff at the moment.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Post by Badwolf »

Dad664npc's latest code* solved the write problem for me on my (stockish) STE, so I'm sure his latest firmware would help.

BW




* That code's secret squirrel stuff, though, so I can't just apply it to the open source version, but it does tell me firmware can help & give me a target
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
BigSteve
Posts: 32
Joined: 25 Jun 2022 14:55

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Post by BigSteve »

Newbie question...

Is the only way to power this through the microUSB of the Pico? Pin 39 (VSYS) seems not to be connected anywhere on the motherboard.

If this is the case (and I will assume designed to ensure power stays on separate to Atari power) then what is the 2 pin header marked 5V for? Is it needed?

Edit - follow on question... I get 4 bombs everytime loading HDDRIVER (v12).
DaveC
Posts: 125
Joined: 18 Sep 2020 18:24

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Post by DaveC »

BigSteve wrote: 02 Jul 2023 02:11 Edit - follow on question... I get 4 bombs everytime loading HDDRIVER (v12).
If you haven't already just updating the firmware should fix things: viewtopic.php?p=102111#p102111
User avatar
chronicthehedgehog
Site sponsor
Site sponsor
Posts: 383
Joined: 08 May 2022 18:11
Location: The Midlands

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Post by chronicthehedgehog »

It's working faultlessly on my STe with the latest firmware and ICD pro drivers. It doesn't like the hddrivers though yet.
dad664npc
Posts: 166
Joined: 12 Sep 2022 14:32
Location: Oxfordshire

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Post by dad664npc »

Apologies for lack of documentation - the draft is a WIP. The HDC is powered via USB connector. The pin-header adjacent to the IDC connector is marked "exxos adaptor 5v". The idea was to put 5v on pin 20 of the IDC connector - then the exxos adaptor will have 5v for pull-up resistors. These pull-ups would only be beneficial on an ST(fm) not the STE.

Please download the latest firmware from - bbansolutions.co.uk link in signature below
ATARI STfm, STe, Mega ST, TT
Amstrad CPC464, CPC6128
PiStorm dev - https://github.com/gotaproblem/pistorm-atari
Pico HDC - https://bbansolutions.co.uk
BigSteve
Posts: 32
Joined: 25 Jun 2022 14:55

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Post by BigSteve »

DaveC wrote: 02 Jul 2023 07:58 If you haven't already just updating the firmware should fix things: viewtopic.php?p=102111#p102111
Thanks Dave - Yep - applied the UF2 update already. This is an H5 machine - I am going to dig out a real STFM and compare.
User avatar
chronicthehedgehog
Site sponsor
Site sponsor
Posts: 383
Joined: 08 May 2022 18:11
Location: The Midlands

ICD PRO DOS partitions

Post by chronicthehedgehog »

Just posting this here as it might be useful to fellow PICO drive users.

Could be common knowledge for all I know. Apologies if I'm trying to teach you to suck eggs :D

The consensus seemed to be that ICD Pro didn't like DOS partitions but I thought I'd give it a go since I read in several places that it should be able to handle FAT16.

FAT partitions created under Windows didn't work at all, but those created with Linux/fdisk did. Here's my transcript:

Code: Select all

# assuming this is a fresh sd card, the first partition will become /dev/sda1
# change device as necessary
# n.b. fdisk is interactive. fdisk prompts replaced by comments
sudo fdisk /dev/sda
# new partition
n
# primary
p
# number
1
# first sector
2048
# last sector
+32M
# change type from linux to fat
t
# hex code
4
# save
w

# format the partition
sudo mkfs.fat -D 0x80 -F 16 -M 0xF8 -S 1024 -n DOS1 /dev/sda1
Now assuming you haven't allocated all your drive letters to disk 0, ICD will recognise the DOS partition at boot time on the second disk/card.

I should add that reads/writes to/from TOS drives seem fine but TOS throws some weird errors if you try and delete from the FAT16 partition. I assume ICD handling of FAT is a little lacking. Fine for transferring data but I wouldn't keep anything precious on it.
User avatar
exxos
Site Admin
Site Admin
Posts: 28357
Joined: 16 Aug 2017 23:19
Location: UK

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Post by exxos »

Is there any interest still in another small run of the pico drives ?
User avatar
JezC
Posts: 2783
Joined: 28 Aug 2017 23:44

Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)

Post by JezC »

exxos wrote: 09 Aug 2023 00:16 Is there any interest still in another small run of the pico drives ?
Yes...and not just to help by testing in an STE with your 32MHz plug-in accelerator!
:D

Probably 1 or 2 for me (funds being the limit ATM)

Return to “MEMBER BLOGS”

Who is online

Users browsing this forum: Baidu [Spider], ClaudeBot, semrush [bot] and 13 guests