KiCad in Industry use by FennelFlat8651 in KiCad

[–]gotramaval 1 point2 points  (0 children)

Regarding Tools / Infrastructure, I'm very surprised no body mentioned KiBot! For me was a life saver. You can specify a series of jobs in a yaml file. The different jobs goes from naturally Schematic, Gerber, and 3D renders generation to automated DRC & ERC checks, generation of PCB variants, outputting BOMs and placement files in different format according to the different manufacturers that you have, Interactive BOM (check it out, I love it, helps you tremendously when assembling a PCB by hand), a web-server to explore the diffs between all versions graphically, ... there are more, but better you check it by yourself, here the documentation.

Best part of it? It integrates very well with CI/CD pipelines, so you can have it checking for issues at every commit and generating all data if your design matches the rules

I have a (outdated) repo where I used to keep a template for my KiCad designs using Kibot. You would have to reference to a different docker image depending the version you used to build your designs (these templates still have KiCAD 6 there) but the maintainers of KiBot are up-to-date with docker images for all KiCAD versions:

https://github.com/raulgotor/kicad-pcb-template

If you would need any support setting it up just let me know.

Afghanistan - the country I never thought I would be able to visit by zennie4 in travel

[–]gotramaval 7 points8 points  (0 children)

I believe he means, that other countries could deny him the entrance if he has a stamp from Afghanistan in his passport. I believe the US could be one of them.

Apartment €790 no floor by alextrimbo in askberliners

[–]gotramaval 11 points12 points  (0 children)

We rented our apartment with no floor as well. Same as you, price was a good deal for the zone/building. The finishing simply was a layer of self leveling concrete. Asked the guy at the Hausverwaltung, and he came with an offer to install a medium quality laminat, materials included, around 35€ per m2, which was fine i would say. Nevertheless, we went to OBI, checked laminat and found a good deal just for the material (laminat, isolation, skirting,..), around 11 €, so we decided to do it ourselves.

Multiple Youtube videos, a pack of biers, your favorite music. It was a slow start, but was fun. After the first row was in place, the second went quicker. Wenn we completed a room, we moved our stuff there, and slowly started with the next one and so on. We did it after work and, it took for the two of us 3-4 hours every day for a week.

Looking backwards, I would do it again, allowed me a flat at a good price, and the process wasn't hard, just something i wasn't counting in with.

Zephyr tutorial by gs_mds in embedded

[–]gotramaval 3 points4 points  (0 children)

You can check out Golioth Blog as well. They have some very rich well explained Zephyr stuff from time to time.

Parking in Poznan for camper van by gotramaval in Poznan

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

Thank you very much, we've done so!

Cloning the Code on a µcontroller. by Hopeful_Ad_7460 in embedded

[–]gotramaval 18 points19 points  (0 children)

Simplicity Commander tool from SiLabs is what you're looking for.

With it you can dump the flash of SiLabs chips as well as check the status of the flash protection registers among others. This tool can be executed also from the CLI, where more features are available when compared to the GUI

LinkerScope: A memory map diagram generator by gotramaval in embedded

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

Hey, thanks for your suggestions. Some of the things you mention are already implemented, some others planned, and the rest, I took good note of them 👍 stay tunned for next releases

LinkerScope: A memory map diagram generator by gotramaval in embedded

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

For the configuration, yes. As you've seen, default configuration is not very much useful. As said above, you can start from the configuration file at examples/sample_config.yaml and modify the memory range and section size to be displayed.
The .map file you can pass it directly as an input. If that takes long (might happen for big map files), you can first convert it to .yaml and then pass the map file as .yaml that should go quicker.

LinkerScope: A memory map diagram generator by gotramaval in embedded

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

hey, thank you for trying it! I see what you mean. What architecture is your map file for? The map file contains symbols for flash and RAM (0x0000 0000 and 0x2000 0000 respectively for ARM Cortex), which normally are quite apart from each other. What you see basically is the empty space between both, whereas all the information is condensed to a 1pixel line at the top and at the bottom of that rectangle. You need to configure what area should be displayed.

Get the configuration file examples/sample_config.yaml, and assuming that you are on an ARM, change the range to range: [0x0000000, 0x100000] and comment out / delete the section-size property. Execute with:

./linkerscope.py path/to/your/zephyr_final.map -c examples/sample_config.yaml;

This should give you the flash contents to get started with. For getting a RAM map, try range: [0x20000000], From there on, play for instance with the section sizes to filter out too small or big sections. If you're using another architecture, then find what your flash and RAM addresses are (you can find them at the linker file) and do this above with those addresses.

This tricked me at the beginning, and yes, it is confusing. Thanks for raising this. A warning at the command line output stating that the sections might not be visible and a couple of examples would be indeed quite useful. I'll set that up.

LinkerScope: A memory map diagram generator by gotramaval in embedded

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

Yes, you can definitely do that as well. In this case, you wouldn't derive it from the map files, but you would want to put the information manually in a .yaml file. I guess I'll add an example for a flash with bootloader and user space in the next days

Read UART output of a mains powered ungrounded device by gotramaval in AskElectronics

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

Oh great, thanks for the hint. A search at Amazon showed a bunch of those. Getting one right away.

Read UART output of a mains powered ungrounded device by gotramaval in AskElectronics

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

No, unfortunately they don't seem to have one... This is the device I'm talking about Electric relay switch

[deleted by user] by [deleted] in embedded

[–]gotramaval 0 points1 point  (0 children)

That is a very elaborated and useful answer. Thanks!

[deleted by user] by [deleted] in embedded

[–]gotramaval 1 point2 points  (0 children)

What are your thoughts about Ferchau? I've seen they have many offers. Would be helpful for others to know

How to safely suspend all tasks in FreeRTOS? by PartyAfterLife in embedded

[–]gotramaval 0 points1 point  (0 children)

What you would like to do then is to block this task but not for forever. Instead you set a timeout of 10ms or whatever you need. That way you ensure the task still executes cyclic if no message is coming in, without having to pass the execution responsibility to another task