Re:Emulator of Original Dell Charger Using ATTINY85
by sidewndr46 on Thursday February 24, 2022 @11:41AM
(#30456819)
What? Why couldn't an MCU interface with my computer? It's not like it has special electrons or something in it. I regularly program atmega chips with a cable I made that plugs into the parallel port on the back of any computer that has one. If you have a couple GPIO pins on a motherboard, you can probably program almost any MCU with with it.
The only exception is if the motherboard GPIO was say 3.3v and you had a 1.8v only MCU, but level shifters aren't exactly expensive.
Re:Emulator of Original Dell Charger Using ATTINY85
by ticklemyelmo on Thursday February 24, 2022 @02:38PM
(#30459214)
So do you jam the chip into the parallel port? Or do you...use an adapter?
Re:Emulator of Original Dell Charger Using ATTINY85
by selcuka on Thursday February 24, 2022 @06:47PM
(#30461963)
I don't see the difference if it's just a parallel cable. Do you jam an STM32 into a USB port?
Re:Emulator of Original Dell Charger Using ATTINY85
by lmm on Thursday February 24, 2022 @11:35PM
(#30463761)
> Do you jam an STM32 into a USB port?
I unplug my phone for a moment, or use one of several identical cables I have lying around. If this thing needs a dedicated cable then that seems just as annoying in practice as needing a dedicated "programmer" box.
That said, lots of current MCUs come with UART, I2C and/or USB bootloaders allowing to erase/program (if not disabled). This bootloader is typically included in factory ROM, not to be programmed by you or a third party.