summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reduce accesses to global variable idlePollscpldcpu2013-10-072-2/+1
| | | | saves 8 bytes
* Do modulo only on lower byte - saves 24 bytescpldcpu2013-10-071-3/+28
| | | | | | | | | | | | | | | | | | | | GCC generated some quite weird code from the module operations. Although highly optimized, most of the instructions are redundant. Is this a bug? The current solution is a bit hacky, but should also work when the pages size is changed in future devices. uchar isLast = (((currentAddress&0xff) % SPM_PAGESIZE) == 0); 1e02: 80 91 69 00 lds r24, 0x0069 1e06: 90 91 6a 00 lds r25, 0x006A 1e0a: 8f 73 andi r24, 0x3F ; 63 1e0c: 99 27 eor r25, r25 // definitely need this if! seems usbFunctionWrite gets called again in future usbPoll's in the runloop! if (isLast) fireEvent(EVENT_WRITE_PAGE); // ask runloop to write our page 1e0e: 89 2b or r24, r25 1e10: 39 f0 breq .+14 ; 0x1e20 <main+0x1ee> 1e12: 0d c0 rjmp .+26 ; 0x1e2e <main+0x1fc>
* Use delay routines without NOP padding. this saves 16 bytescpldcpu2013-10-071-0/+3
|
* A single write is sufficient to invalidate magic word - saves 4 bytescpldcpu2013-10-071-2/+2
|
* Use a local pointer in eraseApplicatoin() - saves 18 Bytescpldcpu2013-10-071-9/+8
|
* Merge pull request #29 from nixnax/patch-1Jenna Fox2013-09-131-3/+3
|\ | | | | Update micronucleus host-side library - more detailed error reporting
| * Update micronucleus.cnixnax2013-09-031-3/+3
|/ | | More error details upon flash erase/write failures.
* Update micronucleus_lib.c:Bluebie2013-08-301-2/+3
| | | | Result not always 64 - bad assumption that page size is always 64
* Update Readme.txtJenna Fox2013-08-231-2/+4
| | | CBCracker on Digispark forums mentioned the readme is out of date regarding the upgrader program. Fixed now!
* Merge pull request #27 from embedded-creations/simplefixes2Jenna Fox2013-08-072-27/+27
|\ | | | | a couple fixes
| * some small mistakes I noticed while going through the code with a ↵Louis Beaudoin2013-06-062-27/+27
|/ | | | | | | | | | fine-toothed comb: main.c - POSTSCRIPT_SIZE should be 6, not 4, now that there's a word to store OSCCAL micronucleus_lib.c - bcdUSB referring to USB Spec 1.1 is used, instead of bcdDevice, referring to the device release number
* fix interrupt enable during application erase (via andihofmeister)Bluebie2013-05-261-3/+7
|
* stuffed up naming of upgrade files - fixed now.Bluebie2013-05-203-185/+185
|
* Emergency Update for -jumper varient - install update immediately - previous ↵Bluebie2013-05-204-251/+257
| | | | versions cause short circuits!!
* bug in jumper mode!!! jumper pin was set to output, creating short circuits! ↵Bluebie2013-05-201-38/+36
| | | | update asap!
* firmware: no functional change - reorganised bootloader config to easily ↵Bluebie2013-03-061-9/+33
| | | | switch on and off -jumper variant by uncommenting out a define near the top
* Added 'jumper' varient of 1.06 to prebuilt releasesBluebie2013-03-063-3/+326
|
* Firmware & Upgrade: Released 1.06! yet to add -jumper release tho. Fixes ↵Bluebie2013-03-046-14/+343
| | | | clock speed thing - always starts at 16.5mhz now!
* firmware: start writing release notes for future 1.06 versionBluebie2013-03-041-0/+8
|
* firmware: added osccal store and retrieve code, untestedBluebie2013-03-042-24/+31
|
* commandline: bugfixes for -1 error after erase on OS X - auto recover now worksBluebie2013-02-202-14/+27
|
* Merge pull request #20 from psychogenic/masterJenna Fox2013-02-191-1/+9
|\ | | | | Fix for linux erase/write issue.
| * Tests on all Linux machines available led to errors such as:Malaclypse The Younger2013-02-191-1/+9
|/ | | | | | | | | | | | | | | | Erasing the memory ... erasing: 66% complete Error erasing: -84>> Abort mission! error has occured ... Please unplug the device and restart the program. Whereas Windows can recover from this condition with Eep! Connection to device lost during erase! Not to worry This happens on some computers - reconnecting... the Linux version could not correctly interpret the -84 error code returned by the USBDEVFS_CONTROL call. This modification fixes this, re-interpreting the -84 code to -2 and allowing the program to reconnect and succesfully upload the firmware.
* release: added release notes for -jumper variantBluebie2013-02-171-0/+12
|
* release & upgrade: added jumper varientBluebie2013-02-172-0/+134
|
* D5 version for deuxvisBluebie2013-02-083-4/+187
|
* experimental build with pin0 as boot button pinBluebie2013-02-081-16/+17
|
* upgrade: added 1.05 release - have tested upgrading from 1.02 to 1.05 and it ↵Bluebie2013-02-082-3/+184
| | | | seems fine.
* upgrade: now automatically reboots in to new bootloader when it's done doing ↵Bluebie2013-02-081-0/+8
| | | | the upgrade and has beeped.
* new release! 1.05 gives you the same more reliable timings from 1.02, with ↵Bluebie2013-02-082-2/+139
| | | | 66 more bytes program memory and an improved timeout mechanism!
* remove a little pointless code..Bluebie2013-02-081-1/+1
|
* remove old changelog file inherited from usbasploader-tiny85 - too confusingBluebie2013-02-081-34/+0
|
* revert timing to be like 1.02 - 5 sec wait, 8ms write delayBluebie2013-02-083-3/+10
|
* commandline: added timeout option (does it work on windows?)Bluebie2013-02-061-1/+25
|
* commandline: added new mac buildBluebie2013-02-061-0/+0
|
* commandline: raw support fixed, added --no-ansi mode for arduino/digispark ↵Bluebie2013-02-061-19/+34
| | | | use, made no-ansi mode on all platforms less spammy
* Fixed assignment in conditional bug. RAW uploads work now maybe? Thanks to ↵Bluebie2013-02-061-2/+2
| | | | @benjie on digistump.com forums
* commandline: Update Windows buildJenna Fox2012-11-301-0/+0
|
* commandline: Update Mac buildBluebie2012-11-301-0/+0
|
* commandline: pspgeek's usb fail workaroundBluebie2012-11-302-5/+27
|
* Added updated micronucleus.exe build, which goes extra slow and uses newer ↵Jenna Fox2012-11-192-1/+2
| | | | micronucleus_lib
* Slightly alter assert in micronucleus_lib.cJenna Fox2012-11-151-1/+1
| | | Maybe a little more future/past proof now?
* Firmware: updated .gitignoreJenna Fox2012-10-141-0/+3
|
* Firmware: Added a low-power release, suitable for chips with ckdiv8 programmed.Jenna Fox2012-10-141-0/+135
| | | | When it launches user program program, the chip is running at 8.0mhz, so can run at 3v within spec so long as PB3/D- isn't pulled high at startup (so skips boot loader) - so this works great if your usb circuitry is in a cable or dongle. If it accidentally runs the boot loader, it's only out of spec for 2.5 seconds.
* commandline: Updated readmeJenna Fox2012-10-101-6/+16
|
* Added some tech detailsBluebie2012-10-061-0/+51
|
* Release Notes for 1.04 releaseBluebie2012-10-051-2/+10
|
* upgrade: Add micronucleus 1.04 upgrade prebuiltBluebie2012-10-052-3/+183
|
* Firmware Release! 1.04 is now out.Bluebie2012-10-055-1/+134
|
* Change back to 2.5 sec bootloader delay - 2.0 seconds wasn't working ↵Bluebie2012-10-051-1/+1
| | | | reliably enough for my taste