markqvist / RNode_Firmware

RNode is an open, free and flexible digital radio interface with many uses
https://unsigned.io/rnode
GNU General Public License v3.0
145 stars 52 forks source link

Unable to upload from Makefile followed by corrupt firmware #34

Closed acehoss closed 1 year ago

acehoss commented 1 year ago

I was trying to build from source and use the upload target in the Makefile. I have an Unsigned RNode gen 2 900 MHz. It was working fine and running RNode v1.57.

  1. make firmware-rnode_ng_21
  2. Edit makefile to use serial port /dev/cu.wchusbserial54F70179081
  3. make upload-rnode_ng_21

The upload works, but the firmware does not start. I unplugged and replugged, the screen just stays black. So then I used rnodeconf -a to restore the firmware, and now the screen says FIRMWARE CORRUPT and the LED is slow blinking red.

IMG_5982

acehoss commented 1 year ago

I did get make upload-rnode_ng_21 to work from a Linux box, and the corrupt firmware issue went away. Probably we can close this for now because someone would need to be digging deep to get themselves into this problem.

markqvist commented 1 year ago

Hmm... That is odd. There might be something not working as expected on macOS when setting the firmware hashes after flashing then. That would cause that error.