4db2929c3bBig overdue commit of past few days effort.. Detecting mirroring code working and tested Started working on buffer operations from host Current code compiles but not yet at point where can start testing Adding cpu page read to nes.c to have faster dumping operations. moving enums to shared as gets used quite a bit communicating between device and host.
paul eeepc
2016-12-11 01:06:41 -0600
dff396a1c2Successful detection of UNROM512 mapper30 PRG-ROM flash Processing input args to create rom file when dumping Adding create_rom function in file.c working but need to add check if file already exists Listing out number of mappers which planning to support
paul eeepc
2016-12-09 01:58:34 -0600
a89caf2454Detecting some flash carts including NROM and UNROM. Using CHR-RAM sensing, and flash manf/prod ID based on PRG-ROM banking
paul eeepc
2016-12-08 21:52:47 -0600
d97c31db62Determining overall operation READ/WRITE.
paul eeepc
2016-12-07 19:19:34 -0600
66635b15e7Making progress on main program flow with detection in preparation for dumping/writing operations.
paul eeepc
2016-12-07 18:08:31 -0600
8654a8f4bfReading nes file inputs and extracting data from header. Creating rom image struct/object to store rom header data.
paul eeepc
2016-12-05 00:42:29 -0600
497e53378bBasic 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.
paul eeepc
2016-12-04 03:16:40 -0600
132360f305Updating main command line input args, and libusb logging/debug messages. now able to accept LIBUSB_LOG_LEVEL from commandline to turn on/off error messges at runtime. Also setting level > 0 will print messages during device discovery and connection. Still need to permit kazzo firmware version to be provided on commandline to support K flag.
Paul Molloy
2016-12-02 22:59:54 -0600
2f8823053emaking some changes to dictionary call for print options.
Paul Molloy
2016-12-01 23:15:58 -0600
a24d728ceaflashing page working, verified by reading back again.
paul eeepc
2016-12-01 00:45:10 -0600
937435220aSome early dumping functionality working.
Paul Molloy
2016-11-30 22:52:43 -0600
8cdeecdd77adding some error checks to usbFunctionWrite. Trying to prevent transfer from exceeding buffer size. Also verifying buffer's status is properly set to enforce upholding of the status. Giving usbFunctionWrite a means to communicate it's error/success back to host with USB 'dictionary'.
paul eeepc
2016-11-30 12:53:06 -0600
b6164aa3a6adding buffer element getter and setters to dict and firmware. Need to add to host support and test operation.
paul eeepc
2016-11-30 02:04:07 -0600
c256ca6b66testing some bigger transfer sizes removing some printing.
Paul Molloy
2016-11-30 00:03:40 -0600
3326c2fb34payload buffers working with some early testing. Had a good lesson on what static means... :/ everything working now as previously designed speed testing on windows10 PC yeilded ~21KBps when transferring 128-512KB payloads and 128Byte transfer size. Going to bump to 256 and see how that does after 128KB speed tests on linux machine.
Paul Molloy
2016-11-29 18:27:54 -0600
cb0941e86cusbFunctionWrite support loading incoming write/OUT data to buffer objects. Still untested, need to write some host code to test things out.
paul eeepc
2016-11-29 15:27:31 -0600
c36313135eInitial firmware implementation of buffer objects and raw sram allocation complete. should be able to allocate buffers from host, but haven't got to testing it yet. Compiling on firmware though.. Currently have 256 bytes of raw_buffer, and 8 buffer objects/structs each with ~16 bytes per object. So could trim things down, but still have decent amount of SRAM left. Could have another 256 byte buffer at this rate.. but might not leave enough SRAM for temporary routines.
Paul Molloy
2016-11-28 02:01:14 -0600
931222cf17new buffer.h/.c firmware files. Mostly just comments and struct defn for now
paul eeepc
2016-11-27 21:18:54 -0600
c6a68c679fAdding EXP0_PULLUP_TEST should probably verify pullup on EXP0 provides logic 1 if relying on it. Seems to work fine on NES discrete and INLXO-ROM boards where planning to utilize it. SNES can't pull up due to pulldown and original famicom cart can't either perhaps because of EXP6 EXP FF output being too much of a load..?
Paul Molloy
2016-11-27 17:47:40 -0600
8c1eb00e85last commit apparently didn't include the recent version, just the rename.?
Paul Molloy
2016-11-27 15:40:13 -0600
7b1db30054moving windows binary from inlretro.exe to inlretro_commited.exe Makes commits easier, make clean removes all non-commit files. cp recent build to _commited separates recent build from last commited build.
Paul Molloy
2016-11-27 15:38:12 -0600
cd6378b8c5SNES dictionary creation, addition of NES cpu/ppu read/writes
paul eeepc
2016-11-27 15:32:36 -0600
7d00145431Big step in confirmation of pin manipulations working on kazzo. Able to read PRG-ROM flash chip's manf and device ID from commandline.
Paul Molloy
2016-11-27 00:18:46 -0600
94ea3fd474modified: host/source/inlprog.c new file: host/source/erase.c new file: host/source/erase.h creating erase files called from main with e_flag
paul eeepc
2016-11-26 14:17:34 -0600
14eddd74abcommitting source code changes for main.hex commit that was just made axing usbFunctionRead
paul eeepc
2016-11-25 19:59:07 -0600
7aab299b66removing usbFunctionRead because I'm not planning to utilize it. Expecting it to be simpler and potentially faster to send dump commands and simply provide pointer to ram buffer within usbFunctionSetup. Saves about 70Bytes of code, so not huge, but whatevs..
paul eeepc
2016-11-25 19:55:42 -0600
dae63f73b0Tons of edits... rearranged some of the .h files, created dictionary file to list all dictionaries of opcodes. moved error codes to shared file so host can interpret firmware error codes. created firmware usb.c/h to handle usb operations (didn't move as git seems to think..) cleaned up fw main function and file. host usb_operations, created USBrequest struct type to more easily handle all transfer info.
paul eeepc
2016-11-25 19:50:43 -0600
53578116f1committing main.hex with upcoming commit's code changes complete. this commit has usbFunctionRead enabled, next commit will have it cut for comparison. AVR Memory Usage ---------------- Device: atmega164a
paul eeepc
2016-11-25 19:40:13 -0600
fdf88f7256removing shared files from source dir when making clean.
paul eeepc
2016-11-24 11:39:05 -0600
47545169eemodified: source/pinport.c modified: source/pinport.h -fixing bunch of compile errors and stupid mistakes. go to sleep and stop writing bad code...
Paul Molloy
2016-11-24 07:24:12 -0600
ce2a5aeccamodified: logic.h modified: pinport.c modified: pinport.h -completing implementation of remaining shared_pinport opcodes modified: ../../shared/shared_pinport.h -few opcodes deleted because I decided they were stupid when got around to implementing them. Set user up for errors and not useful generally.
Paul Molloy
2016-11-24 07:14:15 -0600
0af7bb3b16modified: logic.h modified: pinport.c -started working on 16bit operand function
paul eeepc
2016-11-24 05:33:02 -0600
c984f15f01modified: source/pinport.h modified: source/logic.h -adding IP and OP definitions to use on DDR registers -ERROR codes denote what function errored out
paul eeepc
2016-11-24 03:06:34 -0600
a6a6369226untested main.hex commit for logging rom/ram use pinport has opcode only and opcode with 8bit operand complete: 14% used of 87.5% available
paul eeepc
2016-11-24 03:04:00 -0600
afb5f6f158modified: shared_pinport.h -creating new opcodes with operatnds and return values still yet to be implemented elsewhere
Paul Molloy
2016-11-23 22:53:23 -0600
31678bacferenamed: host/source/pinport.h -> shared/shared_pinport.h modified: firmware/source/pinport.c modified: firmware/source/pinport.h -creating shared_pinport.h which is effectively a dictionary for pinport opcodes -file gets copied to host and firmware source dirs when compilied. -hardware macros had to be renamed to include underscore to differentiate opcode name from hardware macro. -pinport.c now is a nice clean switch between opcode name and macro with all literal numbers removed. -now don't have to manually track/update opcode numbers between multiple locations.
Paul Molloy
2016-11-23 18:12:50 -0600
27cca679d5new file: pinport.h -created from firmware/source/pinport.c -macros to create opcodes which will get sent as commands over USB -they will then get interpreted by pinport.c in firmware.
Paul Molloy
2016-11-23 03:05:29 -0600
aca6bb8960modified: source/pinport.c modified: source/pinport.h -adding some compatibility between boards. -purple and green should work under final version commands. -making some commands lower case which aren't recommended.
Paul Molloy
2016-11-23 02:23:17 -0600
b1ba1c4432modified: logic.h -defining SUCCESS & ERROR_CODES new file: pinport.c -Creation of file with giant switch to decode byte value into macro call. -software AXL and AHL clocking of for green boards. modified: pinport.h -removed #ifdef for signals, should only be based on board when possible. -created macro for AXL/AHL_CLK to call software function deleted: macro.h -don't want this old guy around any more...
Paul Molloy
2016-11-23 01:19:14 -0600
b43b3c0756modified: Makefile -modified to caluclate ROM/RAM usage of atmega164a
paul eeepc
2016-11-22 20:27:52 -0600
f973d990cdInitial add of firmware hex. Base line rom/ram usage. usb read/write functions are enabled, but long transfers are not. host support only for LED on/off. 2KB of 16KB (12.5%) of program memory are not available due to bootloader.
paul eeepc
2016-11-22 20:20:30 -0600
70e700c7e8Prepending 'shared' to files in shared folder to make more clear that these files should only be edited from the shared folder as they're copied into source folder at compile time. Any edits from source folder will get stopped, and committing shared files outside of shared folder is not desired.
paul eeepc
2016-11-22 00:52:06 -0600
ab52b30d8dlowercasing soldermask color denotations for signals.
Paul Molloy
2016-11-22 00:30:03 -0600
42e8339600Updating pinport.h with PCB version history and more i/o definitions and macros
Paul Molloy
2016-11-22 00:23:22 -0600
5620b34a9enew file: io.c -creation of io file modified: main.c -moving io setup to io.c new file: pinport.h -creation of pinport file, intended to be avr specific code from macro.h
paul eeepc
2016-11-21 17:54:29 -0600
b8be4b768anew file: shared/usb_commands.h -shared .h files used in both firmware and host app modified: firmware/Makefile modified: host/Makefile -added shared dependency to copy shared files to source prior to building modified: host/source/usb_operations.h modified: firmware/source/main.c -removing usb commands (now in shared) modified: host/include/dbg.h -adding SUCCESS defintion modified: host/source/inlprog.c -calling write file if write arg sent new file: host/source/write_operations.c new file: host/source/write_operations.h -creation of write operations files -opens file and reads header -some skeleton comments -lots of work left to do here new file: roms/nrom_v_test.nes -adding NROM test rom file
Paul Molloy
2016-11-20 23:57:09 -0600
6a370d3893Moving source code to source folder Modifing Makefile to support
Paul Molloy
2016-11-20 20:11:05 -0600
cfffe554bemodified: source/inlprog.c -introducing getopt to obtain commandline args modified: source/usb_operations.c -moving USB defn comments in from main
paul eeepc
2016-11-20 15:43:11 -0600
4cbeff1ecfmodified: source/inlprog.c - removing compile errors - fixing request/command for off (was always sending on copy paste error) modified: source/usb_operations.c - Adding checks beyond VID/PID pair - Now check Manufacturer, Product, and build version - Give Warnings/Error if device is not supported - Don't blindly accept and try to write to non-supported devices. - Cleared up confusion on ENDPOINT direction.
paul eeepc
2016-11-19 23:58:47 -0600
49c9876770modified: source/inlprog.c modified: source/usb_operations.c modified: source/usb_operations.h -moving usb transfer operation to usb_operations
Paul Molloy
2016-11-19 21:32:54 -0600
782ed343f7modified: source/inlprog.c -moved usb device operations into usb_operations module new file: source/usb_operations.c new file: source/usb_operations.h -creation of usb_operations module -currently handles libusb open/close and retrieving INL retro-prog usb handle.
Paul Molloy
2016-11-19 19:10:13 -0600
3c09f388abnew file: host/inlretro.exe initial commit of windows executable. turning LED on and off is the only functionality present.
Paul Molloy
2016-11-19 17:59:16 -0600
37c79429eamodified: source/inlprog.c -moving returnvalue "rv" declaration/init earlier to ensure initization. -adding notes to user if LIBUSB_ERROR_ACCESS as it's expected on linux.
paul eeepc
2016-11-19 17:38:12 -0600
b1e60a35dfhost\Makefile: fixing make debug, Zed's logic seems backwards to me. host\include\dbg.h: reversing DEBUG logic. host\source\inlprog.c: working through making code more robust with proper error checking via "Zed's AWESOME debug macros" ;)
Paul Molloy
2016-11-19 16:51:50 -0600
c7f01a4429Initial commit for firmware main.c -basic fuctionality in place. -currently only using setup packet for LED on/off with request field. -Read and Write functions created but empty for now.
paul eeepc
2016-11-19 01:50:26 -0600
ad1037b694First commit for Makefile and main inlretro program. Makefile copied from the Makefile I came up with during Zed Shaw's LCTHW inlretro.c basic usb functionality using libusb 1.0 -searches through usb devices and opens matching VID/PID -sends vendor xfr command for LED ON/OFF -closes out usb device prior to exit -lots of messy comments as notes while learning libusb
paul eeepc
2016-11-19 01:20:20 -0600
65e38e8e77Modifing firmware makefile to work with INL retro-prog
paul eeepc
2016-11-18 23:46:02 -0600
cd0fc116daAdding avr makefile for firmware As downloaded from V-USB example custom-class device
paul eeepc
2016-11-18 22:32:18 -0600
c4bbfbcd60Updating fuses. Had issues when erasing/programming NES boards JTAG being enabled (default setting) caused problems. Switched back to disabled as it's not intended to be used anyway.
paul eeepc
2016-11-18 21:32:21 -0600
5024dcc2c5updating main Readme.txt with build notes.
paul eeepc
2016-11-18 03:00:56 -0600
09ea0d1fd5removing object/bin files as they don't belong. updating usbdrv.h usbdrv.c and main.c so bootloader with const for PROGMEM entires resolves compiling errors on new versions of avr-gcc. Still have some warnings to resolve..
paul eeepc
2016-11-18 02:57:10 -0600
d47071779cAdding bootloaderHID.2012-12-08 folder as downloaded from: https://www.obdev.at/products/vusb/bootloadhid.html commandline folder excluded as it's in it's own separate dir INL-retro-progdump/bootloader/commandline commit includes files unchanged as downloaded.
paul eeepc
2016-11-18 02:45:38 -0600
d820f6ea0aCreating udev-rule-help folder with readme and example rule file. This gives default user write permission to INL retro-prog on unix systems.
paul eeepc
2016-11-18 02:23:04 -0600
315ce9c083Readme.txt adding more build notes mostly for linux. bootloader Makefile: correcting bootloader lock fuses. firmware/usbdrv/usbconfig.h making small note about file origin.
paul eeepc
2016-11-18 00:35:10 -0600
3b0a7a4ddedeleting libusb-compat as it wasn't needed to build bootloaderHID host app. Just needed a simple sudo apt-get install libusb-dev to build properly.
paul eeepc
2016-11-18 00:28:56 -0600
1fb967726amoving all bootloader folders into a base bootloader directory. moving bootloader host commandline dir down to base bootloader dir. adding libusb-compat-0.1.5 in attempt to build bootloader host app on linux
paul eeepc
2016-11-17 23:39:55 -0600
4b8c80876cmoving bootloadHID out of firmware folder as it doesn't make sense there. Also renaming to bootloadHID-master as that's it's "name" when downloaded from: https://github.com/ajd4096/bootloadHID
Paul Molloy
2016-11-17 22:28:43 -0600
965979025cadding main readme with build instructions
paul eeepc
2016-11-12 00:05:12 -0600
e8e5bbfffcremoving double .txt from Readme
paul eeepc
2016-11-12 00:04:11 -0600
6879b4239bCreating hardware folder with datasheets and schematic.
Paul Molloy
2016-11-11 21:21:23 -0600
60eb00bec2commiting built bootloader files
Paul Molloy
2016-11-11 21:20:03 -0600
38e51a91c5bootloadHID/firmware/Makefile modified to atmega164a bootloadHID/firmware/bootloader.h modified to use BL/RUN switch to detect bootload mode.
Paul Molloy
2016-11-11 21:17:02 -0600
1be25c4434rename bootloadHID-master dir to bootloadHID
Paul Molloy
2016-11-11 21:16:15 -0600
3538801e8fadding note to V-USB usbdrv Readme.txt to include download location.
Paul Molloy
2016-11-11 14:33:12 -0600
9054a41137creation of usbconfig.h Set POWER to 300mA, while typically less than 100mA it depends on cartridge inserted and number of cartridges. Set impementations of read and write functions to true. Set device version to v2.0 for this rebuild of INL Retro-Prog Set vendor and device name InfiniteNesLives.com INL Retro-Prog
Paul Molloy
2016-11-11 13:53:44 -0600