|
coworker heard i liked jigsaw puzzles and brought me some sweet vendor swag
|
# ¿ Dec 9, 2014 07:47 |
|
|
# ¿ Apr 29, 2024 15:05 |
|
Blotto Skorzany posted: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 this Haha, I would lose it if someone checked this into the project I work on.
|
# ¿ Dec 13, 2014 20:09 |
|
Bloody posted:the answer is probably extremely platform-specific and i dont know arms well enough off the top of my head to answer so instead i am ing naw, that's what's nice about CMSIS. check out http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/CIHCAEJD.html __get_MSP() should work. if you're running an RTOS, you may want __get_PSP(). your call.
|
# ¿ Feb 19, 2015 00:40 |
|
i cut my vacation short a day to assist with some qualification testing that we ultimately failed and spent two weeks poring through code and manuals, staying late making one off builds that i knew didn't make sense just to satisfy someone else's theories and pestering support engineers at another company to figure out why their product was flaking out when we were trying to using it. finally stole the scope from the hardware department today and found out the power bus drops half a volt below the absolute minimum voltage required for the flaky part when it performs a certain operation. three people assuring me it was rock solid and double checked, while hinting that i was probably toggling a non-existent reset line. i want a raise.
|
# ¿ Feb 21, 2015 08:14 |
|
Luigi Thirty posted:wasn't this basically how the first practical telegraphs worked? a guy in Paris pushing a lever on a hydraulic pipe that signified a letter? semaphore relay towers, which makes perfect sense but i never would have thought of. they're referenced in a subplot of the count of monte cristo.
|
# ¿ Apr 2, 2015 14:17 |
|
internal memory and peripherals? anyone seen a MCU without them?
|
# ¿ Aug 9, 2015 20:08 |
|
we're using FreeRTOS and it's pretty dece. anyone used the premium libraries or tools? spending weeks implementing rudimentary functionality is getting kinda old but welcome to embedded i guess
|
# ¿ Aug 27, 2015 02:37 |
|
Mr Dog posted:the plan was lol do you work with me in a slightly different alternate universe?
|
# ¿ Oct 12, 2015 18:32 |
|
JawnV6 posted:how do i test freeRTOS tick rollover I think you can just jam it in there. tasks.c initializes it to zero statically and again when vTaskStartScheduler is called. xTaskIncrementTick handles the overflow event if you want to inspect that.
|
# ¿ Dec 8, 2015 20:50 |
|
use a gpio edge detection interrupt to kick off the timer interrupt so it begins sampling half a bit time later in the middle of the bit and you should be able to avoid oversampling. you'd probably have to decouple the transmit and receive functionality though.
|
# ¿ Dec 18, 2015 02:38 |
|
Apocadall posted:2nd year of computer engineering school down, realizing i like working at bit level, just feels more real, bought an oscilloscope, a rigol ds1054z because it seemed best bang for buck and with the 100MHz hack it should be all i need for a large amount of things for a while i do firmware for an avionics company in a town supported almost completely by regional government administration and no real "industry" to speak of. i had no idea this place existed before i saw the posting. i'm sure the there are tons of small places that are completely off the radar because they make some doodad that no one cares about locally. you might have to move if you have loftier goals, but there's probably some kind of demand for grads from your program in your area. just makes sense if you're running a tech business to do it where talent already is.
|
# ¿ May 3, 2016 16:44 |
|
flash chips are already susceptible to bit flips so they have error correcting codes, sometimes built in to hardware. http://www.cyclicdesign.com/index.php/parity-bytes/3-nandflash/24-hamming-rs-bch-ldpc-the-alphabet-soup-of-nand-ecc
yippee cahier fucked around with this message at 20:46 on Oct 21, 2016 |
# ¿ Oct 21, 2016 20:43 |
|
we're just testing out a fram drop in replacement for some eeprom chip and it's going well. blowing the minds of the guys responsible for the amazing page write implementation that updates a byte on a page, commits it, updates the next byte, commits that, etc. guess why we need an fram part?
|
# ¿ Dec 20, 2016 04:15 |
|
the D21 will have a default linker script in Atmel's ASF library, somewhere. you'll also find headers that declare a bunch of resources, might help you at the rust level, might not. i don't know about how rust expects to see memory when it starts, but there will be barebones interrupt vector with enough startup code to zero out your BSS and load statically initialized variables from ROM to RAM. check it out.
|
# ¿ Jan 16, 2017 16:58 |
|
if you want to go down the debugging path, make yourself handlers for the other faults that result in a HardFault if unhandled then read out the status registers associated with whichever one you're triggering. on a CM4, sometimes you get the the address of an offending instruction directly. EDIT: if you have a real debugger attached, don't worry about the assembly. you can just set a breakpoint in the hook and inspect the registers and stack. yippee cahier fucked around with this message at 18:14 on Feb 3, 2017 |
# ¿ Feb 3, 2017 18:11 |
|
so cool. i used to handle LN-200 IMUs while working at an aviation company but never saw an open one.
|
# ¿ Feb 20, 2017 18:08 |
|
gonadic io posted:dumb noob question 0 is 0, yeah. some people might still warn you about noise from the motor, idk. do you want to control the motor using the arduino? i used https://www.sparkfun.com/products/10213 to control a higher voltage DC motor from a 3.3V arduino.
|
# ¿ Feb 22, 2017 21:52 |
|
|
# ¿ Apr 29, 2024 15:05 |
|
Phobeste posted:never forget this universal truth: every graphical design "helper" for embedded work is a pile of trash. on the particularly good ones they'll support ~90% of the chips capabilities and if you're lucky you'll be within that 90%, and it'll only be a mostly tedious and incredibly painful process that doesn't get you much over just configuring it yourself in code. on bad ones that only support ~80% or if your task requires something outside the supported set you're hosed because they're a) never set up to work in a modern programming environment with source control and automatic builders and b) often want to control everything and are tough to impossible to integrate your own code into. lol i am crafting a cmake system that ingests the output of STM's CubeMX tool at this very moment
|
# ¿ Aug 1, 2017 16:15 |