hello Valentin, actually I already had already stumbled across your flasher tool - great work! However, I needed a means to re-flash an STM8 within a closed box. This can be done by the "Flash Loader Demonstrator“ which is available via the STM homepage. It communicates via USB/COM-port with the built-in STM8 boot loader, and allows programming new firmware. Unfortunately it’s Windows-only.
Since I couldn’t find a portable tool (and the BSL protocol is REALLY simple), I developed a small utility. It works under Win, Linux and MacOS X, and allows re-flashing via USB/UART. I have uploaded the project with sources to http://www.cream-tea.de/public/STM_BSL_flasher.zip Here a few details: - supported file formats are Intel hex (SDCC default) and Motorola S19 (Cosmic default). The S37 format, which can be specified for SDCC is not yet supported - to compile just "make all? (Posix) or use DevCpp (Win) - for usage just launch the SW with option “-h“ - for a list of available communication ports just double-click the SW - communication needs communication between PC and STM8-UART. Unfortunately this is missing in the STM8 discovery board :-( - the SW is self-contained and does not need admin rights or an installation. Just copy it to where it suits you best - for simplicity I compile the required STM8 flash w/e routines into the PC binary (see folder "STM8_Routines") Have a nice day, Georg > Message: 3 > Date: Mon, 31 Mar 2014 11:45:33 +0700 > From: Valentin Dudouyt <valentin.dudo...@gmail.com> > Subject: Re: [Sdcc-user] STM8 bootloader flash software > To: sdcc-user@lists.sourceforge.net > Message-ID: <5338f2ed.4020...@gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > On 30.03.2014 06:17, Georg Icking-Konert wrote: > > hello all, > > > > since a few weeks I'm evaluating SDCC for STM8, and I have to say I'm > > impressed! :-) But while the compiler is portable, uploading the > > generated code to the STM8 is still quite complicated. Specifically I > > had to switch to Win running under VirtualPC, and then upload > > via "Flash Loader Demonstrator" (boot loader via USB), or the "Visual > > Programmer" (ST-Link via SWIM). Both applications are available on the > > STM homepage, but both are Win only. > > > > Please check for https://github.com/vdudouyt/stm8flash. > > Thanks >
------------------------------------------------------------------------------
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user