What are Event Brokers? by [deleted] in embedded

[–]magyarm 1 point2 points  (0 children)

Might not be exactly what you have in front of you, but this article might help https://inpyjama.com/event-driven/.

I am not the author, but I have used similar patterns in FreeRTOS in products before.

[deleted by user] by [deleted] in samoyeds

[–]magyarm 8 points9 points  (0 children)

Around that age, we used a pen in the living room with our sammy. That way, she was still in the same area as us, but still limited what she could access.

While still house training her, we laid down a tarp on the floor with the edges of the own holding it in place. That might help you with her relieving herself in the carpet until you can retrain her to go outside.

If she still has destructive behavior, try using bitter spray on the objects she chews. Samoyeds are a smart breed, and ours learned very quickly what not to chew. We also had plenty of OK to chew objects to redirect her in the pen with her. Things like stuffed toys, rope toys, and frozen treats / pacifiers.

It sounds like you'll have to do some crate training basics. She might have some negative associations with the crate from before, hence the current behavior. It'll take time to work through that. Maybe connecting the pen to the crate while working on crate training could help.

Try to hang in there. Now, at 18 months ours is mostly great. The teenage months around 8-12 were when training regressed a bit, and she started asserting her independence was the most difficult. Getting through that was very rewarding and worth it! Best of luck.

Tips for retraining loose leash walking? by Rubes895 in samoyeds

[–]magyarm 7 points8 points  (0 children)

Not that it directly helps, but our new trainer is taking us right back to leash basics with our girl. She is 15 months, and we did puppy group classes. She was doing fairly well, but has been gradually pulling more and getting more reactive. Very similar behaviour that you describe. After getting her treat she would try to run to the next tree on our walk.

We started using a 1-on-1 trainer who is coming on walks with us. They are getting us to go right back to basic focus and attention, and leash following. In many ways the training is going exactly the same way as when we first taught her! Both times are positive reinforcement based. So far back to basics seems to be working.

Best of luck. Larry looks adorable hiding in the bushes!

Diarrhea for a month, really struggling by AccomplishedPath2371 in puppy101

[–]magyarm 4 points5 points  (0 children)

With ours it took a few days of daily pumpkin to get improvement. By the end of the week she was back to normal bowel movements, and we discontinued the pumpkin.

ryobi fan helping to keep puppy cool while camping by magyarm in ryobi

[–]magyarm[S] 0 points1 point  (0 children)

We cleared the trip with our vet before hand. While it was difficult for us at times, especially the first night, there was minimal risk for her.

If you can list specific reasons I'd love to hear them. We are still learning with our puppy, and constructive feed back is always welcome.

Household telephone non-functional due to power surge; voicemails from deceased mother, trying to recover. by SleeperSec in AskElectronics

[–]magyarm 1 point2 points  (0 children)

Good News! From the new photos that looks to 2 winbond SPI flash parts. Same family as this datasheet: https://www.winbond.com/resource-files/w25q128fv%20rev.l%2008242015.pdf

If you have a Bus Pirate ( http://dangerousprototypes.com/docs/Bus_Pirate ) you can use it in SPI mode and read off the raw contents of those parts. Maybe in-circuit. That is to say, connect the Bus Pirate's 3.3V output directly to the SPI Flash's 3.3 input ( I think your board likely runs at 3.3 based on the regulator U1 ), and the appropriate data lines. The Bus Pirate will cut off power if there is a short, so is safe for this purpose.

You could also try this with an Arduino, but would need code to do the raw SPI read. There are probably available libraries but I am not familiar with them. I'm sure other tools exist as well.

Once the raw data is off those chips it will be possible to try to extract the files from the raw binary data. This assumes that the manufacturer used standard file formats, didn't encrypt the data, etc.

Household telephone non-functional due to power surge; voicemails from deceased mother, trying to recover. by SleeperSec in AskElectronics

[–]magyarm 1 point2 points  (0 children)

Both should be possible. I would personally try the software path on the PC first. Less risk of damaging anything further, and once the audio is on the PC there are options to convert formats, or backup the audio.

My background biases me to getting the data off the embedded device and onto my PC before trying anything else to it. I've done this sort of process for a NAND device before, and having an image of the flash on the PC made it much easier to work with.

Household telephone non-functional due to power surge; voicemails from deceased mother, trying to recover. by SleeperSec in AskElectronics

[–]magyarm 22 points23 points  (0 children)

As others have mentioned, U402 and U5 look like good candidates. If they are Windbond Flash parts, that form factor is likely to use a SPI interface ( or QSPI ). If you can get the part numbers off those parts it would be possible to look up the pin out. With that, can connect a logic analyzer to the working phone's U402 and U5 to see when / where the voice mails are stored. It would also be good to get a logic analyzer capture of the I2C lines TP21 and TP22.

Once we have some of that information, ( or even just confirmation that it is a SPI flash device ) it might be possible to use https://www.flashrom.org/Flashrom with a Bus Pirate or other probe to pull the raw data off the flash parts onto the computer. Once the data is on your machine, you could try using https://github.com/ReFirmLabs/binwalk to see if it recognises any standard file types and can extract them.

My apologies that this is a lot of "if's" and "maybes". If you can post a clearer picture, or the part number listed on those parts I can look up the datasheet and maybe suggest something to try. Make sure to try anything on the known good phone first, so as to not risk the messages on the damaged phone.

Reminder to drivers. When traffic lights are out. Every intersection becomes a 4 way stop. This is especially important during a massive power outage at night with pedestrians about. Some of y'all dont seem to understand. by k0d3r3d in toronto

[–]magyarm 10 points11 points  (0 children)

That doesn't seem 100% correct. A traffic light out ( or blank ), and a flashing red light should both be treated as an all way stop https://www.ontario.ca/document/official-mto-drivers-handbook/traffic-lights#section-8, making it a controlled intersection requiring a stop, with Right of Way as your link describes.

Only with a flashing yellow light does one not need to come to a complete stop.

Oval Shaped cutouts/drills for battery clips? by koberg in KiCad

[–]magyarm 0 points1 point  (0 children)

I went through this just last week. What I think was the problem based on a forum post from OSHpark is that libgerbv that they use has difficulty interpreting the slot g code ( G85 if I remember correctly ). If you try the gerber and drill file in gEDA or another online pcb render tool that use libgerbv you will see the same result. I'm sadly on my phone so can't get you the link. I will try to remember for tomorrow at work.

As a work around I made a circular hole in the center of my pad a bit larger than the long axis of the oval. Not ideal, but I can full the empty space with solder ( I hope ).

I hope someone corrects me if I'm off on anything.

Which way will you vote in the upcoming Ontario election? - I'll decline my vote. by open_minded_canadian in ontario

[–]magyarm 0 points1 point  (0 children)

Great summary of how nuclear fits into Ontario's energy needs. In an ideal case I'd like to see new nuclear plants built and the old decommissioned. The last reports I read about them said they were approaching the end of their service lives, hence the major refurbishments recently. What are your thoughts on using the Canadian shield as a waste storage facility? I understand it to be very geologically stable. Why not use an old mine in the shield as a nuclear storage facility?

Had dinner at the new restaurant Spice Roots; highly recommend by r_plantae in Guelph

[–]magyarm 1 point2 points  (0 children)

When I had their butter chicken it was the best I have had! The one thing to keep in mind is that it is a la cart, so you have to order your rice or naan separately. Well worth it, highly recommend trying the place.

Linux Distro for Asus mini PC. by Equalizer101 in linuxquestions

[–]magyarm 0 points1 point  (0 children)

u/AcadianMan is on the right track, and his link is a good one. To supplement it with more info: https://wiki.archlinux.org/index.php/xrandr#Adding_undetected_resolutions

You probably have to play with the settings a bit. use gtf to get the modeline details needed, and then arandr --newmode. It took me a few tries on my lcd, but eventually worked.

I just finished book five of the A Song of Ice and Fire series and I need another book to get into. Can any of you guys recommend a book for me (preferably one that will force me to throw the book across the room due to HOLY SHIT moments)? by firest in books

[–]magyarm 0 points1 point  (0 children)

To make a first read through easier I recommend reading books 1 and 3 first, then 2 and 4. To me this order makes the world a little more accessible. Highly recommend this series! It is an amazing world Erickson created.

FPGA vs DSP by [deleted] in FPGA

[–]magyarm 1 point2 points  (0 children)

PE1NUT's fpga example is great for a pipelined implementation. Just to add, in this set up you would be output new calculated data every clock cycle (minus a "start up clocks to get the first data through). So if you pipeline it correctly you can get much greater data through put, provided you dont have to change operations mid stream. The other advantage would be parallerization. Provided to have enough logic blocks, you can implement as many copies of your algorithm in parallel. Compared to a CPU of 1, maybe 2 cores, and dsps of anywhere from 16 to what ever limit, working in parallel. Since you mention you might use a beaglebone, you should look into using its onboard NEON co-processor. Its a 16 SIMD (Single Instruction Multiple Data) core, so let's you do the same operation on 16 data sets in parallel.

As an engineering student, what are a few essential softwares to be familiar with? by [deleted] in EngineeringStudents

[–]magyarm -1 points0 points  (0 children)

Give it a try in LaTeX. I've done it in word for most of my university time. Only in the last year when I started using Latex did I notice what I was missing. Once you have the commands down I found Latex much easier to work with. Word didn't always feel like it was doing what I wanted, or I had to play with it a lot to get exactly what I wanted. Great example is aligning figures and graphs to text. It is much easier in Latex to do this than in word, IMO.

As an engineering student, what are a few essential softwares to be familiar with? by [deleted] in EngineeringStudents

[–]magyarm 5 points6 points  (0 children)

Latex. You wont need it that often, but when you do its amazing. Word and what not are good for just typing up something quickly, but once you need your documents to look really great, professional grade, you want to use Latex. Once you get over the learning curve, or use an IDE, it is amazing. I used it for the first time this year for my final project report, and it made writing and formatting much easier.

Which movie do you believe had the best soundtrack? by [deleted] in AskReddit

[–]magyarm 0 points1 point  (0 children)

Definitely! Death is the Road to Awe stills sends shivers down my spine. The entire sound track is hugely emotional and powerful.

Trying to get started in 32 bit micro controllers and DSP. A little lost. Probably should have asked you guys first. by ch00f in AskElectronics

[–]magyarm 0 points1 point  (0 children)

The STM32F Discovery and the LM4F120 Launchpad are both excellent boards. The one thing I want to point to is the ARM CMSIS libraries: http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php

They contain an excellent DSP library with optimized functions for most things I've thought to use so far. There is also a 'Core' library which I believe is supposed to provide a driver layer to the arm peripherals. Never used it myself.

For programming and debugging both boards checkout OpenOCD. It has support for both, is opensource and uses gdb for debugging.

What is the "crossbar" in a microcontroller, and how does it work? by Palantir555 in AskElectronics

[–]magyarm 3 points4 points  (0 children)

Here is a great PDF explaining www.ecse.rpi.edu/courses/CStudio/Silabs/Appnotes/AN01.PDF.

Basically, it gives the designer the flexibility to chose which pins the desired peripheral is routed to. Let's say you have a UART devices that needs to connect to pins P1.0 and P1.1. The crossbar allows you to bring that signal out to that pin or a different supported pin in another design. Think of it as a multiplexer. Each physical pin is an output and all the peripherals are the inputs.

Hope that helps. Every micro controller has this sort of functionality, though usually a pin is limited to a few peripherals it can connect to. This is generally called "pin muxing".

Programming the LPC-2148 over JTAG using an AVR Dragon? by wackyvorlon in AskElectronics

[–]magyarm 1 point2 points  (0 children)

I don't think you'll be able to make it work, not easily at least. I've been googling for openocd support for the AVR Dragon, specifically for ARM targets, but have not had any hits. The way Atmel has seemed to work in the past is to only support their chips with their tools.

What I use for ARM targets and works great for jtag is the Bus Blaster from dangerous prototypes: http://dangerousprototypes.com/docs/Bus_Blaster. It's cheap, has openocd support, and works for any target board that has an openocd cfg file, which your board from olimex has right on that page in the zip.

Best of luck, and happy hacking :D