hello all,
any idea on the below issue? Specifically, what do I do wrong if compiling STM8
code for RAM?? Any help is highly appreciated!
Thanks and regards,
Georg
> Anfang der weitergeleiteten Nachricht:
>
> Von: Georg Icking-Konert <ick...@onlinehome.de>
> Betreff: STM8 code in RAM
> Datum: 15. September 2015 17:55:37 MESZ
> An: sdcc-user@lists.sourceforge.net
>
> hallo all,
>
> following up an earlier question I encounter the following problem: STM8
> flash block write & erase operations need to be executed from RAM. I (hope I)
> correctly followed the below proposal by Klaus and Maarten, as well as the
> SDCC manual. However, when compiling any source file with option “--codeseg
> MYSEG“ I get this error message:
>
> sdcc -mstm8 --std-sdcc99 -DSTM8S207 --codeseg MYSEG -c RAM_routines.c
> -o RAM_routines.rel
> RAM_routines.asm:96: Error: <u> undefined symbol encountered during
> assembly
>
> The respective error line in file RAM_routines.asm reads
> .area MYSEG (CODE)
>
> I have prepared a simple example (toggles GPIO from RAM), which is available
> under http://www.cream-tea.de/tmp/RAM_Code.zip
> <http://www.cream-tea.de/tmp/RAM_Code.zip> . For any help on this topic
> thanks a lot in advance!
>
> PS: the SDCC version is 3.5.0, and the error occurs under MacOSX and Win7
>
> Regards,
> Georg Icking-Konert
>
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user