Good day to all,
I need help to fix a problem i have with the Flasher for STM8. I had prepared a project to flash the memory of my STM. Since the program, in production phase, could change i need to build a system to overcome this possibility. In practice I ha build an application that load the right program on the flasher during startup phase, so the flasher could work correctly. After some programming procedure, all goes well, i try to change the program loaded on the flasher and at this point i encountered problems. Ireceive this error:
Application log started
- Flasher STM8 V1.30h (Flasher STM8 Software compiled Aug 19 2016 15:28:55)
- JLinkSTM8.dll V1.30h (DLL compiled Aug 19 2016 15:28:53)
Reading flash device list [C:\Program Files (x86)\SEGGER\FlasherSTM8_V130h\ETC\FlasherSTM8\Flash.csv] ...
- List of flash devices read successfully (159 Devices)
Reading MCU device list [C:\Program Files (x86)\SEGGER\FlasherSTM8_V130h\ETC\FlasherSTM8\MCU.csv] ...
- List of MCU devices read successfully (159 Devices)
Opening project file [C:\Candy\Products\31006961\STM8S207CB_SEGGER0.jflash] ...
- Project opened successfully
Opening data file [C:\Candy\Products\31006961\STM8_Flash.hex] ...
- Data file opened successfully (131072 bytes, 1 range, CRC = 0x176884BA)
Merging data file [C:\Candy\Products\31006961\STM8_Eeprom.hex] ...
- Data file merged successfully (133120 bytes, 2 ranges, CRC = 0x0D0A618A)
Downloading files to programmer...
- Downloading "Flasher.cfg" (2048 bytes) ...
- ERROR: Can not connect to emulator via USB.
- ERROR: Could not download to emulator
The only way the make the flasher work again is to unplug it from usb and then plug in again. The problem seem to appear only if i put one or more flashing procedure beetwen one loading project procedure and another. Any hint?
Thank you in advance!
I need help to fix a problem i have with the Flasher for STM8. I had prepared a project to flash the memory of my STM. Since the program, in production phase, could change i need to build a system to overcome this possibility. In practice I ha build an application that load the right program on the flasher during startup phase, so the flasher could work correctly. After some programming procedure, all goes well, i try to change the program loaded on the flasher and at this point i encountered problems. Ireceive this error:
Application log started
- Flasher STM8 V1.30h (Flasher STM8 Software compiled Aug 19 2016 15:28:55)
- JLinkSTM8.dll V1.30h (DLL compiled Aug 19 2016 15:28:53)
Reading flash device list [C:\Program Files (x86)\SEGGER\FlasherSTM8_V130h\ETC\FlasherSTM8\Flash.csv] ...
- List of flash devices read successfully (159 Devices)
Reading MCU device list [C:\Program Files (x86)\SEGGER\FlasherSTM8_V130h\ETC\FlasherSTM8\MCU.csv] ...
- List of MCU devices read successfully (159 Devices)
Opening project file [C:\Candy\Products\31006961\STM8S207CB_SEGGER0.jflash] ...
- Project opened successfully
Opening data file [C:\Candy\Products\31006961\STM8_Flash.hex] ...
- Data file opened successfully (131072 bytes, 1 range, CRC = 0x176884BA)
Merging data file [C:\Candy\Products\31006961\STM8_Eeprom.hex] ...
- Data file merged successfully (133120 bytes, 2 ranges, CRC = 0x0D0A618A)
Downloading files to programmer...
- Downloading "Flasher.cfg" (2048 bytes) ...
- ERROR: Can not connect to emulator via USB.
- ERROR: Could not download to emulator
The only way the make the flasher work again is to unplug it from usb and then plug in again. The problem seem to appear only if i put one or more flashing procedure beetwen one loading project procedure and another. Any hint?
Thank you in advance!
The post was edited 3 times, last by MATA82 ().