English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware > Hardware mods

 
 
Thread Tools
Old 16 January 2018, 12:52   #3221
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
The drivers will be the same
plasmab is offline  
Old 16 January 2018, 13:22   #3222
solidcore
Registered User
 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
Quote:
Originally Posted by plasmab View Post
The drivers will be the same
Sorry for confusion but I'm aware the drivers will be same, meant tf530 as a path to contribute to the spi in general moving forward with your code there and here as a whole. I may get together a cpld spi prototype with the help of bprepared , use your code and try do this on the firebird cd32 riser but we will see otherwise I'll get the a500 sorted depends what I feel like . I think most people I talk to want Ethernet so I'll go down that path.

Wonder if this can be done with winuae and USB spi? Hmm

Last edited by solidcore; 16 January 2018 at 13:28.
solidcore is offline  
Old 16 January 2018, 19:01   #3223
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by solidcore View Post
Sorry for confusion but I'm aware the drivers will be same, meant tf530 as a path to contribute to the spi in general moving forward with your code there and here as a whole. I may get together a cpld spi prototype with the help of bprepared , use your code and try do this on the firebird cd32 riser but we will see otherwise I'll get the a500 sorted depends what I feel like . I think most people I talk to want Ethernet so I'll go down that path.

Wonder if this can be done with winuae and USB spi? Hmm


Toni contacted me about that last bit offering to help, but then said he doesn’t want to add hardware that doesn’t exist. Fair enough.
plasmab is offline  
Old 16 January 2018, 19:10   #3224
solidcore
Registered User
 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
Quote:
Originally Posted by plasmab View Post
Toni contacted me about that last bit offering to help, but then said he doesn’t want to add hardware that doesn’t exist. Fair enough.
Ahhhh fair enough then . Would of been nice feature really oh well . Maybe Toni will reconsider at some point .
solidcore is offline  
Old 16 January 2018, 19:18   #3225
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
I may compile a patch/fork of fs-uae for testing. Adding my auto config badger should be easy
plasmab is offline  
Old 16 January 2018, 19:21   #3226
solidcore
Registered User
 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
Quote:
Originally Posted by plasmab View Post
I may compile a patch/fork of fs-uae for testing. Adding my auto config badger should be easy
That would be brilliant . Please do . Thanks Stephen .
solidcore is offline  
Old 16 January 2018, 19:38   #3227
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Which usb spi module where you thinking of
plasmab is offline  
Old 16 January 2018, 19:45   #3228
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
Quote:
Originally Posted by solidcore View Post
Ahhhh fair enough then . Would of been nice feature really oh well . Maybe Toni will reconsider at some point .
I won't do hardware emulation of new previously "unknown" hardware (SPI) without any way to properly test it with existing and functional driver.

Finding some existing hardware that uses SPI and has confirmed working driver would fix that problem.
Toni Wilen is online now  
Old 16 January 2018, 19:59   #3229
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
I am considering recompiling EmuTOS with TF530 spi port support. The driver in there is comprehensive.
plasmab is offline  
Old 16 January 2018, 20:03   #3230
solidcore
Registered User
 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
Toni, that's alright I hear what you're saying maybe we can find something for you at some point . Will need to do some research my end . Thanks again and great work with winuae it's a blessing!
Edit : is sd net off the cards for you ?

Stephen, what USB: spi controller you thinking would be sufficient anyway I have been trying to find a option that is cheap and meets the requirements but so many solutions come up especially adruinos but unsure about that. Or are we keeping it strictly software sided?

Oh yeah love a bit of TOS me , are drivers cross compatible between the two ? I don't know much about Amiga and Atari drivers .

Last edited by solidcore; 16 January 2018 at 20:11.
solidcore is offline  
Old 16 January 2018, 20:21   #3231
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,654
What is SPI?
Amiga1992 is offline  
Old 16 January 2018, 21:23   #3232
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by Toni Wilen View Post
I won't do hardware emulation of new previously "unknown" hardware (SPI) without any way to properly test it with existing and functional driver.

Finding some existing hardware that uses SPI and has confirmed working driver would fix that problem.
To be clear there is nothing required to emulate SPI. SPI isnt really a protocol so much as "A master and a slave exchange a byte simultaneously".

The SD card protocol is a different matter but there already exists an emulation for this in SoftGUN.

http://softgun.sourceforge.net
http://softgun.sourceforge.net/sdcard.shtml

I've used this with Hatari before. All you do is compile in the MMC code and whenever the amiga writes to the 8 bit SPI port you write that byte to the MMC layer with the spi_byte_exchange() type api call. Aside from setting up the hardfile and card versions thats the job done.

I'll demo this with something i can compile on linux if i get time. Unless i can compile winuae without installing Visual Studio.
plasmab is offline  
Old 16 January 2018, 21:33   #3233
spidi
Registered User
 
Join Date: Jan 2014
Location: Wroclaw/Poland
Posts: 245
Quote:
Originally Posted by Toni Wilen View Post
I won't do hardware emulation of new previously "unknown" hardware (SPI) without any way to properly test it with existing and functional driver.

Finding some existing hardware that uses SPI and has confirmed working driver would fix that problem.
Here is a working SPI implementation for the Wicher 500i card. Currently card supports the DS1306 chipset and the mp3 decoder VS1003.
spidi is offline  
Old 17 January 2018, 00:02   #3234
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
I grabbed the WinUAE git repo and it doesnt compile. Hardcoded paths in there for D:\Amiga and some bits and pieces that dont compile with VS2017 Community Edition. I'll use FSUAE for my tests. I recommend some work on the build process for WinUAE but thats always low on the priority list.
plasmab is offline  
Old 17 January 2018, 07:41   #3235
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
Quote:
Originally Posted by plasmab View Post
To be clear there is nothing required to emulate SPI. SPI isnt really a protocol so much as "A master and a slave exchange a byte simultaneously".

The SD card protocol is a different matter but there already exists an emulation for this in SoftGUN.
It won't change the situation. I won't do anything blindly. Test case is required. I don't do test cases

Quote:
Originally Posted by spidi View Post
Here is a working SPI implementation for the Wicher 500i card. Currently card supports the DS1306 chipset and the mp3 decoder VS1003.
Which is totally different than talking to a SD card. (and those kinds of expansions don't really make much sense in my opinion except for experimentation)

Quote:
Originally Posted by plasmab View Post
I grabbed the WinUAE git repo and it doesnt compile. Hardcoded paths in there for D:\Amiga and some bits and pieces that dont compile with VS2017 Community Edition. I'll use FSUAE for my tests. I recommend some work on the build process for WinUAE but thats always low on the priority list.
You need http://www.winuae.net/files/b/winuaeinclibs.zip and latest Windows 10 SDK. 2017 is supported. Don't use debug builds. I still don't do documentation.
Toni Wilen is online now  
Old 17 January 2018, 11:18   #3236
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Yeah I’m an automation freak. I want to dockerize everything. I’ll use FS-UAE for now.
plasmab is offline  
Old 17 January 2018, 15:08   #3237
amigoun
Registered User
 
amigoun's Avatar
 
Join Date: May 2010
Location: Czech Rep
Posts: 599
Does anyone here run HRTMon on CD32 & TF328? I managed to run it with the IDE working. I can for example save picture to CF within the HRTMon. I would like to use the SA function to work as I use it on A1200 quite often. Here it freeze. Most likely this is expected due missing features of CD32, but still does anyone think this can be made to work?
amigoun is offline  
Old 17 January 2018, 15:50   #3238
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by amigoun View Post
Does anyone here run HRTMon on CD32 & TF328? I managed to run it with the IDE working. I can for example save picture to CF within the HRTMon. I would like to use the SA function to work as I use it on A1200 quite often. Here it freeze. Most likely this is expected due missing features of CD32, but still does anyone think this can be made to work?


I don’t think I wired up the NMI in the ram cpld firmware... when I saw people with the NMI header Jumpered it scared me off doing that. I’ve not tried HRTmon yet but it’s on my (long) todo list.
plasmab is offline  
Old 17 January 2018, 17:04   #3239
amigoun
Registered User
 
amigoun's Avatar
 
Join Date: May 2010
Location: Czech Rep
Posts: 599
I dont use the NMI, I use the FREEZEKEY tooltype of WHDLoad to activate HRTMon by simple keypress.
amigoun is offline  
Old 17 January 2018, 17:06   #3240
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Expansion board for the CD32

Ah ok. No idea about your issue. Are you on v41?

Last edited by plasmab; 17 January 2018 at 17:11.
plasmab is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hello and help identifying my expansion board! edd_jedi New to Emulation or Amiga scene 7 04 April 2010 12:52
Can anyone identify this RAM expansion board?? PowerPie5000 support.Hardware 66 02 August 2009 13:04
WTB: A1200 Expansion Board robheaton MarketPlace 17 11 June 2009 09:49
an expansion board toolkit --might be useful to you giannis_vassili support.Hardware 1 14 June 2008 20:51
Wanted: A1200 expansion board Freckle MarketPlace 0 30 August 2004 16:36

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:34.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.16223 seconds with 13 queries