New wishbone-jtag bridge

This commit is contained in:
2026-02-27 15:56:56 +01:00
parent 838204653a
commit 3a9b2acf9e
13 changed files with 1495 additions and 457 deletions

View File

@@ -26,7 +26,7 @@ static inline void irq_init() {
void timer_isr(){
static int set = 0;
*TIMER = 18400;
*TIMER = 1840000*4;
*LEDGR = ~(*LEDGR);
}
@@ -34,12 +34,12 @@ void main(){
irq_init();
*LEDGR = 3;
*TIMER = 18400;
*TIMER = 1840000*4;
for(;;){
for(int i=1000; i<10000; i++){
*R_FREQ = i;
for(int j=0; j<100; j++) asm volatile("nop");
for(int j=0; j<80; j++) asm volatile("nop");
}
}
}