Commit Graph

11 Commits

Author SHA1 Message Date
rogerclarkmelbourne 2c575f56b0 Replaced setPin and resetPin by gpio_write_bit 2015-05-15 21:34:44 +10:00
rogerclarkmelbourne c84d51e16e Moved USB DISC pin config and FLASH_PAGE_SIZE config to config.h , defined out usbDsbBus(void); as its never used (we should eventually remove it entirely, also commented out setPin(GPIOC, 12); from hardware.c as this call is pointless on the Maple mini (and perhaps other boards) as PC12 is not connected to the disconnect pin as indicated in the comments 2015-05-15 21:13:08 +10:00
rogerclarkmelbourne 6da18b60b7 Added various boards to the makefile and config.h - Note. This is a work in progress 2015-05-15 07:55:32 +10:00
rogerclarkmelbourne 10861ba517 Updated Bootloader 2.0 to remove RAM upload option. RAM upload now returns DFU error errWRITE ( 0x03) and displays the initial message 'Bootloader 2.0 ERROR. Upload to RAM is not supported'. Ram upload code has been commented out, definitions have been added for DFU alt strings to make them easier to change, not javascript util has been added at the bottom usb_description.c which can be used to generate modified DFU ALT ID descriptor text if needed 2015-05-02 14:56:52 +10:00
rogerclarkmelbourne 30c088e6a1 Bootloader. Fixed bug in upload to RAM and updated the maple mini binary. Note upload to RAM has not been tested as the Maple mini doesn't have enough RAM to test with 2015-04-26 17:13:37 +10:00
rogerclarkmelbourne 4d5ccb3a15 Fixed issue with u8_usbConfigDescriptorDFU. I'm not sure how it could have been working before, after I added the new ALT ID. And updates maple_mini_boot20.bin 2015-04-26 16:59:59 +10:00
rogerclarkmelbourne e163e3c1ae Bootloader and also boards.txt, so that its backwards compatible with the original bootloader. The new bootloader now has an additional altID for the new upload type (ID2) which is set in boards.txt for the maple mini on the Bootloader version menu. Note there was also a bug in the old version of boards.txt where the upload size params were not being set by the Bootloader version menu. Binaries folder has also been updated with the revised bootloader 2015-04-26 16:31:32 +10:00
rogerclarkmelbourne dc1262cad6 Changed bootloader linker settings, so match the space allocated in Flash by the sketch (offset to 0x8002000) 2015-04-26 11:29:41 +10:00
rogerclarkmelbourne 6a3668619e Change USB descripter string to show correct upload address 0x8002000 2015-04-26 08:24:37 +10:00
rogerclarkmelbourne f92904f577 Added support for bootloader 2.0 to Maple mini, and added source and binary for maple_mini_boot20.bin to the repo 2015-04-25 19:15:48 +10:00
rogerclarkmelbourne eb4edd90af Added usb_bootloader, taken from the latest files of https://github.com/jonatanolofsson/maple-bootloader commit id 5f09352278faf1b31b9e1bbef7c00f1469fb63b8, then checked out the maple mini (mini-boot) branch, as that branch seems to contain the most fixes and updates. 2015-04-25 16:44:17 +10:00