[Review Request] My own USBASP PCB, emulated by STM32 to burn to ATtiny Programmers

[Review Request] My own USBASP PCB, emulated by STM32 to burn to ATtiny Programmers

I studied the TPI protocol used by ATtiny to burn software (.hex) to it, emulated that software on breadboard thru STM32 mcu and got most of it working and can't keep going on because I don't have enough parts.

Now I made a PCB that acts as USBASP (TPI Protocol) with the software I wrote to flash to ATtiny10.

https://preview.redd.it/bdrp4602fhbh1.png?width=1081&format=png&auto=webp&s=c55d477a3c01e9e04fb09e4edcf9a7dc5fb24179

https://preview.redd.it/g3w3avw3fhbh1.png?width=1081&format=png&auto=webp&s=c3f7474841def5fd7ae39c15278498a99edaf493

https://preview.redd.it/7k6z81z5hhbh1.png?width=929&format=png&auto=webp&s=bf5456da32b1bead478e005a3e0662e172f77317

STM32 MCU

USB-C and a regulator that converts 5VBUS to 3.3V

Shift Register, to shift the STM GPIO lines from 3.3V up to 5V for the ATtiny

Just EEPROM, header and LED

PCB is 4 Layers

LAYER 1: F.CU_SIG

LAYER 2: In1.CU_GND

LAYER 3: In3.Cu_SIG_PWR

LAYER 4: B.Cu_SIG

https://preview.redd.it/5ga8at2ighbh1.png?width=1552&format=png&auto=webp&s=c2a02974a9393ef70ca0ffc519d21b07a053bee6

I couldn't show in the photos the header as well because I wanted to make the Pad names clear for you to read.

TPI protocol requires the ATtiny to have 5V to enter programming mode, 5V will be supplied from the USB-C and with the help of shift registers it'll adjust the GPIO lines from STM to go to ATtiny.

This is extremely space-constrained for my understanding, also I should include a boost converter from 5V to 12V for a special case if the reset fuse in the ATtiny was set to 1 it acts as a normal GPIO pin and 12V reverts it back to reset.

Gimme your thoughts in this PCB, I think it'll work as planned to be honest

reddit.com
u/PaleontologistFirm13 — 12 hours ago
▲ 20 r/GameDevelopment+1 crossposts

How is the market as I’m going back to game dev.

I started my game dev journey since mid 2019 and stopped game development around 2023, sad part is I stopped gaming entirely and been like an old grandpa around computers ever since. I learned a hell of a lot of game dev and unity but now I’m thinking of going back and trying again. I have no idea of anything about gaming currently or even the market on steam and mobile. I’ve been thinking about trying to release on mobile (IOS) as a good headstart. I got the money thing sorted out tho

reddit.com
u/PaleontologistFirm13 — 1 month ago

What do I even do if I was born like that???

For many years since I started university abroad I have always hated people and their interactions (not emo or anything like that, it's just I think I'm more mature than I look like) even though I'm still 21. Everyday I swear only god knows how I get by without taking more pills or self harming my self and only god knows how many lonely days I had where I'd call every friend I know and they wouldn't pick up or return my texts then I'd go to bed and cry myself to sleep.

I was used to listen to sad music and be depressed and quiet for a long time thinking that it's just for the time being and a day will come where I'll be different, turns out I was born like this.

I remembered when I was younger like around 9 or 10 years old I used to always cry when I go to bed for no reason and wait for my mom to kiss me goodnight. I remembered whenever my parents where at the supermarket cashier finishing up I used to go to a corner I liked and sit there and cry for no reason whatsoever. I mean hell I was thinking of suicide since grade 4 for fuck sake! If that is the way I was born... then how the fuck am I supposed to continue like that?

Right now I'm getting tired of having a friend for a few months then they disappear completely (THEY DON'T EVEN RETURN MY CALLS OR TEXTS). There's many days I been where I cried everyday on how lonely I am and how I'm literally killing myself at the gym and not eat anything for the rest of my day.

reddit.com
u/PaleontologistFirm13 — 2 months ago

What do I even do if I was born like that???

For many years since I started university abroad I have always hated people and their interactions (not emo or anything like that, it's just I think I'm more mature than I look like) even though I'm still 21. Everyday I swear only god knows how I get by without taking more pills or self harming my self and only god knows how many lonely days I had where I'd call every friend I know and they wouldn't pick up or return my texts then I'd go to bed and cry myself to sleep.

I was used to listen to sad music and be depressed and quiet for a long time thinking that it's just for the time being and a day will come where I'll be different, turns out I was born like this.

I remembered when I was younger like around 9 or 10 years old I used to always cry when I go to bed for no reason and wait for my mom to kiss me goodnight. I remembered whenever my parents where at the supermarket cashier finishing up I used to go to a corner I liked and sit there and cry for no reason whatsoever. I mean hell I was thinking of suicide since grade 4 for fuck sake! If that is the way I was born... then how the fuck am I supposed to continue like that?

Right now I'm getting tired of having a friend for a few months then they disappear completely (THEY DON'T EVEN RETURN MY CALLS OR TEXTS). There's many days I been where I cried everyday on how lonely I am and how I'm literally killing myself at the gym and not eat anything for the rest of my day.

reddit.com
u/PaleontologistFirm13 — 2 months ago

What do I even do if I was born like that???

For many years since I started university abroad I have always hated people and their interactions (not emo or anything like that, it's just I think I'm more mature than I look like) even though I'm still 21. Everyday I swear only god knows how I get by without taking more pills or self harming my self and only god knows how many lonely days I had where I'd call every friend I know and they wouldn't pick up or return my texts then I'd go to bed and cry myself to sleep.

I was used to listen to sad music and be depressed and quiet for a long time thinking that it's just for the time being and a day will come where I'll be different, turns out I was born like this.

I remembered when I was younger like around 9 or 10 years old I used to always cry when I go to bed for no reason and wait for my mom to kiss me goodnight. I remembered whenever my parents where at the supermarket cashier finishing up I used to go to a corner I liked and sit there and cry for no reason whatsoever. I mean hell I was thinking of suicide since grade 4 for fuck sake! If that is the way I was born... then how the fuck am I supposed to continue like that?

Right now I'm getting tired of having a friend for a few months then they disappear completely (THEY DON'T EVEN RETURN MY CALLS OR TEXTS). There's many days I been where I cried everyday on how lonely I am and how I'm literally killing myself at the gym and not eat anything for the rest of my day.

reddit.com
u/PaleontologistFirm13 — 2 months ago

What do I even do if I was born like that???

For many years since I started university abroad I have always hated people and their interactions (not emo or anything like that, it's just I think I'm more mature than I look like) even though I'm still 21. Everyday I swear only god knows how I get by without taking more pills or self harming my self and only god knows how many lonely days I had where I'd call every friend I know and they wouldn't pick up or return my texts then I'd go to bed and cry myself to sleep.

I was used to listen to sad music and be depressed and quiet for a long time thinking that it's just for the time being and a day will come where I'll be different, turns out I was born like this.

I remembered when I was younger like around 9 or 10 years old I used to always cry when I go to bed for no reason and wait for my mom to kiss me goodnight. I remembered whenever my parents where at the supermarket cashier finishing up I used to go to a corner I liked and sit there and cry for no reason whatsoever. I mean hell I was thinking of suicide since grade 4 for fuck sake! If that is the way I was born... then how the fuck am I supposed to continue like that?

Right now I'm getting tired of having a friend for a few months then they disappear completely (THEY DON'T EVEN RETURN MY CALLS OR TEXTS). There's many days I been where I cried everyday on how lonely I am and how I'm literally killing myself at the gym and not eat anything for the rest of my day

reddit.com
u/PaleontologistFirm13 — 2 months ago

What do I even do if I was born like that???

For many years since I started university abroad I have always hated people and their interactions (not emo or anything like that, it's just I think I'm more mature than I look like) even though I'm still 21. Everyday I swear only god knows how I get by without taking more pills or self harming my self and only god knows how many lonely days I had where I'd call every friend I know and they wouldn't pick up or return my texts then I'd go to bed and cry myself to sleep.

I was used to listen to sad music and be depressed and quiet for a long time thinking that it's just for the time being and a day will come where I'll be different, turns out I was born like this.

I remembered when I was younger like around 9 or 10 years old I used to always cry when I go to bed for no reason and wait for my mom to kiss me goodnight. I remembered whenever my parents where at the supermarket cashier finishing up I used to go to a corner I liked and sit there and cry for no reason whatsoever. I mean hell I was thinking of suicide since grade 4 for fuck sake! If that is the way I was born... then how the fuck am I supposed to continue like that?

Right now I'm getting tired of having a friend for a few months then they disappear completely (THEY DON'T EVEN RETURN MY CALLS OR TEXTS). There's many days I been where I cried everyday on how lonely I am and how I'm literally killing myself at the gym and not eat anything for the rest of my day.

reddit.com
u/PaleontologistFirm13 — 2 months ago
▲ 2 r/PCB+1 crossposts

LAYER STACKUP

  1. F.Cu Signal

  2. In1.Cu GND

  3. In2.Cu Power3V3

  4. B.Cu Signal

I'll be soldering the components myself and ordering the pcb from JLCPCB. The Vias are all diameter: 0.7mm and the hole: 0.3mm.

On the top of the PCB I added a TEST for HV (The test is basically seeing if i can plug in my Mean Well PSU 12V 3A and seeing if I can control the connector flow via the mcu or not).

The difference in connectors is intentional, the female connectors will be for basic connections, the male connectors are test-points for the oscilloscope as I have an alligator style cord.

Full PCB Without Zones

F.Cu Layer (Signal)

In1.Cu Layer (GND)

In2.Cu Layer (Signal)

B.Cu Layer (Signal)

Top View of PCB Render

Side view of PCB Render

https://preview.redd.it/wjax02wkzvxg1.png?width=1569&format=png&auto=webp&s=b7613bab66a6adaa46893cd52960f02e247a709b

https://preview.redd.it/xlj3c3rmzvxg1.png?width=1907&format=png&auto=webp&s=a2b103986f78eddacb5e324b94fbdfdb1516297f

https://preview.redd.it/qzs7cj1ozvxg1.png?width=934&format=png&auto=webp&s=614d8f4126bc9e5183c6e22952ae70dfb72b485d

https://preview.redd.it/6yz7h6cpzvxg1.png?width=1151&format=png&auto=webp&s=4d273c0c39c4b549b57882ef2d9ab0e489fba58f

I agree the layout is all over the place, but I placed the components at a distance from others to make it easier to solder myself.

My main concern is the VDDA, I might just wire it to 3.3V without any filtering because I don't have any place for them.

If you have see anything out of place you can tell me or anything which could be better.

reddit.com
u/PaleontologistFirm13 — 2 months ago