Program an Atmel Chip (AT90CAN128) via CAN Using AVRDUDE - microcontroller

Can AVRDUDE be used to program the AT90CAN128 micro controller via Controller Area Network (CAN)? Any help would be greatly appreciated!

You cannot use AVRdude for that - It doesn't know how to handle the CAN bus. And in order to do so, it would need to reserve CAN bus message IDs which it obviously cannot.
As the AT90CAN128 does have self-programming capabilities, you may be able to write something using your own messaging on CAN that updates the Flash on the AVR.

Related

Create the Pairing limitation on HC-05 sensor

I have been trying to set the limit of pairing the Bluetooth device HC-05(interface by Arduino controller) with my smartphone.
I have tried making this solution work with AT command
AT+INQM=<Param>,<Param2>,<Param3>
Example: AT+INQM=1,9,48\r\n
But instead of converting AT commands using serial.h with embedded C, I am looking for any dedicated library which helps to work this kind solution in using Arduino.
Basically, with the help of Bluetooth device connect to Arduino Nano, I want to send the altimeter sensor data to my smartphone.
During the connection, HC-05 should be responding any one device at a time, if another smartphone tries to pair then the error will be shown.
Please share your advice on this.
Yes there are some libraries in arduino but these are only meant for connection and pairing and low energy connections. We don't have any dedicated library from where we can control the mode of operation of HC05 or any bluetooth module. like bypassing or accessing GAP and GATT services of bluetooth. However there is a way to flash HC-05. But we can only use it for updating the firmware of this device. This github repo is dedicated for this purpose . Hope it helps you

how to communicate between openmote and arduino?

I'am working on an IOT project. The goal is to communicate between two openmotes (one is the server and one is the client). When the client receives some data, it is supposed to pass it to an arduino to activate different controllers (like a motor, some leds ...). So, I wanna send data from a openmote to an arduino. The idea is to use a bus. The openmote is the master and the arduino is the slave. Do you have any idea how to do this ? I can't find any documentation fro the open mote part. I thought about using the serial UART but i don't have any idea how to do that.
Thank you !
If anyone is looking for an answer, it is possible to activate the UART 1 on the open mote and to send data to the arduino using that bus. You have to pay attention to the speed you are using on both sides.You can refer to this file to see the functions to use: https://github.com/contiki-os/contiki/blob/master/examples/cc2538-common/test-uart.c

Qt Serial Communictaion - communicating with a stm32f0 board over Putty

I need to create a Qt GUI that enables the user to select an option from a comboBox and on pressing a 'send' button, send some data to a STM32f072-Disco board via Serial Communication ( over a COM Port - COM11). I looked at the Qt blockig master, blocking slva eexamples but don't understand them very clearly. Any suggestions on how I can proceed ?
I've managed to make a Qt application with some help from sources on github.. The application is able to send & read data from the stm32 board. The stm32 dev board is configured as a CDC device.
The library provided # https://brosnanyuen.blogspot.in/2016/06/stm32-usb-cdc-vcp.html is useful for CDC communication as the stm32 middleware is slightly complex to use.
The git repor # https://github.com/WalkingFrog/Qt-SerialPort-Programming-Demo is a good start for beginners looking for a start.
I can share my code on any requets.

How to acces u-boot via ethernet?

I have demoboard and it has an u-boot. In u-boot, I want to send command through ethernet rather than serial port(Like bootm 0x20000000 0x70000000). Actually, I want to use ethernet rather than serial port. Is this possible? If so, what should I do?
You need to provide much more details such as what board you're using and if you're using mainline U-Boot or some vendor tree. But the general answer is that yes, you can. See http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.NetConsole;h=af7fc6043a3f3f02497f7527342b18551402be9d;hb=HEAD for more details on how to use netconsole.

Has someone used QSockeNotifier (Qt library) to read/write serial ports in Linux?

I am currently linux API like sigio,sigaction, etc. to interface with serial ports in Linux. And for a GUI I am using Qt 4.2. I know about 3rd party QextSerial but I would stay away from it. I also was tinkering with QSocketNotifier as an alternative.
Can someone give a rough example to read/write from a serial port using QSockeNotifier?
Here are the docs for the class. And here is an example for using QSocketNotifier with serial ports.
Also there was another question which might help you, it is written in Python, but pretty clear:
How do I watch a serial port with QSocketNotifier (linux)?

Resources