Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi Klaus,
Thank you for all of your help. The complete code for the MCU is attached. The message that is sent from the SBC to the MCU is:
msg[0] = 0x02; // RS485 address
msg[1] = 0x08; // number of bytes in message
msg[2] = 0x03; // command byte for...
I do understand that disabling the watchdog is not the problem. I was only trying to see what would happen if it was. And apparently I did see that nothing works if it is disabled with the present software/
I also understand that the motor itself is not the problem. It is more likely to be EMI...
Klaus,
Yes it is a long story with lots still not included as you say.
As I noted I have tried to disable the wdt with wdt_disable(); from avr/wdt.h. Perhaps it does disable the WDT but as I also noted it seems to stop all communication with the MCU as well. So perhaps that idea is just a dead...
i have built a project to collect data from various sensors. The central computer is an Odroid N2L SBC by Hardkernel running Ubuntu 22.04.1 LTS It acts as database server, web server and data collection server. The data provided by five independent devices is collected via an RS485 network using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.