Part Number: MCU-PLUS-SDK-AM263X
Other Parts Discussed in Thread: UNIFLASH
Tool/software:
When using `tools/boot/uart_uniflasher.py` with command line arguments (no cfg file), I get the following error:
Traceback (most recent call last):
File "tools/boot/uart_uniflash.py", line 518, in main elif linecfg.optype in ["flash-mcelf-xip"]: UnboundLocalError: local variable 'linecfg' referenced before assignment
Took a look at uart_uniflash.py and there's an error here:
Lines 518-519:
elif linecfg.optype in ["flash-mcelf-xip"]:
send_mcelf_xip(linecfg, serialport)
This should be `cmdlinecfg` not `linecfg` at this part of the code.