#avr Logs

Nov 04 2019

#avr Calendar

12:31 PM naftilos76: Hi everyone, i am trying to figure out whether a mega3208 (megaAVR) can only be programmed via UPDI or not. Does anybody know? I have got a AVRISP mkII.
12:37 PM cehteh: what does the datasheet say?
12:37 PM cehteh: thats a 0-series one .. prolly new programmer required
12:37 PM Fuchikoma: Looks like UPDI only, unless you put a bootloader on it maybe
12:38 PM naftilos76: So which programmers support that dam thing?
12:39 PM naftilos76: the UPDI i mean
12:40 PM naftilos76: Every now and then they invnent new stuff so that we have to buy all those new unecessary stuff
12:40 PM naftilos76: what was wrong with isp or pdi?
12:40 PM naftilos76: or TPI?
12:42 PM Fuchikoma: I made a UPDI programmer out of an Arduino
12:43 PM naftilos76: Fuchikoma: Really? Does it work?
12:43 PM Fuchikoma: Yup
12:44 PM Fuchikoma: I even "upgraded" after that into a dedicated doohikie that maybe one day I'll consider exploring the idea of converting into a UPDI + ISP programmer
12:45 PM naftilos76: Fuchikoma: Is the upload speed satifactory? Is it a debugger as well?
12:45 PM Fuchikoma: https://i.imgur.com/bZAxcHV.png
12:46 PM naftilos76: looks nice, although my approach would be a nice plastic enclosure :)
12:46 PM Fuchikoma: red: +5V/+3v3 power (red jumper selects), Black: Ground, White: UPDI. There's a 10K resistor inside the heatshrink
12:46 PM Fuchikoma: Yeah I thought about printing myself one but fuck it
12:46 PM Fuchikoma: :D
12:46 PM naftilos76: god, why didn't you?
12:47 PM Fuchikoma: 'cause fuck it :D
12:47 PM naftilos76: ok !
12:47 PM Fuchikoma: But yeah that plus AVRDude works a treat
12:48 PM naftilos76: Is the code publicly available or did you develop it?
12:48 PM Fuchikoma: Got it off github somewhere
12:49 PM naftilos76: ok i see
12:50 PM Fuchikoma: If you'll be around in ~4 hours I'll be home and can give you all the references etc. It was written for an Arduino Uno but it shold be pretty universal
12:56 PM naftilos76: Fuchikoma: Does that firmware work with Atmel Studio?
12:58 PM Fuchikoma: I use Atmel Studio, yes
12:58 PM Fuchikoma: A set up AVRDude as a custom tool
12:59 PM Fuchikoma: So Atmel Studio just launches AVRDude with preconfigured command line options and doesn't know the difference
01:00 PM Fuchikoma: If you're asking about debugging, I couldn't tell you; I've never even attempted hardware debugging, ever
01:01 PM naftilos76: Fuchikoma: I am using codevisionAVR. I can't stand spending hours to set up peripherals!
01:01 PM naftilos76: Debuging is not that crucial for me, programming is
01:01 PM Fuchikoma: Well
01:02 PM naftilos76: Are all megaAVR 0-series supported? Any idea?
01:02 PM Fuchikoma: AFAIK yes
01:02 PM Fuchikoma: My AVRDude was a little old but nothing some googling for updated data files couldn't solve
01:03 PM naftilos76: ok seems nice!
01:04 PM naftilos76: Is there anything below 50$ available out there? or should i go for an ICE?
01:04 PM naftilos76: Fuchikoma: ?
01:05 PM Fuchikoma: Like I said, I just used an old 'duino at first. That's what, $5 off eBay?
01:05 PM Fuchikoma: Though I already had it so $0 out of pocket
01:06 PM Fuchikoma: The thing I posted a picture of cost like $10 total ('cause I had to buy 5 each of the USB-UART bridge and Arduino Pro Mini, so really $2 each for five?)
01:07 PM naftilos76: ok thanks
11:16 PM day__ is now known as day