Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 5 months ago.
MAXREFDES100 RPC
I'm relatively new to the mbed architecture and rpc, so please excuse my ignorance. I've managed to communicate with my MAXREFDES100 using BLE, but RPC seems to offer finer control, so I wanted to attempt it.
I've connected the MAXREFDES100 to the programming chip MAX32620 and then to my computer. The chip powers on just fine, and executing:
gnu screen connection
screen /dev/ttyACM0 9600
I get the initialization prompt which matches the one from the firmware code. However, I was unable to issue commands via screen. I found the RPC tutorial and followed it with python. I power cycled the chip and opened a python prompt:
pyserial connection
import serial ser = serial.Serial('/dev/ttyACM0',9600) ser.readline()
again, I get the initialization sequence. However the following hangs at the readline stage:
pyserial i/o
ser.write('/System/ReadVer\n') ser.readline()
it is similarly unresponsive if I to control the LED via:
led control
ser.write('/Led/Off\n')