Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216746

Forum Post: MCU-PLUS-SDK-AM263X: Bug in UART Uniflasher.py

$
0
0
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.

Viewing all articles
Browse latest Browse all 216746

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>