cancel
Showing results for 
Search instead for 
Did you mean: 

code generated by SDCC 3.8.0 not working properly for STM8L162M8

Naresh
Associate

Hi. I'm using an STM8L162 MCU. my application code size is more than 32KB . I am using SDCC 3.8.0 .To resolve memory issue I have switched from SDCC 3.5.0(as It uses 16 bit pointer) to SDCC 3.8.0 .

Still facing the issue - Code is compiled successfully but not working.

can someone suggest a way.

Thanks.

3 REPLIES 3
henry.dick
Senior II

I thought ST has a deal with IAR for free IAR Workbench for STM8 (upto 32K?). then why playing with SDCC?

Free stuff is usually expensive, especially free tools.

Philipp Krause
Senior II

Why switch to SDCC 3.8.0, when the current SDCC release is 4.0.0?

I'd suggest to try SDCC 4.0.0 and check if that one works for you, then report back.

Of course "not working" is not very verbose, so if the problem is still there with SDCC 4.0.0 more information would be helpful (a small compileable example showing the problem would be perfect).

The (non-free but freeware) IAR workbench is limited to a code size of 4 KB (used to be 8 KB a few years ago).