INL-retro-progdump/firmware/source
Paul XPS e4debe5a13 Big update for firmware version v2.3.1
this is the verion getting flashed on all v2.0N NESmaker kits
v2.3.0 worked for basic functions, but was never shipped

Majority of effort revolved around testing mapper30 boards with the
smaller v2.0N INLretro with the NES connector alone for NESmaker kits.

added linear feedback shift register for test stream data generated
locally on the device.  I'm not 100% sure if this is any faster than
pushing the actual data via USB though.. :/  It's plenty fast on the
stm32 nearly instantaneous for 32KByte.  But the AVR takes a couple
sec..

Created "stuff" dictionary for things like that were I just want to add
small things and don't want to bother with a whole new dictionary.

Added file verification to the host with files.lua

Have some nes flash algos return post-written data so calling function
can decide if want to retry, fail, etc.

Changed host dictionary calls to assert instead of error because it
really shouldn't continue.  I didn't see an error when sending opcode to
wrong dict and caused head banging..

fwupdate permits bytes to be skipped, or force the update.  Found that
the fwupdater got assigned different addresses of ram depending on what
all other ram gets allocated to the main application

Some clean up of inlretro.lua

TODO:
host learn and keep track of the connected device.
Needed for ciccom right now, or knowing whether ciccom connection
is even present..
In the end maybe ciccom is better placed in firmware, but for small
transfers of only a few bytes it kinda makes sense to keep on the host.
Pinport gets quite messy with these made up pin names when really all I
want to do is toggle a specific pin on the NES connector.  So maybe some
double mappings would actually be okay, need to rethink that..

create different flash modes that either keep going, retry, or error
depending on the goal of the flash operation.  Fanout the return value
from flash algos to all of them.

have fwupdate assigned a specific area of ram so the ram pointer doesn't
change between builds.  Okay to ignore for now.

Realized can have STM32F070C6 devices execute bootloader by erasing all
the flash or perhaps even just the first word of flash according at
AN2606.  This wouldn't work for RB devices though.  This could be done
through the bootloader dict
2018-12-06 01:07:13 -06:00
..
asm_stm Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
old Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00
avr_gpio.h Double and long overdue commit.. 2018-01-01 23:32:09 -06:00
bootload.c Big release commit for firmware v2.3.0 2018-12-01 02:18:01 -06:00
bootload.h Firmware updates are complete for switchless firmware updates via USB! 2018-11-29 22:31:26 -06:00
buffer.c slight tweak to buffer.c for firmware, want buffer status to be last thing 2017-08-24 13:56:09 -05:00
buffer.h Have PRG-ROM flashing working for NROM on AVR KAZZO 2017-08-08 15:08:39 -05:00
ciccom.c Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
ciccom.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
dump.c Have Gameboy ROM only cart dump working! 2018-12-01 22:38:29 -06:00
dump.h Have basic SNES cart detection and dumping working. Dumping mario paint 2017-08-21 12:30:39 -05:00
flash.c Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
flash.h Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00
gameboy.c adding support for Gameboy MBC1 rom dumping 2018-12-02 16:41:54 -06:00
gameboy.h adding support for Gameboy MBC1 rom dumping 2018-12-02 16:41:54 -06:00
gba.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
gba.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
io.c Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
io.h Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00
jtag.c Another late commit from bunch of updates I made over a month ago.. 2018-02-13 14:36:43 -06:00
jtag.h Another late commit from bunch of updates I made over a month ago.. 2018-02-13 14:36:43 -06:00
main.c Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
n64.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
n64.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
nes.c Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
nes.h Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
operation.c Big update, have PRG-ROM dumping on NROM working for all devices! 2017-08-07 16:06:23 -05:00
operation.h Big update, have PRG-ROM dumping on NROM working for all devices! 2017-08-07 16:06:23 -05:00
pinport.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
pinport.h Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00
pinport_al.h Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
ramfuncs.h Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
sega.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
sega.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
snes.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
snes.h Big update from past weeks' work. Most of the work involves converting 2018-11-19 18:00:03 -06:00
stuff.c Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
stuff.h Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
swim.c Double and long overdue commit.. 2018-01-01 23:32:09 -06:00
swim.h Double and long overdue commit.. 2018-01-01 23:32:09 -06:00
types.h Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
usb.c Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00
usb.h Big update for firmware version v2.3.1 2018-12-06 01:07:13 -06:00