INL-retro-progdump/firmware
Paul XPS a8d9fe55bb Moving usb code static variables from system ram to USB buffer ram.
In effort to remove USB firmware driver's dependance on .data/.bss
Started by fixing bug that wasn't allowing USB_BTABLE to be relocatable
Was neglecting byte addressing vs usb_buff[] array indexing of 16bit
half words.

Still have 4 bytes of .bss for usbMsgPtr, need to modify the
communication protocol between application code and usb code to
move/remove this pointer out of .bss there are 4 bytes of usb_buff
ram available for it to be moved into but need to ensure only 16bit
access is made.

Once that's done can separate usb code from application code and have
usb code only interrupt driven, with application code polling.
Then the usb code can sniff out firmware update packets and update
application code behind it's back.

Removed logging of transfer count since it wasn't being used

num_bytes_expecting isn't used but breaks device descriptors if cut for
some reason... so I just moved it and kept it...

Another weird issue is after reflashing the mcu via stlink the first
inlretro.exe excecution fails due to some usb error.  Not sure if it's
related to the usb code changes I just made, or possibly some other
recent updates to inlretro executable..?  I think this issue has existed
forever, but was hard to pin down and always went away after a reset.
2018-11-26 01:59:04 -06:00
..
DFU_release Big update from past weeks' work. Most of the work involves converting 2018-11-19 18:00:03 -06:00
build_avr Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00
build_stm Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00
include_stm Creation of pinport abstraction layer to make firmware more generic to the 2017-07-22 23:58:16 -05:00
release Big update from past weeks' work. Most of the work involves converting 2018-11-19 18:00:03 -06:00
source fixing EXP definitions for STM_NES so it'll actually build for previous 2018-11-25 22:30:04 -06:00
source_stm_only Moving usb code static variables from system ram to USB buffer ram. 2018-11-26 01:59:04 -06:00
usbdrv_Vusb Final commit for firmware version 2.01 first public release 2018-09-07 09:13:39 -05:00
Make_avr Creation of pinport abstraction layer to make firmware more generic to the 2017-07-22 23:58:16 -05:00
Make_stm_adapter Have basic Low Speed SWIM read on the fly working. 2017-09-12 22:36:25 -05:00
Make_stm_inl6 moving inl6proto to separate makefile, adding fast unclean build option 2018-07-08 19:54:57 -05:00
Make_stm_inl6p moving inl6proto to separate makefile, adding fast unclean build option 2018-07-08 19:54:57 -05:00
Make_stm_nes Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00
Makefile Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00