-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile support for attiny1614 #174
Comments
Hello, |
megaTinyCore includes optiboot for the tinyAVR 0-series and 1-series parts (and has for ages) . Why is page erase via SPM critical, as opposed to writing 0x01 (page erase) to NVMCTRL.CTRLA or - after filling the page buffer - 0x03 (erase and write page buffer)? |
@SpenceKonde Impossible for micronucleus to support this CPU, of course not impossible for you 😀 |
Ah, yeah, boot.h only supports parts with SPM for writing to program memory. Not hard to work around that - 5 macros, most of which are one-liners (writing to flash, frankly, is easier now than it was) Making it compile is easy-peasy compared to the real challenge in making micronucleus work on the tinyAVR 0/1-series, megaAVR 0-series, and the new Dx series: This whole thing is built on a bunch of timing-critical assembly. And the instruction timing of a few instructions is different! Eh, I'll try to throw together boards for it next time I make PCBs so I could test my code if I have a chance to do this. I often get in the mood where I end up compulsively looking at assembly lately - might as well devote that time to something that is actually useful! I imagine people would like boards like this, considering the way people seem to go crazy for VUSB boards... shrug I can't say I particularly care for VUSB on principle, but people seem to love it, and a board based on it would probably sell well... |
@SpenceKonde I also stopped in assembly macros, if you have good news please share. |
@SpenceKonde VUSB solved and worked! see this page: https://github.com/12oclocker/V-USB_TinyAvr |
Hello,
Is possible to support the attiny1614 more (ram/flash) ?
I get errors in make because the "USB_INTR_PENDING_BIT":
sbdrv/asmcommon.inc: Assembler messages:
usbdrv/asmcommon.inc:99: Error: constant value required
usbdrv/asmcommon.inc:114: Error: constant value required
usbdrv/asmcommon.inc:46: Error: invalid operands (ABS and .text sections) for
<<' usbdrv/asmcommon.inc:62: Error: invalid operands (*ABS* and .text sections) for
<<'usbdrv/usbdrvasm12.inc:379: Error: invalid operands (ABS and .text sections) for `<<'
Is possible to handle USB on this IC? any help?
Thank you
The text was updated successfully, but these errors were encountered: