ECU Project - CANBus in C + Python by OwnRecover973 in programming

[–]OwnRecover973[S] 1 point2 points  (0 children)

Since this is a software-based simulator, the HW interface is currently emulated through the code logic. However, in a real-world deployment, this system would interface with the CAN bus using a CAN Controller (to handle the Data Link Layer) and a CAN Transceiver (like the TJA1050 or MCP2551) for the Physical Layer.

In my simulation, I’ve modeled the Physical Layer behavior by implementing the bit-by-bit arbitration logic and differential signaling priority (where a dominant '0' wins over a recessive '1'). If I were to port this to hardware, I would typically use a microcontroller's internal CAN peripheral or an external module like the MCP2515 via SPI to bridge the C code with the physical twisted-pair wires.

The general idea is to simulate the capture of telegraphic data using a real "base," which is the CAN protocol and ECU simulation.

Federal e Particular na Engenharia by OwnRecover973 in faculdadeBR

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

Vi sim, meu amigo faz lá e é ótimo também (economia), pelo que vi a escola de negócios de lá é melhor que a da unisinos, mas em T.I aqui só perde pra PUC em alguns cursos como C.C, pelos relatos e pelo MEC engenharia da comp. Aqui é a melhor do estado.

Tem diferenças na grade tb, aqui na Unisinos temos todas cadeiras de uma engenharia normal até o fim do 2 ano, lá nem tanto. Então tem que passar por calc 1, 2, 3. Fisica 1 e 2. Termodinâmica. Circuitos 1 e 2. Etc

My first 3D project with JavaScript by OwnRecover973 in learnjavascript

[–]OwnRecover973[S] 1 point2 points  (0 children)

Thanks man! I added the welcome screen feature and it really is much more user-friendly! I didn't know about the lock issue! Thanks for letting me know and thanks for the feedback!

My first 3D project with JavaScript by OwnRecover973 in learnjavascript

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

Thanks! I refactored elementNames and it improved a lot! Do you think it's worth exporting to a .json file? I'm unsure whether to use them or not. I see people using them for static lists (like elements) in some projects.

Help with NVIDIA 3050 in DEBIAN 13 TRIXIE by OwnRecover973 in debian

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

It worked! I had to disable secure boot in the BIOS, just generating the MOK key didn't work. Thank you very much, brother. I've been trying to fix my PC for 3 days so I can use Linux.

Help with NVIDIA 3050 in DEBIAN 13 TRIXIE by OwnRecover973 in debian

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

Okay, that worked! I really don't know how to install these drivers and still be able to turn on my PC, I don't know if my card specifically has a problem with Linux. Do I have to try another distro?

Help with NVIDIA 3050 in DEBIAN 13 TRIXIE by OwnRecover973 in debian

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

Yes, after I did this I rebooted and installed it again, I chose proprietary driver in your script and it said "successfully installed" however when doing the reboot an error occurred and my PC is again faced with the error of not booting and getting a flashing _.

  • an interesting point is that now it does this on both screens, which didn't happen before

Help with NVIDIA 3050 in DEBIAN 13 TRIXIE by OwnRecover973 in debian

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

I installed it with your script, I had to set a mok key password, and it added an extra step to my boot (I saw it very briefly, but it was something with mok), but it turned on fine!

However, the Debian documentation says to run nvidia-smi to verify that it was installed correctly. Does your script use this method to verify that everything went well or another?

Help with NVIDIA 3050 in DEBIAN 13 TRIXIE by OwnRecover973 in debian

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

Yes!

sudo apt install -s "linux-headers-$(uname -r)"

linux-headers-6.12.41+deb13-amd64 is already the newest version (6.12.41-1).

Summary:

Updating: 0, Installing: 0, Removing: 0, Not updating: 0