More bug info

This commit is contained in:
meepingsnesroms
2019-11-26 18:31:22 -08:00
parent 815f061683
commit 865b1d5f86
3 changed files with 8 additions and 16 deletions

View File

@@ -1,3 +1,3 @@
T3 locks up endlessly checking TSC2101 interrupts
Randomly locks up for 1-2 seconds(this seems to have t do with the audio bug in applications where pushing the app category selector then white space will make a shorter or longer beep than it should, also lock ups occur in galax when sound plays)
Randomly locks up for 1-2 seconds(this seems to have t do with the audio bug in applications where pushing the app category selector then white space will make a shorter or longer beep than it should, also lock ups occur in galax when sound plays)(Started somewhere between June 9 2019 and June 20 2019, right after all the UART stuff)
QT release build is broken

BIN
bugs/lockUpBug.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

View File

@@ -237,26 +237,18 @@ static void pllWakeCpuIfOff(void){
}
static void checkInterrupts(void){
uint32_t activeInterrupts;
uint16_t interruptLevelControlRegister;
uint8_t spi1IrqLevel;
uint8_t uart2IrqLevel;
uint8_t pwm2IrqLevel;
uint8_t timer2IrqLevel;
uint8_t intLevel;
uint32_t activeInterrupts = registerArrayRead32(ISR);
uint16_t interruptLevelControlRegister = registerArrayRead16(ILCR);
uint8_t spi1IrqLevel = interruptLevelControlRegister >> 12;
uint8_t uart2IrqLevel = interruptLevelControlRegister >> 8 & 0x0007;
uint8_t pwm2IrqLevel = interruptLevelControlRegister >> 4 & 0x0007;
uint8_t timer2IrqLevel = interruptLevelControlRegister & 0x0007;
uint8_t intLevel = 0;
//dont waste time if nothing changed
if(!dbvzInterruptChanged)
return;
activeInterrupts = registerArrayRead32(ISR);
interruptLevelControlRegister = registerArrayRead16(ILCR);
spi1IrqLevel = interruptLevelControlRegister >> 12;
uart2IrqLevel = interruptLevelControlRegister >> 8 & 0x0007;
pwm2IrqLevel = interruptLevelControlRegister >> 4 & 0x0007;
timer2IrqLevel = interruptLevelControlRegister & 0x0007;
intLevel = 0;
//static interrupts
if(activeInterrupts & DBVZ_INT_EMIQ)
intLevel = 7;//EMIQ - Emulator IRQ, has nothing to do with emulation, used for debugging on a dev board