hello all,

just in case you’re interested, I have uploaded an update of my STM8 flashing 
tool to https://github.com/gicking/STM8_serial_flasher 
<https://github.com/gicking/STM8_serial_flasher> (program via UART bootloader). 
Changes:
supports direct connection RasPi UART to STM8 UART. Note: without protection 
the STM8 has to be supplied with 3.3V to avoid damaging the RasPi
option "Reply Mode“ (for details see STM8 bootloader manual). Is required e.g. 
for the UART2 of the STM8S105 on the "STM8S Discovery Board"
reset of STM8 via RasPi GPIO18. Unfortunately this requires STM8_serial_flasher 
to run with "sudo“ permission…?
additional STM8 project "BSL_activate“, which can be flashed via SWIM and which 
enables the bootloader via option bytes
Today I tested the following setups (see Wiki in above Github):
RasPi B model 2 / STM8 Discovery Board with UART-UART and automatic reset
RasPi B model 2 / STM8 custom board with USB-UART and manual reset
MacOS X 10.10.3 / STM8 custom board with USB-UART and manual reset
Win Vista SP2 / STM8 custom board with USB-UART and manual reset
The easiest way to test it is to compile both "STM8_serial_flasher" and project 
"BSL_activate" via "make". Then type "make serial“ to flash the STM8 (if 
settings at bottom of Makefile are correct)… 

Have fun!  :-)

Regards,
Georg Icking-Konert

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to