diff --git a/avr/bootloader/bootloader.c b/avr/bootloader/bootloader.c index 8a677f4..8852b65 100644 --- a/avr/bootloader/bootloader.c +++ b/avr/bootloader/bootloader.c @@ -83,7 +83,7 @@ #define AVR_BTLDR_EN_PIN PC1 #define AVR_BTLDR_EN_IN PINC - +#undef AVR_BTLDR_SWITCH /* * some predefined signatures, taken from the original USBasp sourcecode */ @@ -471,7 +471,7 @@ int __attribute__ ((noreturn, OS_main)) main(void) jump_to_app(); } - +#ifdef AVR_BTLDR_SWITCH ENABLE if ((AVR_BTLDR_EN_IN & ( 1 << AVR_BTLDR_EN_PIN)) == 0){ banner(); uart_puts("Bootloader flashing is disabled\n\r"); @@ -479,6 +479,7 @@ int __attribute__ ((noreturn, OS_main)) main(void) leave_bootloader(); } +#endif /* * if power-on reset, quit bootloader via watchdog reset diff --git a/quickdev16.tmproj b/quickdev16.tmproj index df54438..eea636f 100644 --- a/quickdev16.tmproj +++ b/quickdev16.tmproj @@ -3,7 +3,7 @@ currentDocument - avr/usbload/irq.c + avr/usbload/sram.h documents @@ -393,7 +393,7 @@ firstVisibleColumn 0 firstVisibleLine - 11 + 21 avr/usbload/irq.h @@ -521,21 +521,21 @@ firstVisibleColumn 0 firstVisibleLine - 0 + 141 avr/usbload/sram.h caret column - 0 + 66 line - 183 + 154 firstVisibleColumn 0 firstVisibleLine - 118 + 132 avr/usbload/testing.c @@ -825,62 +825,6 @@ firstVisibleLine 211 - tools/ucon64/2.0/src/backup/f2a.c - - caret - - column - 0 - line - 0 - - firstVisibleColumn - 0 - firstVisibleLine - 558 - - tools/ucon64/2.0/src/backup/fal.c - - caret - - column - 0 - line - 0 - - firstVisibleColumn - 0 - firstVisibleLine - 0 - - tools/ucon64/2.0/src/backup/snesram.h - - caret - - column - 38 - line - 70 - - firstVisibleColumn - 0 - firstVisibleLine - 30 - - tools/ucon64/2.0/src/console/snes.c - - caret - - column - 28 - line - 1135 - - firstVisibleColumn - 0 - firstVisibleLine - 1952 - openDocuments @@ -915,11 +859,9 @@ avr/usbload/debug.h avr/usbload/rle.h avr/usbload/config.h - tools/ucon64/2.0/src/console/snes.c poc/avr_sdcard/main.c poc/avr_usbload/sram.c avr/usbload/sram.h - tools/ucon64/2.0/src/backup/snesram.h avr/usbload/shared_memory.h avr/usbload/checksize avr/usbload/shared_memory.c @@ -928,8 +870,6 @@ avr/usbload/fifo.h avr/usbload/main.c avr/usbload/sram.c - tools/ucon64/2.0/src/backup/fal.c - tools/ucon64/2.0/src/backup/f2a.c avr/usbload/usbconfig.h avr/usbload/crc.h @@ -971,6 +911,6 @@ windowFrame - {{0, 60}, {936, 818}} + {{0, 72}, {936, 806}} diff --git a/todo.txt b/todo.txt index 833b4c5..c09dcac 100644 --- a/todo.txt +++ b/todo.txt @@ -1,2 +1,10 @@ - -Checkout nootloader lock fuses +Send PCB to seeed +RS232 cable add programm header and sio lines +SDcard header +Rework No. 002 +Assemble No. 006 & No. 007 +Mail snega2usb about OEM +Package for Quickdev16 +Bootloader lockbits +Flash all cartridge with latest firmware and bootloader +Email to seeed about the retour package