|
yeah if there comes a day when using C is embedded is mostly a thing of the past I will be very sad
|
# ? Dec 5, 2014 22:56 |
|
|
# ? May 15, 2024 02:57 |
|
DuckConference posted:yeah if there comes a day when using C is embedded is mostly a thing of the past I will be very sad A lot of greybeards probably said the same thing about assembly language
|
# ? Dec 5, 2014 22:59 |
|
Mr Dog posted:bigass usb post dope post. the chip i've been working with the last few days is slightly different though. There's no DMA. There's two registers I have direct access to (UADDR, UDATA) and then several other registers (most of which are bitfields for enabling/checking for interrupts on things like "a packet is ready in EP3-IN") which I can access through those two. Then i can read packets a byte at a time by (for example) setting UADDR to 'read bit' bitwise and the usb register number for the EP0-out buffer, waiting for the ready bit on UADDR to be set, and then reading UDATA to get my byte. Repeat 8 times for the whole setup packet. The chip has 2 IN endpoints, 1 OUT endpoint and ep0. So far I've copied a bunch of example code from a the manual that makes the chip identify itself as a keyboard. I tried to adapt the code to make it easier to change into what i need (not a keyboard), and now it fucks up about 50% of the time (watching dmesg on the laptop I plug it into says it isn't sending the device descriptor or something). kinda weird that it sometimes works. maybe I slowed it down too much and it's timing out? god i hope not. Illusive Fuck Man fucked around with this message at 05:12 on Dec 6, 2014 |
# ? Dec 6, 2014 05:09 |
|
Tin Gang posted:I'm pretty much the opposite now because I don't like high level programming but I want to know how to build things out of transistors this isn't as fun as it sounds but if you can do it there are people who will pay you to do it.
|
# ? Dec 6, 2014 05:10 |
|
Illusive gently caress Man posted:dope post. the chip i've been working with the last few days is slightly different though. There's no DMA. There's two registers I have direct access to (UADDR, UDATA) and then several other registers (most of which are bitfields for enabling/checking for interrupts on things like "a packet is ready in EP3-IN") which I can access through those two. Then i can read packets a byte at a time by (for example) setting UADDR to 'read bit' bitwise and the usb register number for the EP0-out buffer, waiting for the ready bit on UADDR to be set, and then reading UDATA to get my byte. Repeat 8 times for the whole setup packet. The chip has 2 IN endpoints, 1 OUT endpoint and ep0. sdounds like your using the aforementioned poverty-tier hardware. sorry for your loss.
|
# ? Dec 6, 2014 07:47 |
|
Jonny 290 posted:feels too Commodore-1541 to me how is this a bad thing? I mean, I've always been an Apple guy, and the IWM was an amazing hack, but giving the 1541 its own CPU made it awesome
|
# ? Dec 6, 2014 08:20 |
|
re-teaching myself microcontrollers update: I have received the texas instruments tm4c1294 launchpad and managed to program an led to blink on and off with some example code. very satisfied so far.
|
# ? Dec 7, 2014 01:28 |
|
Tin Gang posted:re-teaching myself microcontrollers update: I have received the texas instruments tm4c1294 launchpad and managed to program an led to blink on and off with some example code. very satisfied so far. keep it up, soon you'll be ilghting up the skies
|
# ? Dec 7, 2014 01:55 |
|
now, program it... to love
|
# ? Dec 7, 2014 04:06 |
|
Blotto Skorzany posted:now, program it... to love no dont it will only be disappointed
|
# ? Dec 7, 2014 04:11 |
|
poll: is it pronounced "A T Tiny" or "at tiny"? "A T Mega" or "at mega"? i pronounce the letters individually but someone else i know pronounces it at-whatever and it drives me up the wall
|
# ? Dec 8, 2014 01:43 |
|
"who gives a gently caress" "at mega"
|
# ? Dec 8, 2014 01:51 |
|
I did a ton of FPGA stuff in school like writin a few multicore processors in verilog and some weird video processsing poo poo and it was real fun but now I spend all day doin gay database garbage. Are there any non-stupid-expensive and non-ridiculous-toolchain FPGA's for general gently caress-around-ery out there?
|
# ? Dec 8, 2014 02:00 |
|
Sagebrush posted:poll: is it pronounced "A T Tiny" or "at tiny"? "A T Mega" or "at mega"? i've always heard it pronounced "at-mega" not individual letters.
|
# ? Dec 8, 2014 02:02 |
|
semon demon posted:I did a ton of FPGA stuff in school like writin a few multicore processors in verilog and some weird video processsing poo poo and it was real fun but now I spend all day doin gay database garbage. Are there any non-stupid-expensive and non-ridiculous-toolchain FPGA's for general gently caress-around-ery out there? a lot of the dev kits come with some sort of license like you can get a decent zynq kit for a couple hundred bucks with a not too crippled copy of vivado
|
# ? Dec 8, 2014 02:03 |
|
zedboard's probably the best, and its bsp doesn't blow (if you want a zynq anyway) otherwise check digilent
|
# ? Dec 8, 2014 02:13 |
|
Sagebrush posted:poll: is it pronounced "A T Tiny" or "at tiny"? "A T Mega" or "at mega"? "shameful"
|
# ? Dec 8, 2014 02:30 |
|
thanks yospos i love u
|
# ? Dec 8, 2014 02:47 |
|
Sagebrush posted:poll: is it pronounced "A T Tiny" or "at tiny"? "A T Mega" or "at mega"? at-mega, as in atmel
|
# ? Dec 8, 2014 02:47 |
|
suffix posted:at-mega, as in atmel that one makes sense but then ATtiny at-tiny sounds so stupid
|
# ? Dec 8, 2014 02:50 |
|
I always said it at-innie (like the belly button variety)
|
# ? Dec 8, 2014 02:51 |
|
Bloody posted:"who gives a gently caress"
|
# ? Dec 8, 2014 03:02 |
|
people pay me to be an embedded software engineer which is cool, i like it. hth
|
# ? Dec 8, 2014 03:56 |
|
c bits s: dealing with special snowflake ADCs is annoying. 20-bit output range? yeah that won't be annoying at all
|
# ? Dec 8, 2014 22:39 |
|
Bloody posted:c bits s: dealing with special snowflake ADCs is annoying. 20-bit output range? yeah that won't be annoying at all one of the new super-SARs, or have you been saddled with the builtin adc on a psoc?
|
# ? Dec 8, 2014 22:42 |
|
idk was helpin a coworker out
|
# ? Dec 8, 2014 22:54 |
|
coworker heard i liked jigsaw puzzles and brought me some sweet vendor swag
|
# ? Dec 9, 2014 07:47 |
|
sund posted:coworker heard i liked jigsaw puzzles and brought me some sweet vendor swag i have that one, it's fuckin' rad Blotto Skorzany posted:one of the new super-SARs, or have you been saddled with the builtin adc on a psoc? ltc and ad have solid high-end adcs, complete with giant $$$ tag
|
# ? Dec 9, 2014 08:04 |
|
sund posted:coworker heard i liked jigsaw puzzles and brought me some sweet vendor swag dang, i want that
|
# ? Dec 9, 2014 22:27 |
|
it that jim williams's desktop^
|
# ? Dec 10, 2014 03:07 |
|
my coworkers complain that my workspace is messy. the most filthy, wire-infested portions of my workspace are still neater than the dut in that picture
|
# ? Dec 10, 2014 06:16 |
|
Olivil posted:it that jim williams's desktop^ yep
|
# ? Dec 10, 2014 07:19 |
|
Iirc they shrink wrapped and protected his desk the turbo encabulator is buried in it, never to be seen
|
# ? Dec 10, 2014 07:20 |
|
sund posted:coworker heard i liked jigsaw puzzles and brought me some sweet vendor swag this looks like a real mess this person should probably invest in some simulators.
|
# ? Dec 10, 2014 07:27 |
|
movax posted:Iirc they shrink wrapped and protected his desk this is the best version of that, imo. https://www.youtube.com/watch?v=RXJKdh1KZ0w
|
# ? Dec 10, 2014 07:37 |
|
https://www.youtube.com/watch?v=rtR63-ecUNo very relevant to thread title
|
# ? Dec 11, 2014 01:20 |
|
/
|
# ? Dec 11, 2014 08:13 |
|
i had wondered for a while why the stack overflow checks in freertos never seemed to work (always reported that no overflow had occurred) and the mpu exception handler that i wrote always got called instead. i was poking around in the scheduler for other reasons and found thiscode:
|
# ? Dec 11, 2014 17:10 |
|
Bloody posted:dang, i want that
|
# ? Dec 12, 2014 16:51 |
|
|
# ? May 15, 2024 02:57 |
|
should i use something like freetros for my next project or just do what i always do and write ad hoc routines and a ten page exception handler? it's mostly just shifting serial data around, maybe some DMA, sleep and a ton of scheduled monitoring tasks
|
# ? Dec 12, 2014 19:22 |