-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #468 from ZuluSCSI/feature/scsi-ultra
Ultra SCSI (Fast20) support with reclocking the RP2040 and RP2350 line of boards and user editable reclocking timings
- Loading branch information
Showing
56 changed files
with
1,773 additions
and
2,635 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* ZuluSCSI™ - Copyright (c) 2024 Rabbit Hole Computing™ | ||
* | ||
* ZuluSCSI™ firmware is licensed under the GPL version 3 or any later version. | ||
* | ||
* https://www.gnu.org/licenses/gpl-3.0.html | ||
* ---- | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
**/ | ||
#ifndef ZULUSCSI_SCSI2SD_TIMINGS_H | ||
#define ZULUSCSI_SCSI2SD_TIMINGS_H | ||
#include <stdint.h> | ||
extern uint8_t g_max_sync_20_period; | ||
extern uint8_t g_max_sync_10_period; | ||
extern uint8_t g_max_sync_5_period; | ||
extern uint8_t g_force_sync; | ||
extern uint8_t g_force_offset; | ||
#endif // ZULUSCSI_SCSI2SD_TIMINGS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* ZuluSCSI™ - Copyright (c) 2024 Rabbit Hole Computing™ | ||
* | ||
* ZuluSCSI™ firmware is licensed under the GPL version 3 or any later version. | ||
* | ||
* https://www.gnu.org/licenses/gpl-3.0.html | ||
* ---- | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
**/ | ||
#pragma once | ||
#if defined(ZULUSCSI_V1_0) | ||
# if defined(ZULUSCSI_V1_0_mini) | ||
# define PLATFORM_NAME "ZuluSCSI mini v1.0" | ||
# else | ||
# define PLATFORM_NAME "ZuluSCSI v1.0" | ||
# endif | ||
# define PLATFORM_REVISION "1.0" | ||
# define PLATFORM_MAX_SCSI_SPEED S2S_CFG_SPEED_ASYNC_50 | ||
# include "ZuluSCSI_v1_0_gpio.h" | ||
#else | ||
# define PLATFORM_NAME "ZuluSCSI v1.1+" | ||
# define PLATFORM_REVISION "1.1+" | ||
# define PLATFORM_MAX_SCSI_SPEED S2S_CFG_SPEED_SYNC_10 | ||
# define PLATFORM_OPTIMAL_MIN_SD_WRITE_SIZE 4096 | ||
# define PLATFORM_OPTIMAL_MAX_SD_WRITE_SIZE 65536 | ||
# define PLATFORM_OPTIMAL_LAST_SD_WRITE_SIZE 8192 | ||
# define PLATFORM_VERSION_1_1_PLUS | ||
# define ZULUSCSI_HARDWARE_CONFIG | ||
# include "ZuluSCSI_v1_1_gpio.h" | ||
#endif | ||
|
||
#ifndef PLATFORM_VDD_WARNING_LIMIT_mV | ||
#define PLATFORM_VDD_WARNING_LIMIT_mV 2800 | ||
#endif | ||
|
||
#define PLATFORM_DEFAULT_SCSI_SPEED_SETTING 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* ZuluSCSI™ - Copyright (c) 2024 Rabbit Hole Computing™ | ||
* | ||
* ZuluSCSI™ firmware is licensed under the GPL version 3 or any later version. | ||
* | ||
* https://www.gnu.org/licenses/gpl-3.0.html | ||
* ---- | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
**/ | ||
#include "timings.h" | ||
uint8_t g_max_sync_20_period = 25; | ||
uint8_t g_max_sync_10_period = 25; | ||
uint8_t g_max_sync_5_period = 50; | ||
uint8_t g_force_sync = 0; | ||
uint8_t g_force_offset = 15; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* ZuluSCSI™ - Copyright (c) 2024 Rabbit Hole Computing™ | ||
* | ||
* ZuluSCSI™ firmware is licensed under the GPL version 3 or any later version. | ||
* | ||
* https://www.gnu.org/licenses/gpl-3.0.html | ||
* ---- | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
**/ | ||
#pragma once | ||
|
||
#if defined(ZULUSCSI_V1_4) | ||
# define PLATFORM_NAME "ZuluSCSI v1.4" | ||
# define PLATFORM_REVISION "1.4" | ||
# define PLATFORM_MAX_SCSI_SPEED S2S_CFG_SPEED_SYNC_10 | ||
# define PLATFORM_OPTIMAL_MIN_SD_WRITE_SIZE 4096 | ||
# define PLATFORM_OPTIMAL_MAX_SD_WRITE_SIZE 65536 | ||
# define PLATFORM_OPTIMAL_LAST_SD_WRITE_SIZE 8192 | ||
# define PLATFORM_FLASH_SECTOR_ERASE | ||
# include "ZuluSCSI_v1_4_gpio.h" | ||
#endif | ||
|
||
#ifndef PLATFORM_VDD_WARNING_LIMIT_mV | ||
#define PLATFORM_VDD_WARNING_LIMIT_mV 2800 | ||
#endif | ||
|
||
#define PLATFORM_DEFAULT_SCSI_SPEED_SETTING 10 |
Oops, something went wrong.