mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2024-06-10 08:29:39 +00:00
Boot tested
Tested to boot beige G3 and Q700, both with XCVR mode on and off on appropriate hardware
This commit is contained in:
parent
b4b0ce711f
commit
ceb6da764b
|
@ -1575,12 +1575,6 @@ void loop()
|
|||
}
|
||||
enableResetJmp();
|
||||
|
||||
#if XCVR == 1
|
||||
// Reconfigure target pins to output mode, after resetting their values
|
||||
GPIOB->regs->BSRR = 0x000000E8; // MSG, CD, REQ, IO
|
||||
GPIOA->regs->BSRR = 0x00000200; // BSY
|
||||
SCSI_TARGET_ACTIVE();
|
||||
#endif
|
||||
// Set BSY to-when selected
|
||||
SCSI_BSY_ACTIVE(); // Turn only BSY output ON, ACTIVE
|
||||
|
||||
|
@ -1591,6 +1585,13 @@ void loop()
|
|||
while(isHigh(gpio_read(SEL)) && isLow(gpio_read(BSY))) {
|
||||
}
|
||||
|
||||
#if XCVR == 1
|
||||
// Reconfigure target pins to output mode, after resetting their values
|
||||
GPIOB->regs->BSRR = 0x000000E8; // MSG, CD, REQ, IO
|
||||
// GPIOA->regs->BSRR = 0x00000200; // BSY
|
||||
#endif
|
||||
SCSI_TARGET_ACTIVE() // (BSY), REQ, MSG, CD, IO output turned on
|
||||
|
||||
//
|
||||
if(isHigh(gpio_read(ATN))) {
|
||||
bool syncenable = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user