Warning: No input file to program to flash
Opened this issue · 1 comments
I cannot upload firmware with Arduino IDE. It always show "Warning: No input file to program to flash". This is the full output log.
[13:19:13.435] - Serial port is COM11
[13:19:13.435] - ==================================================
ConfigParser Error: [Errno 13] Permission denied: 'C:\Program Files\Arduino IDE\config.ini'
[13:19:13.436] - Program Start
[13:19:13.436] - ========= eflash loader cmd arguments =========
[13:19:13.439] - serial port is COM11
[13:19:13.439] - chiptype: bl616
[13:19:13.439] - cpu_reset=False
[13:19:13.483] - com speed: 2000000
[13:19:13.483] - ========= Interface is uart =========
[13:19:13.484] - Bootrom load
[13:19:13.484] - ========= get_boot_info =========
[13:19:13.484] - ========= image get bootinfo =========
[13:19:13.765] - tx rx and power off, press the machine!
[13:19:13.765] - cutoff time is 0.05
[13:19:13.826] - power on tx and rx
[13:19:14.820] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[13:19:14.820] - clean buf
[13:19:14.820] - send sync
[13:19:15.056] - ack is b'4f4b'
[13:19:15.056] - shake hand success
[13:19:15.561] - data read is b'01001606000001002712890139a641e0c2b49c000f758010'
[13:19:15.561] - ========= ChipID: b4c2e041a639 =========
[13:19:15.561] - Get bootinfo time cost(ms): 2077.44970703125
[13:19:15.561] - change bdrate: 2000000
[13:19:15.561] - Clock PLL set
[13:19:15.564] - Set clock time cost(ms): 2.610107421875
[13:19:15.698] - Read mac addr
[13:19:15.700] - MACADDR: b4c2e041a639
[13:19:15.700] - flash set para
[13:19:15.700] - get flash pin cfg from bootinfo: 0x24
[13:19:15.700] - set flash cfg: 1014124
[13:19:15.700] - Set flash config
[13:19:15.703] - Set para time cost(ms): 3.46826171875
[13:19:15.703] - ========= flash read jedec ID =========
[13:19:15.705] - Read flash jedec ID
[13:19:15.705] - readdata:
[13:19:15.705] - b'c8401700'
[13:19:15.705] - Finished
[13:19:15.705] - flash config Not found,use default
[13:19:15.705] - jedec_id:c84017
[13:19:15.705] - capacity_id:23
[13:19:15.705] - capacity:8.0M
[13:19:15.705] - get flash size: 0x00800000
[13:19:15.705] - Program operation
[13:19:15.705] - Warning: No input file to program to flash
[13:19:15.705] - All time cost(ms): 2268.4638671875
[13:19:15.814] - close interface
[13:19:15.814] - [All Success]
Hi,Thank you for testing.
From your log, it looks like the tool you are running does not have permission to create the file.
You can try running the Arduino IDE with administrator privileges and that should fix the problem.