Commit Graph

178 Commits

Author SHA1 Message Date
paul eeepc 37c79429ea modified: 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.

modified:   udev-rule-help/Readme.txt
	-including expected libusb error if user doesn't have access.
2016-11-19 17:38:12 -06:00
Paul Molloy b1e60a35df host\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" ;)
2016-11-19 16:51:50 -06:00
paul eeepc c7f01a4429 Initial 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.
2016-11-19 01:50:26 -06:00
paul eeepc ad1037b694 First 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
2016-11-19 01:20:20 -06:00
paul eeepc 65e38e8e77 Modifing firmware makefile to work with INL retro-prog 2016-11-18 23:46:02 -06:00
paul eeepc cd0fc116da Adding avr makefile for firmware
As downloaded from V-USB example custom-class device
2016-11-18 22:32:18 -06:00
paul eeepc c4bbfbcd60 Updating 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.
2016-11-18 21:32:21 -06:00
paul eeepc ffe4634210 Initial commit for:
firmware/macro.h
	host/include
	host/libusb-1.0.dll
	host/winlib
2016-11-18 03:15:02 -06:00
paul eeepc 998a9ccd1a adding notes about bootloaderHID fork in readme 2016-11-18 03:05:14 -06:00
paul eeepc 4027d3854a Adding HIDBootFlash windows GUI application by Mario Steiner:
http://vusb.wikidot.com/project:hidbootflash
2016-11-18 03:01:51 -06:00
paul eeepc 5024dcc2c5 updating main Readme.txt with build notes. 2016-11-18 03:00:56 -06:00
paul eeepc 09ea0d1fd5 removing 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..

If going to use this version of bootloader should prob update V-USB driver code
2016-11-18 02:57:10 -06:00
paul eeepc d47071779c Adding 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.
2016-11-18 02:45:38 -06:00
paul eeepc d820f6ea0a Creating udev-rule-help folder with readme and example rule file.
This gives default user write permission to INL retro-prog on unix systems.
2016-11-18 02:23:04 -06:00
paul eeepc 315ce9c083 Readme.txt adding more build notes mostly for linux.
bootloader Makefile: correcting bootloader lock fuses.
firmware/usbdrv/usbconfig.h making small note about file origin.
2016-11-18 00:35:10 -06:00
paul eeepc 3b0a7a4dde deleting 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.
2016-11-18 00:28:56 -06:00
paul eeepc 1fb967726a moving 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
2016-11-17 23:39:55 -06:00
Paul Molloy 4b8c80876c moving 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

May be adding obdev's original bootloader as well so I can tinker with
both versions and make final choice later on.
2016-11-17 22:28:43 -06:00
paul eeepc 965979025c adding main readme with build instructions 2016-11-12 00:05:12 -06:00
paul eeepc e8e5bbfffc removing double .txt from Readme 2016-11-12 00:04:11 -06:00
Paul Molloy 6879b4239b Creating hardware folder with datasheets and schematic. 2016-11-11 21:21:23 -06:00
Paul Molloy 60eb00bec2 commiting built bootloader files 2016-11-11 21:20:03 -06:00
Paul Molloy 38e51a91c5 bootloadHID/firmware/Makefile modified to atmega164a
bootloadHID/firmware/bootloader.h modified to use BL/RUN switch to detect
bootload mode.
2016-11-11 21:17:02 -06:00
Paul Molloy 1be25c4434 rename bootloadHID-master dir to bootloadHID 2016-11-11 21:16:15 -06:00
Paul Molloy 3538801e8f adding note to V-USB usbdrv Readme.txt to include download location. 2016-11-11 14:33:12 -06:00
Paul Molloy f0c3fb5ad6 Adding bootloadHID as downloaded from:
https://github.com/ajd4096/bootloadHID
2016-11-11 14:31:00 -06:00
Paul Molloy 9054a41137 creation 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
2016-11-11 13:53:44 -06:00
Paul Molloy 93be432c14 adding usbdrv directory as downloaded from:
https://www.obdev.at/products/vusb/download.html

no changes made, as-is released from obdev.
2016-11-11 13:28:54 -06:00