Part Number: TMS320F2812
Tool/software:
I managed to erase entire flash and flash bootloader.out file using these commands below.
# Erasing the entire flash memory
try:
subprocess.run(
[
dslite_path,
"--config",
ccxml_path,
"-a",
"Erase",
],
check=True,
)
messagebox.showinfo("Info", "Entire flash memory erased successfully!")
except subprocess.CalledProcessError as e:
messagebox.showerror("Error", f"Failed to erase flash memory: {e}")
return# Flashing the bootloader
try:
subprocess.run(
[
dslite_path,
"--config",
ccxml_path,
"--flash",
bootloader_path,
],
check=True,
)
messagebox.showinfo("Info", "Bootloader flashed successfully!")
except subprocess.CalledProcessError as e:
messagebox.showerror("Error", f"Failed to flash bootloader: {e}")
returnFor application, I have an image in .srec format.
I can do this in uni-flash.
However, dslite is not working properly.
However, when I flash srec file like I did bootloader,
It erase entire flash and then flash srec file. I also tried --mode load option but nothing changed.
Can you help me on this one.
