INL-retro-progdump/firmware/source
Paul Molloy pinkASUS fe04496cfb Flashing NROM PRG-ROM working but unstable.
Not sure how I thought flash operations were previously working as there
were many bugs I had to correct to support flash operations properly.
Operations module appears to be working so far, still need to pass
functions to operation module.
Flash operations verify PRG-ROM 32KB writes working with file comparison.
Currently dependent on extra buffer status reads to delay next buffer.
I think the write operation is taking longer than the usb load operation.
Potentially due to slow code of operation module, but also possible I
had only been testing with slow eeepc linux machine previously.  Perhaps
combination of both.

Still need to correct issue so added buff status delays aren't needed.
buffer manager should be able to key off of status==USB_FULL but that
doesn't seem to work.  When trying I don't always get the same number of
buffers to get flashed so appear to have a race condition or something
not properly intialized..?

Need sort out sending of USB STALL if buffer isn't ready to be loaded yet.

This commit is mainly for documentation/reference purposes as things are
kind of working, but buggy/unstable.

AVR Memory Usage
----------------
Device: atmega164a

Program:    6486 bytes (39.6% Full)
(.text + .data + .bootloader)

Data:        679 bytes (66.3% Full)
(.data + .bss + .noinit)
2017-02-13 11:49:57 -06:00
..
buffer.c Flashing NROM PRG-ROM working but unstable. 2017-02-13 11:49:57 -06:00
buffer.h Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
dump.c Basic flashing operatoins working. Still need to do some tests and erasing before flashing. 2016-12-18 01:26:51 -06:00
dump.h Basic flashing operatoins working. Still need to do some tests and erasing before flashing. 2016-12-18 01:26:51 -06:00
flash.c Flashing NROM PRG-ROM working but unstable. 2017-02-13 11:49:57 -06:00
flash.h Basic flashing operatoins working. Still need to do some tests and erasing before flashing. 2016-12-18 01:26:51 -06:00
io.c Big overdue commit of past few days effort.. 2016-12-11 01:06:41 -06:00
io.h Adding EXP0_PULLUP_TEST should probably verify pullup on EXP0 provides 2016-11-27 17:47:40 -06:00
logic.h Making progress on main program flow with detection in preparation for dumping/writing operations. 2016-12-07 18:08:31 -06:00
main.c Some early dumping functionality working. 2016-11-30 22:52:43 -06:00
nes.c Some timing tests on windows machine. Double buffering was pretty 2016-12-12 22:31:46 -06:00
nes.h Some timing tests on windows machine. Double buffering was pretty 2016-12-12 22:31:46 -06:00
operation.c fixing some typo bugs to permit compiling. Updating test.c to perform 2017-02-10 08:51:12 -06:00
operation.h Committing some edits made awhile ago that look legit. 2017-01-29 17:47:29 -06:00
pinport.c SNES dictionary creation, addition of NES cpu/ppu read/writes 2016-11-27 15:32:36 -06:00
pinport.h Big overdue commit of past few days effort.. 2016-12-11 01:06:41 -06:00
snes.c Basic cartridge detection working. NES detected with CIRAM /CE and PPU /A13N jumper. Famicom detected with audio in/out connection. SNES detected by enabling control signals and reading reset vector looking for non 0xff data. Still need to add check that would pass with blank flash cart though reading flash ID's perhaps. 2016-12-04 03:16:40 -06:00
snes.h SNES dictionary creation, addition of NES cpu/ppu read/writes 2016-11-27 15:32:36 -06:00
types.h Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
usb.c Flashing NROM PRG-ROM working but unstable. 2017-02-13 11:49:57 -06:00
usb.h Basic cartridge detection working. NES detected with CIRAM /CE and PPU /A13N jumper. Famicom detected with audio in/out connection. SNES detected by enabling control signals and reading reset vector looking for non 0xff data. Still need to add check that would pass with blank flash cart though reading flash ID's perhaps. 2016-12-04 03:16:40 -06:00