Search found 401 matches

by kitune-san
Thu Mar 02, 2023 12:05 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

Does the GND1 pin on the unoxt card slot 6 pin drop to GND?
I don't know why, but apparently it is connected to the fpga port(N11).

by kitune-san
Wed Mar 01, 2023 4:31 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

The work to recognize the SD card is done only on the cmd line; the dat line will remain high until then.

by kitune-san
Wed Mar 01, 2023 2:17 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)
Replies: 125
Views: 39121

Re: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)

I forgot to push this commit yesterday.
The bus endianness may be the opposite of that of the Mister core.
https://github.com/kitune-san/PCXT_DeMi ... 84e8239149

by kitune-san
Wed Mar 01, 2023 2:14 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)
Replies: 125
Views: 39121

Re: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)

Thanks for the information. Next we will work on getting the waveforms and steadily correcting my errors. Check between xtbus-ide. trigger ide0_chipselect_n and see if data read/write is occurring. Check the hdd bus; monitor the hdd_* signal and see if any communication is occurring. Can you use SignalTap? I have created a stp file. Please refer t...
by kitune-san
Wed Mar 01, 2023 12:49 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

Please check that CMD changes at the same time as the falling edge of CLK.
In the figure below, the waveform looks sluggish, but this is because a passive probe is connected. Ignore it for now.

2023-03-01 214837.png
2023-03-01 214837.png (143.66 KiB) Viewed 4470 times
by kitune-san
Wed Mar 01, 2023 12:14 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

Could you please check the waveforms (SD_SCLK, SD_MOSI) immediately after resetting the core?

If the waveform is as follow, the SD card is not recognized.

20230301-0002.png
20230301-0002.png (67.23 KiB) Viewed 4489 times

The following is a normal case.

20230301-0001.png
20230301-0001.png (133.31 KiB) Viewed 4489 times

If anything other than the above is the case, some command has failed.

by kitune-san
Tue Feb 28, 2023 11:59 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)
Replies: 125
Views: 39121

Re: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)

Thanks for the information.
Next we will work on getting the waveforms and steadily correcting my errors.

  • Check between xtbus-ide. trigger ide0_chipselect_n and see if data read/write is occurring.
  • Check the hdd bus; monitor the hdd_* signal and see if any communication is occurring.
by kitune-san
Tue Feb 28, 2023 3:47 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

It seems difficult to analyze further.

One last thing, since the following signal is in reg.
Could you try changing it to wire or back to 1'b1?

Thank you.

2023-03-01 004353.png
2023-03-01 004353.png (16.3 KiB) Viewed 4758 times
by kitune-san
Tue Feb 28, 2023 3:29 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

2023-03-01 002834.png
2023-03-01 002834.png (33.33 KiB) Viewed 4788 times

Oops! commented out... :o

by kitune-san
Tue Feb 28, 2023 3:25 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

Wrong, system_2MB
I am a little confused.

by kitune-san
Tue Feb 28, 2023 3:19 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

Just to be sure, the top-level module is unoxt_top, correct?

by kitune-san
Tue Feb 28, 2023 2:52 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

After reverting the changes, could you make the following changes to slow down the clock?

2023-02-28 234942.png
2023-02-28 234942.png (21.59 KiB) Viewed 4862 times
by kitune-san
Tue Feb 28, 2023 2:26 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

My suggestion. Could you please try this change when you have time? https://github.com/kitune-san/PCXT_ZXUno/tree/mmc_suggestion I've tried it, but it still doesn't detect anything... to rule out, could you tell me what I can change in KFMMC_IDE to force its identification by XTIDE , even if then the SD usage doesn't work... I want to make sure th...
by kitune-san
Tue Feb 28, 2023 2:11 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)
Replies: 125
Views: 39121

Re: Extend PCXT Development to Improve MiSTer Core (DeMiSTify Ports)

I made the following repo of my previous suggestions.
I have not been able to debug because I have not prepared a build environment and I do not have a development board. Sorry.

https://github.com/kitune-san/PCXT_DeMi ... suggestion

The following wires would be connected to data_io.

2023-02-28 230812.png
2023-02-28 230812.png (27.24 KiB) Viewed 5173 times
by kitune-san
Tue Feb 28, 2023 12:19 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

I believe that native mode (same implementation as MiSTer) can be used with ZXUno without the need to implement SPI. I will look for ZXUno to see if I can buy it (and deliver it to Japan). Here would be the commit of changes related to the KFMMC implementation, so you can look only at the changes, and nothing else, to focus on them. It synthesizes...
by kitune-san
Tue Feb 28, 2023 4:51 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

At this time, if the SD card is not recognized, the KFMMCIDE identifier will not be displayed.
I'm busy and will continue later.

by kitune-san
Mon Feb 27, 2023 11:58 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

Thanks for the information.
The port input/output settings need to be reviewed.
In native mode change some ports to inout.
I will write down the specific changes after I finish today's work.

by kitune-san
Mon Feb 27, 2023 3:13 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

I believe that native mode (same implementation as MiSTer) can be used with ZXUno without the need to implement SPI.

I will look for ZXUno to see if I can buy it (and deliver it to Japan).

by kitune-san
Mon Feb 27, 2023 3:05 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

I upload modified version of the Verify command.

PCXT_MMC_TEST_2.zip
(1.4 MiB) Downloaded 160 times

The write speed took 17ms per 512bytes on my chip (SDSC 2GB).
512/17ms = 30kByte/s.
If clock speed could be increased, I think it could be improved a little more.

20230227-0002_01.png
20230227-0002_01.png (91.72 KiB) Viewed 13632 times
by kitune-san
Mon Feb 27, 2023 12:17 pm
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

spark2k06 wrote: Sun Feb 26, 2023 8:08 am

... because entering the FDISK and trying to do some operation from there, it has been hung in the section of creating a partition.

ATA Command 0x40 was incorrectly implemented.
This is probably why fdisk stops.

by kitune-san
Mon Feb 27, 2023 11:22 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

Apparently, according to my research, MMC's DAT1-7 is pulled up inside the card.
Probably the same for SD cards.

by kitune-san
Sun Feb 26, 2023 11:59 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

not even to resistors.!?

by kitune-san
Sun Feb 26, 2023 11:57 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

If this point is 3.3V, then the same module as the MiSTer should be available. 2023-02-26 203820.png In the original ZXUno project it is as you see it... in other projects I have seen, they are not connected to anything... not even to resistors. I don't really know why. https://zxuno.speccy.org/ficheros/zxuno_v41_sch.pdf I saw the artwork. https:/...
by kitune-san
Sun Feb 26, 2023 11:39 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

If this point is 3.3V, then the same module as the MiSTer should be available.

2023-02-26 203820.png
2023-02-26 203820.png (135.8 KiB) Viewed 14073 times
by kitune-san
Sun Feb 26, 2023 11:27 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

Sorry, I do not maintain the SPI module, so I cannot give you proper advice at this time.

by kitune-san
Sun Feb 26, 2023 11:24 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

sd_clk=SDIO_CLK
sd_mosi=SDIO_CMD
sd_miso=SDIO_DATA0
DAT1-3=HIGH

by kitune-san
Sun Feb 26, 2023 10:01 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

spark2k06 wrote: Sun Feb 26, 2023 8:08 am

I will be doing the port of this development to the ZXUno, so that it works directly with the SD, instead of serdrive... I will tell you the results.

If pull-up is connected to the SD ports of the ZXUno, try the following changes.
It may improve the access speed.

2023-02-26 185822.png
2023-02-26 185822.png (30.73 KiB) Viewed 14165 times
by kitune-san
Sun Feb 26, 2023 9:56 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

I will investigate the cause of the problem. It will take time to resolve the issue.

by kitune-san
Sun Feb 26, 2023 1:38 am
Forum: IBM PC, PCXT, Tandy 1000
Topic: PCXT Core Access to Secondary SD Card
Replies: 105
Views: 31257

Re: PCXT Core Access to Secondary SD Card

The secondary SD port of the MiSTer does not have a pull-up resistor, so the FPGA's internal pull-up resistor is enabled. The clock of the SD card is running at 0.5 MHz because of the high resistance of the internal pull-up resistor. 2023-02-25 014352.png If we could connect a pull-up resistor of about 10kΩ, similar to the primary SD card, secandar...