Lora-net / sx1302_hal

SX1302/SX1303 Hardware Abstraction Layer and Tools (packet forwarder...)
Other
219 stars 271 forks source link

problem with lora_pkt_fwd in release v2.1.0 not pasring when MCU version V01.00.00 dfu-util Error during special command "ERASE_PAGE" get_s #111

Open techsd opened 10 months ago

techsd commented 10 months ago

when update from v2.0.2 to v2.1.0 not pasring lora_pkt_fwd when MCU version V01.00.00 ./boot -d /dev/ttyACM0 INFO: Configuring TTY INFO: Flushing TTY INFO: Setting TTY in blocking mode INFO: Connect to MCU WARNING: MCU version mismatch (expected:00.02.06, got:V01.00.00) INFO: Concentrator MCU version is V01.00.00 INFO: MCU status: sys_time:5025778 temperature:29.0oC INFO: The concentrator is in DFU mode, the MCU can be programmed

when do downgrade, i have problem : Error during special command "ERASE_PAGE" get_s dfu-util -a 0 -s 0x08000000:leave -t 0 -D "/home/pi/sx1302_hal/mcu_bin/rlz_000206_CoreCell_USB.bin" dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2016 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0483:df11 Run-time device DFU version 011a Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuERROR, status = 10 dfuERROR, clearing status Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 011a Device returned transfer size 2048 DfuSe interface name: "Internal Flash " Downloading to address = 0x08000000, size = 35672 Download [=========== ] 45% 16384 bytesdfu-util: Error during special command "ERASE_PAGE" get_s

and then "/home/pi/sx1302_hal/bin/boot" -d /dev/ttyACM0 ERROR: failed to open COM port /dev/ttyACM0 - No such file or directory ERROR: failed to open USB on /dev/ttyACM0

later i am try JTAG

chungwinfoong commented 7 months ago

hey i am facing the same issue at the moment. just wondering if you'd any luck with reflashing via the JTAG SWD pins?