Re: [Sdcc-user] SDCC port of STM8 Standard Peripheral Library

2015-01-24 Thread Erik Petrich
On Thu, 22 Jan 2015, Philipp Klaus Krause wrote: On 21.01.2015 19:36, Georg Icking-Konert wrote: 1) how do I declare and implement the trap handler? According to http://sourceforge.net/p/sdcc/patches/224/ the keyword __trap? is available via patch (2014-02-22). Is this already part of

[Sdcc-user] memcpyram2ram crashes, debug ideas?

2015-01-24 Thread Kustaa Nyholm
Hi, Background: I've got a piece of code (USB HID and then some) that works. Now I'm moving this to work with a UBS bootloader that allows me to update the code via USB. The bootloader naturally lives at 0x so I've relocated my code to 0x0800 by including a custom crt0iz.c which locates

Re: [Sdcc-user] memcpyram2ram crashes, debug ideas?

2015-01-24 Thread Kustaa Nyholm
Forgot to say this is on PIC18F4550 This e-mail may contain confidential or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution