URL
https://opencores.org/ocsvn/gecko3/gecko3/trunk
Subversion Repositories gecko3
Compare Revisions
- This comparison shows the changes necessary to convert path
/gecko3/trunk/GECKO3COM/gecko3com-fw
- from Rev 21 to Rev 28
- ↔ Reverse comparison
Rev 21 → Rev 28
/firmware/include/firmware_version.h
36,6 → 36,6
#define _FIRMWARE_VERSION_H_ |
|
/** Version number of this firmware release */ |
#define FIRMWARE_VERSION "0.5rc0\n" |
#define FIRMWARE_VERSION "0.5rc1\n" |
|
#endif |
/firmware/src/gecko3com_main.c
861,18 → 861,28
* happen when someone reconfigures the FPGA through JTAG */ |
if(!fpga_done()) { |
|
mdelay(40); |
mdelay(50); |
if(!fpga_done()) { |
//set_led_ext(GREEN); |
set_led_ext(ORANGE); |
deactivate_gpif(); |
flLOCAL = GECKO3COM_LOCAL; |
} |
} |
|
if(!(EP2468STAT & bmEP2EMPTY) && (GPIFTRIG & bmGPIF_IDLE)) { |
flGPIF = 0; |
gpif_trigger_write(); |
} |
//if(!(EP2468STAT & bmEP2EMPTY) && (GPIFTRIG & bmGPIF_IDLE)) { |
/* check if there is a active IN transfer */ |
/*if((GPIFREADYSTAT & bmWRX) != bmWRX) { |
flGPIF = 0; |
gpif_trigger_write(); |
} |
}*/ |
|
/* check if this is a end of a IN transfer */ |
/*if(!(EP2468STAT & bmEP6EMPTY) && (GPIFTRIG & bmGPIF_IDLE)) { |
INPKTEND = USB_TMC_EP_IN; |
flGPIF |= bmGPIF_PENDING_DATA; |
gpif_trigger_read(); |
}*/ |
} |
|
/* if the LED flag is set to off, disable the external LED */ |
/firmware/src/gecko3com_gpif.c
111,13 → 111,14
//} |
/*else*/ { |
EA = 0; /* disable all interrupts */ |
clear_fifo_gpif_irq(); |
flGPIF |= bmGPIF_READ_IN_PROGRESS; |
gpif_trigger_read(); |
EA = 1; /* global interrupt enable */ |
} |
|
clear_fifo_gpif_irq(); |
|
|
ISR_DEBUG_PORT &= ~bmGPIF_DONE; |
} |
|
/firmware/src/usb_tmc.c
187,6 → 187,9
FIFORESET = bmNAKALL | USB_TMC_EP_IN; SYNCDELAY; |
|
INPKTEND = bmSKIP | USB_TMC_EP_IN; SYNCDELAY; |
INPKTEND = bmSKIP | USB_TMC_EP_IN; SYNCDELAY; |
INPKTEND = bmSKIP | USB_TMC_EP_IN; SYNCDELAY; |
INPKTEND = bmSKIP | USB_TMC_EP_IN; SYNCDELAY; |
|
FIFORESET = 0; SYNCDELAY; |
|
253,8 → 256,16
OUTPKTEND = bmSKIP | USB_TMC_EP_OUT; SYNCDELAY; |
OUTPKTEND = bmSKIP | USB_TMC_EP_OUT; SYNCDELAY; |
|
INPKTEND = bmSKIP | USB_TMC_EP_IN; SYNCDELAY; |
INPKTEND = bmSKIP | USB_TMC_EP_IN; SYNCDELAY; |
INPKTEND = bmSKIP | USB_TMC_EP_IN; SYNCDELAY; |
INPKTEND = bmSKIP | USB_TMC_EP_IN; SYNCDELAY; |
|
FIFORESET = 0; SYNCDELAY; |
|
EP2CS &= ~bmEPSTALL; |
EP6CS &= ~bmEPSTALL; |
|
EP0BUF[0] = usb_tmc_status; |
EP0BCH = 0; |
EP0BCL = 1; |
/firmware/gpif-design/gecko3main_fifo_transfer.gpf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/firmware/gpif-design/gecko3main_gpif.c
100,7 → 100,7
// _________ _________ _________ _________ _________ _________ _________ _________ |
// |
// AddrMode Same Val Same Val Same Val Same Val Same Val Same Val Same Val |
// DataMode NO Data NO Data NO Data Activate Activate NO Data NO Data |
// DataMode NO Data NO Data NO Data Activate NO Data NO Data NO Data |
// NextData SameData SameData SameData SameData NextData SameData SameData |
// Int Trig No Int No Int No Int No Int Trig Int No Int No Int |
// IF/Wait IF IF Wait 2 IF Wait 1 IF IF |
170,7 → 170,7
/* LFun */ 0x40, 0x09, 0x0F, 0x09, 0x00, 0x00, 0x00, 0x3F, |
// Wave 2 |
/* LenBr */ 0x08, 0x10, 0x02, 0x9C, 0x01, 0x3F, 0xBF, 0x07, |
/* Opcode*/ 0x01, 0x01, 0x00, 0x03, 0x16, 0x01, 0x01, 0x00, |
/* Opcode*/ 0x01, 0x01, 0x00, 0x03, 0x14, 0x01, 0x01, 0x00, |
/* Output*/ 0x00, 0x00, 0x0C, 0x0C, 0x0C, 0x00, 0x00, 0x00, |
/* LFun */ 0xC8, 0xC8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, |
// Wave 3 |
/gecko3com.iic
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream