Trying to get DXCore 1.5ß running in portable 1.8.13 #378
Replies: 7 comments 12 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I am creating a new environment on an RPi4. Here's my walkthrough so far:
All the options show up, now I need to work on updating the toolchain... :-( I'll post that when I get it sorted out. |
Beta Was this translation helpful? Give feedback.
-
AVR128DD28 huh? Im assuming you mean AVR64DD28. But 1.5.1 is now available in board manager |
Beta Was this translation helpful? Give feedback.
-
avrdude: jtagmkII_program_disable(): bad response to leave progmode command: RSP_NO_TARGET_POWER avrdude done. Thank you. Beim Hochladen des Sketches ist ein Fehler aufgetreten (Error during upload) Strange: this DUT was already flashed with blink on avrdude-7.0 and still blinks -- but now it doesn't respond any more to nothing. Always only RSP_NO_TARGET_POWER (with jtag2updi). But now I can use my "normal" system for rurther checking ... |
Beta Was this translation helpful? Give feedback.
-
And no luck with SerialUPDI:
|
Beta Was this translation helpful? Give feedback.
-
Still, a 1n4148 is going to be flaky. I had problems using those for that
purpose. They didn't do their job very well, which was to help make
**sure** the serial adapter can get the pin below V<sub>ILmax</sub> quickly
without interfering with the manipulations coming from the target end.
It may well be that the threshold voltages on pf6 and pf7 (the latter being
unspecified for the da/db, and the former specified in different terms) are
different on the two part families.
…____________
Spence Konde
Azzy’S Electronics
New products! Check them out at tindie.com/stores/DrAzzy
GitHub: github.com/SpenceKonde
ATTinyCore: Arduino support for almost every ATTiny microcontroller
Contact: ***@***.***
On Fri, Dec 30, 2022, 21:34 Peter Nichols ***@***.***> wrote:
R6 is there because there is no resistor on the FTDI board. No short on C7
which I changed from .1uF to .01uF. Can you think of any reason why an DD
would not work in the same circuit as a DB. I gotta emphasize, that the DB
works fine. The circuit is identical. Just to make sure:
UPDI - Pin 19 goes straight to RX. A 4.7K resistor goes from Pin 19 to TX.
The anode of the 1N4148 goes to UPDI and cathode goes to TX. I'm seeing a
good signal all the way to Pin 19 on the scope.
Reset - Pin 18 (is this even relevant?, I never get the bootloader to
work, and the line is high and stays that way during the attempt to burn
the bootloader) gets a C7 (by spec a 100nF Cap) to ground. R6 goes from Pin
18 to the switch to ground, it was 330 per spec. Sorry for the confusion on
the schematic, which shows it wrong. I'll fix that tomorrow, which also
show DTR implementation incorrectly....that's a schematic from an earlier
(yeah and broken) version.
—
Reply to this email directly, view it on GitHub
<#378 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTXEW5IOMJFO66PC3YSX53WP6LURANCNFSM6AAAAAATFRZ6MY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Here we are! I unbricked my AVR32DD14 breakout-board and can confirm the patch (1.5.2->1.5.3) worked, but ...
And after power-cycling all works fine again. So I've verfied with avrdude 7.1(+AVRDUDESS) the same hex:
So that's kind a strange - but the programming works already. Now I go forward with the SerialUPDI hoping that's not a bug in the upload-routine. |
Beta Was this translation helpful? Give feedback.
-
Is it Christmas already? No, but thanks anyway ;-) Great job, Spence!
Because of the necessary manual install, I give my Windows VM a try and set up a portable Arduino 1.8.13.
But even when I try to put the DxCore (megaavr-folder) in the
portable/hardware/
folder nor in thearduino-1.8.13/hardware/arduino/
folder - the DX-Core showed up at the boards. The Arduino IDE fires up with no error...I don't see any other instructions in installation.md?!
(By the way I already downloaded
avr-gcc-7.3.0-atmel3.6.1-azduino6-i686-w64-mingw32.tar.bz2
and extract+copy the avr folder in tools)Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions